English
Language : 

4524 Datasheet, PDF (86/161 Pages) Renesas Technology Corp – SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
4524 Group
INSTRUCTIONS
The 4524 Group has the 136 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
Contents
Symbol
Contents
A
Register A (4 bits)
PS
Prescaler
B
Register B (4 bits)
T1
Timer 1
DR
Register DR (3 bits)
T2
Timer 2
E
Register E (8 bits)
T3
Timer 3
V1
Interrupt control register V1 (4 bits)
T4
Timer 4
V2
Interrupt control register V2 (4 bits)
T5
Timer 5
I1
Interrupt control register I1 (4 bits)
TLC
Timer LC
I2
Interrupt control register I2 (4 bits)
T1F
Timer 1 interrupt request flag
I3
Interrupt control register I3 (1 bit)
T2F
Timer 2 interrupt request flag
MR
Clock control register MR (4 bits)
T3F
Timer 3 interrupt request flag
PA
Timer control register PA (1 bit)
T4F
Timer 4 interrupt request flag
W1
Timer control register W1 (4 bits)
T5F
Timer 5 interrupt request flag
W2
Timer control register W2 (4 bits)
WDF1
Watchdog timer flag
W3
Timer control register W3 (4 bits)
WEF
Watchdog timer enable flag
W4
Timer control register W4 (4 bits)
INTE
Interrupt enable flag
W5
Timer control register W5 (4 bits)
EXF0
External 0 interrupt request flag
W6
Timer control register W6 (4 bits)
EXF1
External 1 interrupt request flag
J1
Serial I/O control register J1 (4 bits)
P
Power down flag
Q1
A/D control register Q1 (4 bits)
ADF
A/D conversion completion flag
Q2
A/D control register Q2 (4 bits)
SIOF
Serial I/O transmit/receive completion flag
Q3
A/D control register Q3 (4 bits)
L1
LCD control register L1 (4 bits)
D
Port D (10 bits)
L2
LCD control register L2 (4 bits)
P0
Port P0 (4 bits)
PU0
Pull-up control register PU0 (4 bits)
P1
Port P1 (4 bits)
PU1
Pull-up control register PU1 (4 bits)
P2
Port P2 (4 bits)
FR0
Port output format control register FR0 (4 bits)
P3
Port P3 (4 bits)
FR1
Port output format control register FR1 (4 bits)
P4
Port P4 (4 bits)
FR2
Port output format control register FR2 (4 bits)
C
Port C (1 bit)
FR3
Port output format control register FR3 (4 bits)
K0
Key-on wakeup control register K0 (4 bits)
x
Hexadecimal variable
K1
Key-on wakeup control register K1 (4 bits)
y
Hexadecimal variable
K2
Key-on wakeup control register K2 (4 bits)
z
Hexadecimal variable
X
Register X (4 bits)
p
Hexadecimal variable
Y
Register Y (4 bits)
n
Hexadecimal constant
Z
Register Z (2 bits)
i
Hexadecimal constant
DP
Data pointer (10 bits)
j
Hexadecimal constant
(It consists of registers X, Y, and Z)
A3A2A1A0
Binary notation of hexadecimal variable A
PC
Program counter (14 bits)
(same for others)
PCH
High-order 7 bits of program counter
PCL
Low-order 7 bits of program counter
←
Direction of data movement
SK
Stack register (14 bits ✕ 8)
↔
Data exchange between a register and memory
SP
Stack pointer (3 bits)
?
Decision of state shown before “?”
CY
Carry flag
()
Contents of registers and memories
RPS
Prescaler reload register (8 bits)
—
Negate, Flag unchanged after executing instruction
R1
Timer 1 reload register (8 bits)
M(DP)
RAM address pointed by the data pointer
R2
Timer 2 reload register (8 bits)
a
Label indicating address a6 a5 a4 a3 a2 a1 a0
R3
Timer 3 reload register (8 bits)
p, a
Label indicating address a6 a5 a4 a3 a2 a1 a0
R4L
Timer 4 reload register (8 bits)
in page p5 p4 p3 p2 p1 p0
R4H
RLC
Timer 4 reload register (8 bits)
Timer LC reload register (4 bits)
C
Hex. C + Hex. number x
+
x
Note : Some instructions of the 4524 Group has the skip function to unexecute the next described instruction. The 4524 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.2.00 Jul 27, 2004 page 86 of 159
REJ03B0091-0200Z