In the M68HC11 syntax, the instruction name comes first and it may
be followed by one or several operands (up to three). Operands are
separated by comma (,
). In the normal mode,
as
will complain if too many operands are specified for
a given instruction. In the MRI mode (turned on with -M
option),
it will treat them as comments. Example:
inx lda #23 bset 2,x #4 brclr *bot #8 foo
The following addressing modes are understood:
#
number
number,X
,
number,Y
The number may be omitted in which case 0 is assumed.
*
symbol
, or *
digits
symbol
, or
digits