assembler. The syntax for a function declaration using fastcall is
<tscreen><verb>
- <tt/<return type> fastcall <function name> (<parameter list>)/
+ <return type> fastcall <function name> (<parameter list>)
</verb></tscreen>
or
<tscreen><verb>
- <tt/<return type> __fastcall__ <function name> (<parameter list>)/
+ <return type> __fastcall__ <function name> (<parameter list>)
</verb></tscreen>
An example would be
<tscreen><verb>
- <tt/void __fastcall__ f (unsigned char c)/
+ void __fastcall__ f (unsigned char c)
</verb></tscreen>
The first form of the fastcall keyword is in the user namespace and is
therefore disabled in strict ANSI mode.
sequences of assembler code. For example, the macro
<tscreen><verb>
- #define hi(x) (__AX__=(x),asm("\ttxa\n\tldx\t#$00",__AX__)
+ #define hi(x) (__AX__=(x),asm("\ttxa\n\tldx\t#$00",__AX__)
</verb></tscreen>
will give the high byte of any unsigned value.