gc80c510 CORERIVER Semiconductor, gc80c510 Datasheet - Page 150

no-image

gc80c510

Manufacturer Part Number
gc80c510
Description
Eprom/rom 8-bit Turbo Microcontrollers
Manufacturer
CORERIVER Semiconductor
Datasheet
JNZ
Description:
Operation:
Encoding:
rel
Function:
Example:
Cycles:
Bytes:
Jump if Accumulator Not Zero
If any bit of the Accumulator is a one, branch to the indicated address;
otherwise proceed with the next instruction. The branch destination is computed
by adding the signed relative-displacement in the second instruction byte to the
PC, after incrementing the PC twice. The Accumulator is not modified. No flags
are affected.
The Accumulator originally holds 00h. The instruction sequence,
JNZ LABEL1
INC A
JNZ LAEEL2
will set the Accumulator to 01h and continue at label LABEL2.
2
3
JNZ
(PC)
IF (A)
0
THEN (PC)
1
(PC) + 2
1
0
1
0 0 0 0
(PC) + rel
Page 150 of 211
relative
Appendix A: Instruction Set

Related parts for gc80c510