µ
PD75004, 75006, 75008
39
Ma- Ad-
Instruc- Mne-
Operand Bytes
chine
Operation
dress- Skip
tions monics Cyc- ing Conditions
les Area
RETI 1 3 • µPD75004
MBE, x, x, x ← (SP+1)
PC11-0 ← (SP)(SP+3)(SP+2)
PSW ← (SP+4)(SP+5), SP ← SP+6
• µPD75006, 75008
MBE, x, x, PC12 ← (SP+1)
PC11-0 ← (SP)(SP+3)(SP+2)
PSW ← (SP+4)(SP+5), SP ← SP+6
PUSH rp 1 1 (SP-1)(SP-2) ← rp, SP ← SP-2
BS 2 2
(SP-1) ← MBS, (SP-2) ← 0, SP ← SP-2
POP rp 1 1 rp ← (SP+1)(SP), SP ← SP+2
BS 2 2 MBS ← (SP+1), SP ← SP+2
Inter- EI 2 2 IME ← 1
rupt IExxx 2 2 IExxx ← 1
Control DI 2 2 IME ← 0
IExxx 2 2 IExxx ← 0
I/O IN * A, PORTn 2 2 A ← PORTn (n = 0-8)
XA, PORTn 2 2
XA
←
PORTn+1,PORTn
(n = 4, 6)
OUT * PORTn, A 2 2 PORTn ← A (n = 2-8)
PORTn, XA 2 2 PORTn+1, PORTn ← XA (n = 4, 6)
CPU HALT 2 2 Set HALT Mode (PCC.2 ← 1)
Control STOP 2 2 Set STOP Mode (PCC.3 ← 1)
NOP 1 1 No Operation
Special SEL MBn 2 2 MBS ← n (n = 0, 1, 15)
GETI taddr 1 3 • µPD75004 *10
Where TBR instruction,
PC11-0 ← (taddr)3-0+(taddr+1)
Where TCALL instruction,
(SP-4)(SP-1)(SP-2) ← PC11-0
(SP-3) ← MBE, 0, 0, 0
PC11-0 ← (taddr)3-0+(taddr+1)
SP ← SP-4
Except for TBR and TCALL Depends on
instructions, referenced
Instruction execution of instruction
(taddr)(taddr+1)
• µPD75006, 75008
Where TBR instruction,
PC12-0 ← (taddr)4-0+(taddr+1)
Where TCALL instruction,
(SP-4)(SP-1)(SP-2) ← PC11-0
(SP-3) ← MBE, 0, 0, PC12
PC12-0 ← (taddr)4-0+(taddr+1)
SP ← SP-4
Except for TBR and TCALL Depends on
instructions, referenced
Instruction execution of instruction
(taddr)(taddr+1)
*: When executing the IN/OUT instruction, MBE = 0, or MBE = 1, and MBS = 15.
......................................................... .............................
......................................................... .............................
......................................................... .............................
......................................................... .............................
Subroutine/
Stack
Control
(Cont‘d)