Rev.6.00 Oct.28.2004 page 36
of 1016
REJ09B0138-0600H
Table 2-3
Instructions Classified by Function
Type
Instruction
Size
*
1
Function
Data transfer
MOV
B/W/L
(EAs)
→
Rd, Rs
→
(Ead)
Moves data between two general registers or between a
general register and memory, or moves immediate data
to a general register.
MOVFPE
B
Cannot be used in the H8S/2357 Group.
MOVTPE
B
Cannot be used in the H8S/2357 Group.
POP
W/L
@SP+
→
Rn
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.
PUSH
W/L
Rn
→
@–SP
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.
LDM
L
@SP+
→
Rn (register list)
Pops two or more general registers from the stack.
STM
L
Rn (register list)
→
@–SP
Pushes two or more general registers onto the stack.
Arithmetic
operations
ADD
SUB
B/W/L
Rd
±
Rs
→
Rd, Rd
±
#IMM
→
Rd
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.)
ADDX
SUBX
B
Rd
±
Rs
±
C
→
Rd, Rd
±
#IMM
±
C
→
Rd
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.
INC
DEC
B/W/L
Rd
±
1
→
Rd, Rd
±
2
→
Rd
Increments or decrements a general register by 1 or 2.
(Byte operands can be incremented or decremented by
1 only.)
ADDS
SUBS
L
Rd
±
1
→
Rd, Rd
±
2
→
Rd, Rd
±
4
→
Rd
Adds or subtracts the value 1, 2, or 4 to or from data in a
32-bit register.
DAA
DAS
B
Rd decimal adjust
→
Rd
Decimal-adjusts an addition or subtraction result in a
general register by referring to the CCR to produce 4-bit
BCD data.
MULXU
B/W
Rd
×
Rs
→
Rd
Performs unsigned multiplication on data in two general
registers: either 8 bits
×
8 bits
→
16 bits or 16 bits
×
16 bits
→
32 bits.
MULXS
B/W
Rd
×
Rs
→
Rd
Performs signed multiplication on data in two general
registers: either 8 bits
×
8 bits
→
16 bits or 16 bits
×
16 bits
→
32 bits.
Содержание ZTAT H8S/2357F
Страница 4: ......
Страница 28: ...Rev 6 00 Oct 28 2004 page xxiv of xxiv REJ09B0138 0600H...
Страница 82: ...Rev 6 00 Oct 28 2004 page 54 of 1016 REJ09B0138 0600H...
Страница 108: ...Rev 6 00 Oct 28 2004 page 80 of 1016 REJ09B0138 0600H...
Страница 364: ...Rev 6 00 Oct 28 2004 page 336 of 1016 REJ09B0138 0600H...
Страница 438: ...Rev 6 00 Oct 28 2004 page 410 of 1016 REJ09B0138 0600H...
Страница 566: ...Rev 6 00 Oct 28 2004 page 538 of 1016 REJ09B0138 0600H...
Страница 588: ...Rev 6 00 Oct 28 2004 page 560 of 1016 REJ09B0138 0600H...
Страница 688: ...Rev 6 00 Oct 28 2004 page 660 of 1016 REJ09B0138 0600H...
Страница 694: ...Rev 6 00 Oct 28 2004 page 666 of 1016 REJ09B0138 0600H...
Страница 708: ...Rev 6 00 Oct 28 2004 page 680 of 1016 REJ09B0138 0600H...
Страница 1044: ...Rev 6 00 Oct 28 2004 page 1016 of 1016 REJ09B0138 0600H...
Страница 1047: ...H8S 2357 Group H8S 2357F ZTATTM H8S 2398F ZTATTM Hardware Manual 2 6 2 Ote machi Chiyoda ku Tokyo 100 0004 Japan...