noStackFrame -> asmNoStackFrame
This commit is contained in:
parent
05712fe805
commit
8d19b09959
3 changed files with 3 additions and 3 deletions
|
|
@ -2335,7 +2335,7 @@ Nimrod identifiers shall be enclosed in a special character which can be
|
|||
specified in the statement's pragmas. The default special character is ``'`'``:
|
||||
|
||||
.. code-block:: nimrod
|
||||
proc addInt(a, b: int): int {.noStackFrame.} =
|
||||
proc addInt(a, b: int): int {.asmNoStackFrame.} =
|
||||
# a in eax, and b in edx
|
||||
asm """
|
||||
mov eax, `a`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue