|
HD6433308 Datasheet, PDF (303/349 Pages) Hitachi Semiconductor – Hitachi Single-Chip MicroComputer | |||
|
◁ |
Appendix B. Instruction Set List (cont.)
Mnemonic
Operation
Addressing mode/
instruction length
Condition code
JSR @Rn
â SPâ2 â SP
I H N ZV C
2
ââââââ6
PC â @SP
PC â Rn16
JSR @aa:16
â SPâ2 â SP
4
ââââââ8
PC â @SP
PC â aa:16
JSR @@aa:8
SPâ2 â SP
2
ââââââ8
PC â @SP
PC â @aa:8
RTS
â PC â @SP
2ââââââ8
SP+2 â SP
RTE
â CCR â @SP
2 â â â â â â 10
SP+2 â SP
PC â @SP
SP+2 â SP
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
Notes: The number of states is the number of states required for execution when the instruction and its
operands are located in on-chip memory.
x Set to â1â when there is a carry or borrow from bit 11; otherwise cleared to â0.â
â If the result is zero, the previous value of the flag is retained; otherwise the flag is cleared to â0.â
z Set to â1â if decimal adjustment produces a carry; otherwise cleared to â0.â
{ The number of states required for execution is 4n+8 (n = value of R4L)
â These instructions are not supported by the H8/338 Series.
± Set to â1â if the divisor is negative; otherwise cleared to â0.â
⤠Cleared to â0â if the divisor is not zero; undetermined when the divisor is zero.
295
|
▷ |