|
4518 Datasheet, PDF (107/160 Pages) Renesas Technology Corp – SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER | |||
|
◁ |
4518 Group
MACHINE INSTRUCTIONS (INDEX BY ALPHABET) (continued)
SZC (Skip if Zero, Carry flag)
Instruction
code
D9
D0
Number of Number of Flag CY
words
cycles
0 0 0 0 1 0 1 1 1 1 2 0 2 F 16
1
1
â
Skip condition
(CY) = 0
Operation: (CY) = 0 ?
Grouping: Arithmetic operation
Description: Skips the next instruction when the con-
tents of carry flag CY is â0.â
After skipping, the CY flag remains un-
changed.
Executes the next instruction when the con-
tents of the CY flag is â1.â
SZD (Skip if Zero, port D specified by register Y)
Instruction
code
D9
D0
Number of Number of Flag CY
words
cycles
0
0
0
0
1
0
0
1
0
0
0
2
2
4 16
2
2
â
0 0 0 0 1 0 1 0 1 1 2 0 2 B 16
Skip condition
(D(Y)) = 0
(Y) = 0 to 7
Operation:
(D(Y)) = 0 ?
(Y) = 0 to 7
Grouping: Input/Output operation
Description: Skips the next instruction when a bit of port
D specified by register Y is â0.â Executes the
next instruction when the bit is â1.â
T1AB (Transfer data to timer 1 and register R1 from Accumulator and register B)
Instruction
code
D9
D0
Number of Number of
1
0
0
0
1
1
0
0
0
0
2
2
3
0 16
words
1
cycles
1
Flag CY
â
Skip condition
â
Operation:
(T17âT14) â (B)
(R17âR14) â (B)
(T13âT10) â (A)
(R13âR10) â (A)
Grouping: Timer operation
Description: Transfers the contents of register B to the
high-order 4 bits of timer 1 and timer 1 re-
load register R1. Transfers the contents of
register A to the low-order 4 bits of timer 1
and timer 1 reload register R1.
T2AB (Transfer data to timer 2 and register R2 from Accumulator and register B)
Instruction
code
D9
D0
Number of Number of
1000110001
231
2
16
words
1
cycles
1
Flag CY
â
Skip condition
â
Operation:
(T27âT24) â (B)
(R27âR24) â (B)
(T23âT20) â (A)
(R23âR20) â (A)
Grouping: Timer operation
Description: Transfers the contents of register B to the
high-order 4 bits of timer 2 and timer 2 re-
load register R2. Transfers the contents of
register A to the low-order 4 bits of timer 2
and timer 2 reload register R2.
Rev.3.01 2005.06.15 page 107 of 157
REJ03B0008-0301
|
▷ |