58
Rabbit 2000/3000 Microprocessor
Description
If condition cc is true then the 8-bit signed displacement value e is added to PC.
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
-
-
-
-
Summary of Contents for 2000
Page 2: ...ii Rabbit 2000 3000 Microprocessor...
Page 4: ...iv Rabbit 2000 Microprocessor...
Page 16: ...12 Rabbit 2000 3000 Microprocessor...
Page 164: ...160 Instruction Reference Manual...