English
Language : 

4507 Datasheet, PDF (55/115 Pages) Renesas Technology Corp – SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
4507 Group
INSTRUCTIONS
The 4507 Group has the 112 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.
Symbol
A
B
DR
E
Q1
V1
V2
I1
W1
W2
W6
MR
K0
K1
K2
PU0
PU1
PU2
X
Y
Z
DP
PC
PCH
PCL
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
Symbol
WDF1
WEF
INTE
EXF0
P
ADF
D
P0
P1
P2
P3
C
K
x
y
z
p
n
i
j
A3A2A1A0
←
↔
?
()
—
M(DP)
a
p, a
C
+
x
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 (6 bits)
Port P0 (4 bits)
Port P1 (4 bits)
Port P2 (2 bits)
Port P3 (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 a6 a5 a4 a3 a2 a1 a0
Label indicating address a6 a5 a4 a3 a2 a1 a0
in page p5 p4 p3 p2 p1 p0
Hex. C + Hex. number x (also same for others)
Note : Some instructions of the 4507 Group has the skip function to unexecute the next described instruction. The 4507 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.
Rev.3.01 2005.02.04 page 55 of 111
REJ03B0107-0301