|
MC9RS08KA2_07 Datasheet, PDF (66/136 Pages) Freescale Semiconductor, Inc – Microcontrollers | |||
|
◁ |
Chapter 8 Central Processor Unit (RS08CPUV1)
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 preï¬xed 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 ï¬le 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 ï¬ve 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 =
IMD =
IMM =
DD =
DIR =
SRT =
TNY =
EXT =
REL =
Inherent (no operands)
Immediate to Direct (in MOV instruction)
Immediate
Direct to Direct (in MOV instruction)
Direct
Short
Tiny
Extended
8-bit relative offset
MC9RS08KA2 Series Data Sheet, Rev. 3
66
Freescale Semiconductor
|
▷ |