UPD75P3036 NEC, UPD75P3036 Datasheet - Page 29
UPD75P3036
Manufacturer Part Number
UPD75P3036
Description
4-BIT SINGLE-CHIP MICROCONTROLLER
Manufacturer
NEC
Datasheet
1.UPD75P3036.pdf
(64 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Notes 1. Before executing the IN or OUT instruction, set MBE to 0 or 1 and set MBS to 15.
Subroutine
stack control
Interrupt
control
I/O
CPU control
Special
Instruction
group
2. TBR and TCALL instructions are assembler pseudo-instructions for the GETI instruction’s table definitions.
3. The above operations in the double boxes can be performed only in the Mk II mode. The other operations can
be performed only in the Mk I mode.
PUSH
POP
EI
DI
IN
OUT
HALT
STOP
NOP
SEL
GETI
Mnemonic
Note 1
Note 1
Note 2, 3
rp
BS
rp
BS
IEXXX
IEXXX
A, PORTn
XA, PORTn
PORTn, A
PORTn, XA
RBn
MBn
taddr
Operand
No. of Machine
bytes
2
1
2
1
2
2
2
2
2
2
2
2
2
2
1
2
2
1
1
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
cycle
1
2
1
2
2
2
2
2
2
2
2
2
2
2
1
2
2
3
3
4
3
- - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
(SP–1)(SP–2)<-rp, SP<-SP–2
(SP–1)<-MBS, (SP–2)<-RBS, SP<-SP–2
rp<-(SP+1)(SP), SP<-SP+2
MBS<-(SP+1), RBS<-(SP), SP<-SP+2
IME(IPS.3)<-1
IEXXX<-1
IME(IPS.3)<-0
IEXXX<-0
A<-PORTn
XA<-PORTn+
PORTn<-A
PORTn+
Set HALT Mode(PCC.2<-1)
Set STOP Mode(PCC.3<-1)
No Operation
RBS<-n (n=0-3)
MBS<-n (n=0-2, 15)
• When using TBR instruction
• When using TCALL instruction
• When using instruction other than
• When using TBR instruction
• When using TCALL instruction
• When using instruction other than
PC
(SP–4)(SP–1)(SP–2)<-PC
(SP–3)<-MBE, RBE, PC
PC
SP<-SP–4
TBR or TCALL
Execute (taddr)(taddr+1) instruction
PC
(SP–6)(SP–3)(SP–4)<-PC
(SP–5)<-MBE, RBE, PC
(SP–2)<-X, X, MBE, RBE
PC
SP<-SP–6
TBR or TCALL
Execute (taddr)(taddr+1) instruction
13-0
13-0
13-0
13-0
<-(taddr)
<-(taddr)
<-(taddr)
<-(taddr)
1
, PORTn<-XA (n=4, 6)
1
, PORTn (n=4, 6)
Operation
5-0
5-0
5-0
5-0
+(taddr+1)
+(taddr+1)
+(taddr+1)
+(taddr+1)
13, 12
(n=0-8)
(n=2-8)
13, 12
11-0
11-0
Addressing
area
*10
*10
PD75P3036
- - - - - - - - - - - -
- - - - - - - - - - - -
- - - - - - - - - - - -
- - - - - - - - - - - -
Determined by
referenced
instruction
Determined by
referenced
instruction
condition
Skip
29