[next] [prev] [prev-tail] [tail] [up]

### 3.2 Motorola 680x0 Inline assembler

The inline assembler reader for the Motorola 680x0 family of processors, uses the Motorola Assembler syntax (q.v). A few differences do exit:

- Local labels start with the @ character, such as

              @MyLabel:

- The XDEF directive in an assembler block will make the symbol available publicly with the specified 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.

[next] [prev] [prev-tail] [front] [up]