diff --git a/doc/cc65.sgml b/doc/cc65.sgml
index 4d4ff3706..8998bfd62 100644
--- a/doc/cc65.sgml
+++ b/doc/cc65.sgml
@@ -437,7 +437,7 @@ and the one defined by the ISO standard:
conventions (see below). This means, that you may not mix pointers to
those functions with pointers to user written functions.
-
+
There may be some more minor differences, I'm currently not aware off. The
biggest problem is the missing float data type. With this limitation in
@@ -552,9 +552,9 @@ This cc65 version has some extensions to the ISO C standard.
- cc65 implements flexible array struct members as defined in the C99 ISO
- standard. As an extension, these fields may be initialized. There are
- several exceptions, however (which is probably the reason why the
- standard does not define this feature, because it is highly
+ standard. As an extension, these fields may be initialized. There are
+ several exceptions, however (which is probably the reason why the
+ standard does not define this feature, because it is highly
unorthogonal). Flexible array members cannot be initialized...
@@ -652,7 +652,7 @@ The compiler defines several macros at startup:
__CC65_STD__
- This macro is defined to one of the following depending on the
command line option:
-
int foo;
int bar () { return 1; }
- __asm__ ("lda _foo"); /* DON'T DO THAT! */
+ __asm__ ("lda _foo"); /* DON'T DO THAT! */
...
- __asm__ ("jsr _bar"); /* DON'T DO THAT EITHER! */
+ __asm__ ("jsr _bar"); /* DON'T DO THAT EITHER! */
may stop working if the way, the compiler generates these names is changed in
-a future version. Instead use the format specifiers from the table above.
+a future version. Instead use the format specifiers from the table above:
+
+
+ __asm__ ("lda %v", foo); /* OK */
+ ...
+ __asm__ ("jsr %v", bar); /* OK */
+