|
HD64F38024HV Datasheet, PDF (560/684 Pages) Renesas Technology Corp – Hardware Manual Renesas 8-Bit Single-Chip Microcomputer H8 Family/H8/300L Super Low Power Series | |||
|
◁ |
Appendix A CPU Instruction Set
Addressing Mode/
Instruction Length (bytes)
Condition Code
Mnemonic
Operation
I HNZVC
JSR @Rn
⯠SPâ2 â SP
PC â @SP
PC â Rn16
2
â¯â¯â¯â¯â¯â¯ 6
JSR @aa:16
⯠SPâ2 â SP
PC â @SP
PC â aa:16
4
â¯â¯â¯â¯â¯â¯ 8
JSR @@aa:8
⯠SPâ2 â SP
PC â @SP
PC â @aa:8
2 â¯â¯â¯â¯â¯â¯ 8
RTS
⯠PC â @SP
SP+2 â SP
2 â¯â¯â¯â¯â¯â¯ 8
RTE
⯠CCR â @SP
SP+2 â SP
PC â @SP
SP+2 â SP
2
10
SLEEP
⯠Transit to sleep mode.
2 â¯â¯â¯â¯â¯â¯ 2
LDC #xx:8, CCR
B #xx:8 â CCR
2
2
LDC Rs, CCR
B Rs8 â CCR
2
2
STC CCR, Rd
B CCR â Rd8
2
â¯â¯â¯â¯â¯â¯ 2
ANDC #xx:8, CCR
B CCRâ§#xx:8 â CCR
2
2
ORC #xx:8, CCR
B CCRâ¨#xx:8 â CCR
2
2
XORC #xx:8, CCR
B CCRâ#xx:8 â CCR
2
2
NOP
⯠PC â PC+2
2 â¯â¯â¯â¯â¯â¯ 2
EEPMOV
⯠if R4Lâ 0
Repeat @R5 â @R6
R5+1 â R5
R6+1 â R6
R4Lâ1 â R4L
Until R4L=0
else next;
4 ⯠⯠⯠⯠⯠⯠(4)
Notes: (1) Set to 1 when there is a carry or borrow from bit 11; otherwise cleared to 0.
(2) If the result is zero, the previous value of the flag is retained; otherwise the flag is cleared to 0.
(3) Set to 1 if decimal adjustment produces a carry; otherwise retains value prior to arithmetic operation.
(4) The number of states required for execution is 4n + 9 (n = value of R4L). 4n + 8 for HD64F38024,
H8/38024S Group, and H8/38124 Group.
(5) Set to 1 if the divisor is negative; otherwise cleared to 0.
(6) Set to 1 if the divisor is zero; otherwise cleared to 0.
Rev. 8.00 Mar. 09, 2010 Page 538 of 658
REJ09B0042-0800
|
▷ |