|
4502 Datasheet, PDF (74/116 Pages) Renesas Technology Corp – SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER | |||
|
◁ |
4502 Group
MACHINE INSTRUCTIONS (INDEX BY ALPHABET) (continued)
SNZ0 (Skip if Non Zero condition of external 0 interrupt request flag)
Instruction
code
D9
D0
Number of
0000111000
038
2
16
words
1
Number of
cycles
1
Flag CY
â
Skip condition
V10 = 0: (EXF0) = 1
Operation:
V10 = 0: (EXF0) = 1 ?
After skipping, (EXF0) â 0
V10 = 1: SNZ0 = NOP
(V10 : bit 0 of the interrupt control register V1)
Grouping: Interrupt operation
Description: When V10 = 0 : Skips the next instruction
when external 0 interrupt request flag EXF0
is â1.â After skipping, clears (0) to the EXF0
flag. When the EXF0 flag is â0,â executes
the next instruction.
When V10 = 1 : This instruction is equiva-
lent to the NOP instruction.
SNZAD (Skip if Non Zero condition of A/D conversion completion flag)
Instruction
code
D9
D0
Number of
1010000111
287
2
16
words
1
Number of Flag CY
cycles
1
â
Skip condition
V22 = 0: (ADF) = 1
Operation:
V22 = 0: (ADF) = 1 ?
After skipping, (ADF) â 0
V22 = 1: SNZAD = NOP
(V22 : bit 2 of the interrupt control register V2)
Grouping: A/D conversion operation
Description: When V22 = 0 : Skips the next instruction
when A/D conversion completion flag ADF
is â1.â After skipping, clears (0) to the ADF
flag. When the ADF flag is â0,â executes the
next instruction.
When V22 = 1 : This instruction is equiva-
lent to the NOP instruction.
SNZCP (Skip if Non Zero condition of Port C)
Instruction
code
D9
D0
Number of Number of Flag CY
words
cycles
1 0 1 0 0 0 1 0 0 1 2 2 8 9 16
1
1
â
Skip condition
(C) = 1
Operation: (C) = 1 ?
Grouping: Input/Output operation
Description: Skips the next instruction when the con-
tents of port C is â1.â
Executes the next instruction when the con-
tents of port C is â0.â
SNZI0 (Skip if Non Zero condition of external 0 Interrupt input pin)
Instruction
code
D9
D0
Number of Number of Flag CY Skip condition
0
0
0
0
1
1
1
0
1
0
0
2
3
A 16
words
1
cycles
1
â I12 = 0 : (INT) = âLâ
I12 = 1 : (INT) = âHâ
Operation:
I12 = 0 : (INT) = âLâ ?
I12 = 1 : (INT) = âHâ ?
(I12 : bit 2 of the interrupt control register I1)
Grouping: Interrupt operation
Description: When I12 = 0 : Skips the next instruction
when the level of INT pin is âL.â Executes
the next instruction when the level of INT
pin is âH.â
When I12 = 1 : Skips the next instruction
when the level of INT pin is âH.â Executes
the next instruction when the level of INT
pin is âL.â
Rev.3.01 2005.02.02 page 74 of 112
REJ03B0105-0301
|
▷ |