From: cuz Date: Mon, 4 Nov 2002 13:57:27 +0000 (+0000) Subject: Extend description of %v inline assembler format specifier X-Git-Tag: V2.12.0~2148 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4cc56dacbd362e1d78cd7bc2ceaf12a9f6929986;p=cc65 Extend description of %v inline assembler format specifier git-svn-id: svn://svn.cc65.org/cc65/trunk@1484 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/doc/cc65.sgml b/doc/cc65.sgml index 8ca819cff..96d414486 100644 --- a/doc/cc65.sgml +++ b/doc/cc65.sgml @@ -806,7 +806,7 @@ the format specifier before passing the assembly code line to the backend.

@@ -835,16 +835,19 @@ Or, to access a struct member of a static variable:

Note: Do not embedd the assembler labels that are used as names of global -variables into your asm statements. Code like this +variables or functions into your asm statements. Code like this int foo; + int bar () { return 1; } __asm__ ("lda _foo"); /* DON'T DO THAT! */ + ... + __asm__ ("jsr _bar"); /* DON'T DO THAT EITHER! */

-may stop working if the way, the compiler generates variable names is changed -in a future version. +may stop working if the way, the compiler generates these names is changed in +a future version.