Download Print this page

Hitachi H8S/2633 Hardware Manual page 69

Advertisement

Table 2-3
Instructions Classified by Function
Type
Instruction
Data transfer
MOV
MOVFPE
MOVTPE
POP
PUSH
LDM
STM
Arithmetic
ADD
operations
SUB
ADDX
SUBX
INC
DEC
ADDS
SUBS
DAA
DAS
42
1
Size*
Function
(EAs) → Rd, Rs → (Ead)
B/W/L
Moves data between two general registers or between a
general register and memory, or moves immediate data
to a general register.
B
Cannot be used in the H8S/2633 Series.
B
Cannot be used in the H8S/2633 Series.
@SP+ → Rn
W/L
Pops a register from the stack. POP.W Rn is identical to
MOV.W @SP+, Rn. POP.L ERn is identical to MOV.L
@SP+, ERn.
Rn → @–SP
W/L
Pushes a register onto the stack. PUSH.W Rn is
identical to MOV.W Rn, @–SP. PUSH.L ERn is identical
to MOV.L ERn, @–SP.
@SP+ → Rn (register list)
L
Pops two or more general registers from the stack.
Rn (register list) → @–SP
L
Pushes two or more general registers onto the stack.
Rd ± Rs → Rd, Rd ± #IMM → Rd
B/W/L
Performs addition or subtraction on data in two general
registers, or on immediate data and data in a general
register. (Immediate byte data cannot be subtracted from
byte data in a general register. Use the SUBX or ADD
instruction.)
Rd ± Rs ± C → Rd, Rd ± #IMM ± C → Rd
B
Performs addition or subtraction with carry or borrow on
byte data in two general registers, or on immediate data
and data in a general register.
Rd ± 1 → Rd, Rd ± 2 → Rd
B/W/L
Increments or decrements a general register by 1 or 2.
(Byte operands can be incremented or decremented by
1 only.)
Rd ± 1 → Rd, Rd ± 2 → Rd, Rd ± 4 → Rd
L
Adds or subtracts the value 1, 2, or 4 to or from data in a
32-bit register.
Rd decimal adjust → Rd
B
Decimal-adjusts an addition or subtraction result in a
general register by referring to the CCR to produce 4-bit
BCD data.

Advertisement

loading

This manual is also suitable for:

Hd6432633Hd6432631Hd64f2633H8s/2632Hd6432632H8s/2631