New %s inline asm format specifier

git-svn-id: svn://svn.cc65.org/cc65/trunk@2442 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2003-09-16 20:35:37 +00:00
parent 5537aee205
commit ffb77285de
2 changed files with 46 additions and 8 deletions

View File

@@ -910,6 +910,7 @@ the format specifier before passing the assembly code line to the backend.
<item><tt/%l/ - Numerical 32 bit value
<item><tt/%v/ - Assembler name of a (global) variable or function
<item><tt/%o/ - Stack offset of a (local) variable
<item><tt/%s/ - The argument is converted to a string
<item><tt/%%/ - The % sign itself
</itemize><p>
@@ -949,7 +950,7 @@ variables or functions into your asm statements. Code like this
<p>
may stop working if the way, the compiler generates these names is changed in
a future version.
a future version. Instead use the format specifiers from the table above.
<p>