NEC PD789488 User Manual page 338

Pd789489 subseries 8-bit single-chip microcontrollers
Table of Contents

Advertisement

Mnemonic
Operands
CALL
!addr16
CALLT
[addr5]
RET
RETI
PUSH
PSW
rp
POP
PSW
rp
MOVW
SP, AX
AX, SP
BR
!addr16
$addr16
AX
BC
$saddr16
BNC
$saddr16
BZ
$saddr16
BNZ
$saddr16
BT
saddr.bit, $addr16
sfr.bit, $addr16
A.bit, $addr16
PSW.bit, $addr16
BF
saddr.bit, $addr16
sfr.bit, $addr16
A.bit, $addr16
PSW.bit, $addr16
DBNZ
B, $addr16
C, $addr16
saddr, $addr16
NOP
EI
DI
HALT
STOP
Remark
One instruction clock cycle is one CPU clock cycle (f
register (PCC).
338
CHAPTER 21 INSTRUCTION SET
Bytes
Clocks
(SP − 1) ← (PC + 3)
3
6
PC ← addr16, SP ← SP − 2
1
8
(SP − 1) ← (PC + 1)
← (00000000, addr5 + 1),
PC
H
← (00000000, addr5), SP ← SP − 2
PC
L
1
6
PC
← (SP + 1), PC
H
1
8
PC
← (SP + 1), PC
H
PSW ← (SP + 2), SP ← SP + 3
(SP − 1) ← PSW, SP ← SP − 1
1
2
(SP − 1) ← rp
1
4
1
4
PSW ← (SP), SP ← SP + 1
← (SP + 1), rp
1
6
rp
H
SP ← AX
2
8
2
6
AX ← SP
PC ← addr16
3
6
2
6
PC ← PC + 2 + jdisp8
← A, PC
1
6
PC
H
PC ← PC + 2 + jdisp8 if CY = 1
2
6
2
6
PC ← PC + 2 + jdisp8 if CY = 0
PC ← PC + 2 + jdisp8 if Z = 1
2
6
PC ← PC + 2 + jdisp8 if Z = 0
2
6
4
10
PC ← PC + 4 + jdisp8 if (saddr.bit) = 1
PC ← PC + 4 + jdisp8 if sfr.bit = 1
4
10
PC ← PC + 3 + jdisp8 if A.bit = 1
3
8
4
10
PC ← PC + 4 + jdisp8 if PSW.bit = 1
PC ← PC + 4 + jdisp8 if (saddr.bit) = 0
4
10
4
10
PC ← PC + 4 + jdisp8 if sfr.bit = 0
PC ← PC + 3 + jdisp8 if A.bit = 0
3
8
PC ← PC + 4 + jdisp8 if PSW.bit = 0
4
10
2
6
B ← B − 1, then PC ← PC + 2 + jdisp8 if B ≠ 0
C ← C − 1, then PC ← PC + 2 + jdisp8 if C ≠ 0
2
6
(saddr) ← (saddr) − 1, then
3
8
PC ← PC + 3 + jdisp8 if (saddr) ≠ 0
1
2
No Operation
3
6
IE ← 1 (Enable interrupt)
IE ← 0 (Disable interrupt)
3
6
1
2
Set HALT mode
1
2
Set STOP mode
User's Manual U15331EJ4V1UD
Operation
, (SP − 2) ← (PC + 3)
H
, (SP − 2) ← (PC + 1)
H
← (SP), SP ← SP + 2
L
← (SP),
L
, (SP − 2) ← rp
, SP ← SP − 2
H
L
← (SP), SP ← SP + 2
L
← X
L
) selected by the processor clock control
CPU
Flag
Z AC CY
,
L
,
L
R R R
R R R

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pd78f9488Pd78f9489Pd789489

Table of Contents