58 Rabbit 2000/3000 Microprocessor
Description
If condition cc is true then the 8-bit signed displacement value e isaddedtoPC.
Since the instruction takes two increments of the PC to complete, two is subtracted from the displacement
value so that the displacement takes place from the instruction opcode.
This instruction recognizes labels when used in the Dynamic C assembler.
JR cc,e
Opcode Instruction Clocks Operation
āā
20 e-2
28 e-2
30 e-2
38 e-2
JR cc,e
JR NZ,e
JR Z,e
JR NC,e
JR C,e
5 (2,2,1)
5 (2,2,1)
5 (2,2,1)
5 (2,2,1)
5 (2,2,1)
if {cc}PC=PC+e
if {NZ} PC = PC + e
if {Z} PC = PC + e
if {NC} PC = PC + e
if {C} PC = PC + e
Flags ALTD I/O
S Z L/V C F R SP S D
- - - -