The inline assembler reader for the Motorola 680x0 family of processors, uses the Motorola
Assembler syntax (q.v). A few di erences do exit:
- Local labels start with the @ character, such as
- The XDEF directive in an assembler block will make the symbol available publicly with the
speci ed name (this name is case sensitive)
- The DB, DW, DD directives can only be used to declare constants which will be stored in the
code segment.
- The Align directive is not supported.
- Arithmetic operations on constant expression use the same operands as the intel version (e.g :
AND, XOR ...)
- Segment directives are not supported
- Only 68000 and a subset of 68020 opcodes are currently supported
The inline assembler supports the following macros:
-
@Result
- represents the function result return value.
-
Self
- represents the object method pointer in methods.