M68HC08RG/AD
MOTOROLA
M68HC08 Family Reference Guide
5
Machine Coding Notation
dd
=
Low-order eight bits of a direct address $0000–$00FF (high byte assumed
to be $00)
ee
=
Upper eight bits of 16-bit offset
ff
=
Lower eight bits of 16-bit offset or 8-bit offset
ii
=
One byte of immediate data
jj
=
High-order byte of a 16-bit immediate data value
kk
=
Low-order byte of a 16-bit immediate data value
hh
=
High-order byte of 16-bit extended address
ll
=
Low-order byte of 16-bit extended address
rr
=
Relative offset
Explanation of Italic Expressions in Source Form Column
n = Any label or expression that evaluates to a single integer in the range 0–7
opr8i = Any label or expression that evaluates to an 8-bit immediate value
opr16i = Any label or expression that evaluates to a 16-bit immediate value
opr8a = Any label or expression that evaluates to an 8-bit value. The instruction
treats this 8-bit value as the low order eight bits of an address in the direct
page of the 64-Kbyte address space ($00xx).
opr16a = Any label or expression that evaluates to a 16-bit value. The instruction
treats this value as an address in the 64-Kbyte address space.
oprx8 = Any label or expression that evaluates to an unsigned 8-bit value; used
for indexed addressing
oprx16 = Any label or expression that evaluates to a 16-bit value. Since the
MC68HC08S has a 16-bit address bus, this can be either a signed or an
unsigned value.
rel = Any label or expression that refers to an address that is within –128 to
+
127 locations from the next address after the last byte of object code for
the current instruction. The assembler will calculate the 8-bit signed
offset and include it in the object code for this instruction.
Address Modes
INH
=
Inherent (no operands)
IMM
=
8-bit or 16-bit immediate
DIR
=
8-bit direct
EXT
=
16-bit extended
IX
=
16-bit indexed no offset
IX+
=
16-bit indexed no offset, post increment (CBEQ and MOV only)
IX1
=
16-bit indexed with 8-bit offset from H:X
IX1+
=
16-bit indexed with 8-bit offset, post increment (CBEQ only)
IX2
=
16-bit indexed with 16-bit offset from H:X
REL
=
8-bit relative offset
SP1
=
Stack pointer relative with 8-bit offset
SP2
=
Stack pointer relative with 16-bit offset
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
.
..