Datasheet

Chapter 8 Central Processor Unit (RS08CPUV1)
MC9RS08KA2 Series Data Sheet, Rev. 4
66 Freescale Semiconductor
dd = Low-order eight bits of a direct address $0000–$00FF (high byte assumed to
be $00)
ii = One byte of immediate data
hh = High-order 6-bit of 14-bit extended address prefixed with 2-bit of 0
ll = Low-order byte of 14-bit extended address
rr = Relative offset
Source form
Everything in the source forms columns, except expressions in italic characters, is literal information
which must appear in the assembly source file exactly as shown. The initial 3- to 5-letter mnemonic is
always a literal expression. All commas, pound signs (#), parentheses, and plus signs (+) are literal
characters.
n Any label or expression that evaluates to a single integer in the range 0–7.
x Any label or expression that evaluates to a single hexadecimal integer in the
range $0–$F.
opr8i Any label or expression that evaluates to an 8-bit immediate value.
opr4a Any label or expression that evaluates to a Tiny address (4-bit value). The
instruction treats this 4-bit value as the low order four bits of an address in the
16-Kbyte address space ($0000–$000F). This 4-bit value is embedded in the
low order four bits in the opcode.
opr5a Any label or expression that evaluates to a Short address (5-bit value). The
instruction treats this 5-bit value as the low order five bits of an address in the
16-Kbyte address space ($0000–$001F). This 5-bit value is embedded in the
low order 5 bits in the opcode.
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 16-Kbyte
address space ($0000–$00FF).
opr16a Any label or expression that evaluates to a 14-bit value. On the RS08 core, the
upper two bits are always 0s. The instruction treats this value as an address in
the 16-Kbyte address space.
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)
IMD = Immediate to Direct (in MOV instruction)
IMM = Immediate
DD = Direct to Direct (in MOV instruction)
DIR = Direct
SRT = Short
TNY = Tiny
EXT = Extended
REL = 8-bit relative offset