forked from KolibriOS/kolibrios
[kernel][doxygen] Documment endp
macro
git-svn-id: svn://kolibrios.org@8979 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
68783fcb25
commit
ee35eb534c
@ -68,7 +68,8 @@ macro cinvoke proc,[arg]
|
|||||||
; `proc name uses eax ebx ecx, param0, param1`\n
|
; `proc name uses eax ebx ecx, param0, param1`\n
|
||||||
; If you need to specify both calling convention and used registers
|
; If you need to specify both calling convention and used registers
|
||||||
; put calling convention first and then `uses` statement like this:\n
|
; put calling convention first and then `uses` statement like this:\n
|
||||||
; `proc name stdcall uses ebx ecx edx, param0, param1`
|
; `proc name stdcall uses ebx ecx edx, param0, param1`\n
|
||||||
|
; The defined procedure should be ended using `endp` macro.
|
||||||
; @param args Name of the procedure and a comma-separated argument list.
|
; @param args Name of the procedure and a comma-separated argument list.
|
||||||
; Type of any parameter may be specified by semicolon after its
|
; Type of any parameter may be specified by semicolon after its
|
||||||
; name like this:\n
|
; name like this:\n
|
||||||
@ -255,6 +256,7 @@ macro initlocal@proc name,def
|
|||||||
position@initlocal = position@initlocal + current@initlocal
|
position@initlocal = position@initlocal + current@initlocal
|
||||||
end while }
|
end while }
|
||||||
|
|
||||||
|
; @brief Mark the end of a procedure created by `proc` macro
|
||||||
macro endp
|
macro endp
|
||||||
{ purge ret,locals,endl
|
{ purge ret,locals,endl
|
||||||
finish@proc
|
finish@proc
|
||||||
|
Loading…
Reference in New Issue
Block a user