Next: , Previous: Command-Line Options, Up: Top


10 Predefined Macros

The following macros are predefined by the compiler based on command-line options:

__m6309__, __M6309__
Defined when compiling for the 6309 instruction set.
__m6809__, __M6809__
Defined when compiling for the 6809 instruction set.
__int8__
Defined when integers are 8-bits long.
__int16__
Defined when integers are 16-bits long.
__ABI_STACK__
Defined when using the ‘stack’ ABI.
__ABI_REGS__
Defined when using the ‘regs’ ABI.
__ABI_BX__
Defined when using the ‘BX’ ABI.
__WPC__
Defined when the WPC extensions are enabled.
__DRET__
Defined when using the D register to return 16-bit values.