µ
PD75312(A), 75316(A)
41
Ma- Ad-
Instruc- Mne-
Operand Bytes
chine
Operation
dress- Skip
tions monics Cyc- ing Conditions
les Area
Branch BR addr — — PC13-0 ← addr *6
(The most suitable instruction
is selectable from among BR
!addr, BRCB !caddr, and BR
$addr depending on the
assembler.)
!addr 3 3 PC13-0 ← addr *6
$addr 1 2 PC13-0 ← addr *7
BRCB !caddr 2 2 PC13-0 ← PC13,12 + caddr11-0 *8
CALL !addr 3 3 (SP-4)(SP-1)(SP-2) ← PC11-0 *6
(SP-3) ← MBE, 0, PC13, PC12
PC13-0 ← addr, SP ← SP-4
CALLF !faddr 2 2 (SP-4)(SP-1)(SP-2) ← PC11-0 *9
(SP-3) ← MBE, 0, PC13, PC12
PC13-0 ← 00, faddr, SP ← SP-4
RET 1 3 MBE, PC13, PC12 ← (SP+1)3, 1, 0
PC11-0 ← (SP)(SP+3)(SP+2)
SP ← SP+4
RETS 1 3+S MBE, PC13, PC12 ← (SP+1)3, 1, 0 Undefined
PC11-0 ← (SP)(SP+3)(SP+2)
SP ← SP+4,
then skip unconditionally
RETI 1 3 PC13, PC12 ← (SP+1)1, 0
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-7)
XA,PORTn 2 2
XA
←
PORTn+1,PORTn
(n = 4, 6)
OUT PORTn,A 2 2 PORTn ← A (n = 2-7)
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
.
Where TBR instruction, *10
PC13-0 ← (taddr)5-0+(taddr+1)
.
Where TCALL instruction,
(SP-4)(SP-1)(SP-2) ← PC11-0
(SP-3) ← MBE, 0, PC13, PC12
PC13-0 ← (taddr)5-0+(taddr+1)
SP ← SP-4
.
Except for TBR and TCALL Depends on
instructions, referenced
Instruction execution of instruction
(taddr)(taddr+1)
Note: When executing the IN/OUT instruction, MBE = 0, or MBE = 1, and MBS = 15.
Remarks: The TBR and TCALL instructions are the assembler pseudo-instructions for the table definition
of GETI instruction.
Subroutine/
Stack
Control
......................................................... .............................
......................................................... .............................