diff --git a/doc/cc65.sgml b/doc/cc65.sgml index 6d036c149..37e3e493d 100644 --- a/doc/cc65.sgml +++ b/doc/cc65.sgml @@ -837,21 +837,21 @@ This cc65 version has some extensions to the ISO C standard. - The compiler allows to insert assembler expressions into the output - file. The syntax is + The compiler allows to insert inline assembler code in the form of the + - asm [optional volatile] (<string literal>[, optional parameters]) ; + asm [optional volatile] (<string literal>[, optional parameters]) or - __asm__ [optional volatile] (<string literal>[, optional parameters]) ; + __asm__ [optional volatile] (<string literal>[, optional parameters]) The first form is in the user namespace; and, is disabled if the .

@@ -1008,6 +1008,13 @@ This cc65 version has some extensions to the ISO C standard. /) and will + always be in the host encoding. On the other hand, any character or + string literals present in the condition expression of the + cc65 supports bit-fields of any integral type that is int-sized or smaller, and enumerated types with those types as their underlying type. (Only #pragma charmap (<index>, <code>)

- Each literal string and each literal character in the source is translated + Each literal string and each literal character in the preprocessed source, + except when used in an Inline assembler

-The compiler allows to insert assembler expressions into the output file. The -syntax is +The compiler allows to insert inline assembler code in the form of the - asm [optional volatile] (<string literal>[, optional parameters]) ; + asm [optional volatile] (<string literal>[, optional parameters]) or - __asm__ [optional volatile] (<string literal>[, optional parameters]) ; + __asm__ [optional volatile] (<string literal>[, optional parameters])

The first form is in the user namespace; and, is disabled by if the argument is not /) and will always +be in the host encoding. On the other hand, all character and string literals +as the arguments for replacing the format specifiers will be translated as +usual. +