|
4507 Datasheet, PDF (75/115 Pages) Renesas Technology Corp – SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER | |||
|
◁ |
4507 Group
MACHINE INSTRUCTIONS (INDEX BY ALPHABET) (continued)
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 5
Operation:
(D(Y)) = 0 ?
(Y) = 0 to 5
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.â
Note:
Set 0 to 5 to register Y because port D is six
ports (D0âD5). When values except above
are set to register Y, this instruction is
equivalent to the NOP instruction.
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
1
0
0
0
1
1
0
0
0
1
2
2
3
1 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.
TAB (Transfer data to Accumulator from register B)
Instruction
code
D9
D0
Number of Number of Flag CY
0000011110
01E
words
cycles
2
16
1
1
â
Skip condition
â
Operation: (A) â (B)
Grouping: Other operation
Description: Transfers the contents of register B to reg-
ister A.
Rev.3.01 2005.02.04 page 75 of 111
REJ03B0107-0301
|
▷ |