Instruction Notation Conventions - Samsung S3C9228 User Manual

8-bit cmos microcontrollers
Table of Contents

Advertisement

SAM88RI INSTRUCTION SET
Notation
cc
Condition code
r
Working register only
rr
Working register pair
R
Register or working register
RR
Register pair or working register pair
Ir
Indirect working register only
IR
Indirect register or indirect working register @Rn or @reg (reg = 0–255, n = 0–15)
Irr
Indirect working register pair only
IRR
Indirect register pair or indirect working
register pair
X
Indexed addressing mode
XS
Indexed (short offset) addressing mode
xl
Indexed (long offset) addressing mode
da
Direct addressing mode
ra
Relative addressing mode
im
Immediate addressing mode
6-6
Table 6-4. Instruction Notation Conventions
Description
Actual Operand Range
See list of condition codes in Table 6-6.
Rn (n = 0–15)
RRp (p = 0, 2, 4, ..., 14)
reg or Rn (reg = 0–255, n = 0–15)
reg or RRp (reg = 0–254, even number only, where
p = 0, 2, ..., 14)
@Rn (n = 0–15)
@RRp (p = 0, 2, ..., 14)
@RRp or @reg (reg = 0–254, even only, where
p = 0, 2, ..., 14)
#reg[Rn] (reg = 0–255, n = 0–15)
#addr[RRp] (addr = range –128 to +127, where
p = 0, 2, ..., 14)
#addr [RRp] (addr = range 0–8191, where
p = 0, 2, ..., 14)
addr (addr = range 0–8191)
addr (addr = number in the range +127 to –128 that is
an offset relative to the address of the next instruction)
#data (data = 0–255)
S3C9228/P9228_UM_REV1.10

Advertisement

Table of Contents
loading

This manual is also suitable for:

S3p9228

Table of Contents