From 4cc56dacbd362e1d78cd7bc2ceaf12a9f6929986 Mon Sep 17 00:00:00 2001 From: cuz Date: Mon, 4 Nov 2002 13:57:27 +0000 Subject: [PATCH] Extend description of %v inline assembler format specifier git-svn-id: svn://svn.cc65.org/cc65/trunk@1484 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- doc/cc65.sgml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) 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.