diff --git a/doc/cc65.sgml b/doc/cc65.sgml index 42b2b0be3..234ce16f8 100644 --- a/doc/cc65.sgml +++ b/doc/cc65.sgml @@ -429,6 +429,32 @@ This cc65 version has some extensions to the ISO C standard. The macro will print the name of the current function plus a given string.

+ + cc65 allows the initialization of + void GCmd = { (char)3, (unsigned)0x2000, (unsigned)0x3000 }; + + + This will be translated as follows: + + + _GCmd: + .byte 3 + .word $2000 + .word $3000 + + + Since the variable is of type for examples on + how to use this feature. +

+