English
Language : 

4507 Datasheet, PDF (70/115 Pages) Renesas Technology Corp – SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
4507 Group
MACHINE INSTRUCTIONS (INDEX BY ALPHABET) (continued)
RCP (Reset Port C)
Instruction
code
D9
D0
Number of Number of Flag CY
1010001100
28C
words
cycles
2
16
1
1
–
Skip condition
–
Operation: (C) ← 0
Grouping: Input/Output operation
Description: Clears (0) to port C.
RD (Reset port D specified by register Y)
Instruction
code
D9
D0
Number of Number of Flag CY
words
cycles
0 0 0 0 0 1 0 1 0 0 2 0 1 4 16
1
1
–
Skip condition
–
Operation:
(D(Y)) ← 0
However,
(Y) = 0 to 5
Grouping: Input/Output operation
Description: Clears (0) to a bit of port D specified by register Y.
Note:
Set 0 to 5 to register Y because port D is six
ports (D0–D5).
When values except above are set to regis-
ter Y, this instruction is equivalent to the
NOP instruction.
RT (ReTurn from subroutine)
Instruction
code
D9
D0
Number of Number of Flag CY
words
cycles
0
0
0
1
0
0
0
1
0
0
0
2
4
4 16
1
2
–
Skip condition
–
Operation:
(PC) ← (SK(SP))
(SP) ← (SP) – 1
Grouping: Return operation
Description: Returns from subroutine to the routine
called the subroutine.
RTI (ReTurn from Interrupt)
Instruction
code
D9
D0
Number of Number of Flag CY
0
0
0
1
0
0
0
1
1
0
0
2
4
6 16
words
1
cycles
1
–
Skip condition
–
Operation:
(PC) ← (SK(SP))
(SP) ← (SP) – 1
Grouping: Return operation
Description: Returns from interrupt service routine to
main routine.
Returns each value of data pointer (X, Y, Z),
carry flag, skip status, NOP mode status by
the continuous description of the LA/LXY in-
struction, register A and register B to the
states just before interrupt.
Rev.3.01 2005.02.04 page 70 of 111
REJ03B0107-0301