55
4501 Group
SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
MITSUBISHI MICROCOMPUTERS
Symbol
A
B
DR
E
Q1
V1
V2
I1
W1
W2
W6
MR
K0
K1
K2
PU0
PU1
PU2
X
Y
Z
DP
PC
PC
H
PC
L
SK
SP
CY
R1
R2
T1
T2
T1F
T2F
Contents
Register A (4 bits)
Register B (4 bits)
Register D (3 bits)
Register E (8 bits)
A-D control register Q1 (4 bits)
Interrupt control register V1 (4 bits)
Interrupt control register V2 (4 bits)
Interrupt control register I1 (4 bits)
Timer control register W1 (4 bits)
Timer control register W2 (4 bits)
Timer control register W6 (4 bits)
Clock control register MR (4 bits)
Key-on wakeup control register K0 (4 bits)
Key-on wakeup control register K1 (4 bits)
Key-on wakeup control register K2 (4 bits)
Pull-up control register PU0 (4 bits)
Pull-up control register PU1 (4 bits)
Pull-up control register PU2 (4 bits)
Register X (4 bits)
Register Y (4 bits)
Register Z (2 bits)
Data pointer (10 bits)
(It consists of registers X, Y, and Z)
Program counter (14 bits)
High-order 7 bits of program counter
Low-order 7 bits of program counter
Stack register (14 bits
8)
Stack pointer (3 bits)
Carry flag
Timer 1 reload register
Timer 2 reload register
Timer 1
Timer 2
Timer 1 interrupt request flag
Timer 2 interrupt request flag
Contents
Watchdog timer flag
Watchdog timer enable flag
Interrupt enable flag
External 0 interrupt request flag
Power down flag
A-D conversion completion flag
Port D (4 bits)
Port P0 (4 bits)
Port P1 (4 bits)
Port P2 (2 bits)
Port C (1 bit)
Port K (1 bit)
Hexadecimal variable
Hexadecimal variable
Hexadecimal variable
Hexadecimal variable
Hexadecimal constant
Hexadecimal constant
Hexadecimal constant
Binary notation of hexadecimal variable A
(same for others)
Direction of data movement
Data exchange between a register and memory
Decision of state shown before “”
Contents of registers and memories
Negate, Flag unchanged after executing instruction
RAM address pointed by the data pointer
Label indicating address a
6
a
5
a
4
a
3
a
2
a
1
a
0
Label indicating address a
6
a
5
a
4
a
3
a
2
a
1
a
0
in page p
5
p
4
p
3
p
2
p
1
p
0
Hex. C + Hex. number x (also same for others)
Symbol
WDF1
WEF
INTE
EXF0
P
ADF
D
P0
P1
P2
C
K
x
y
z
p
n
i
j
A
3
A
2
A
1
A
0
←
( )
—
M(DP)
a
p, a
C
+
x
Note :Some instructions of the 4501 Group has the skip function to unexecute the next described instruction. The 4501 Group just invalidates the next instruc-
tion when a skip is performed. The contents of program counter is not increased by 2. Accordingly, the number of cycles does not change even if skip
is not performed. However, the cycle count becomes “1” if the TABP p, RT, or RTS instruction is skipped.
INSTRUCTIONS
The 4501 Group has the 111 instructions. Each instruction is de-
scribed as follows;
(1) Index list of instruction function
(2) Machine instructions (index by alphabet)
(3) Machine instructions (index by function)
(4) Instruction code table
SYMBOL
The symbols shown below are used in the following list of instruc-
tion function and the machine instructions.