EasyManua.ls Logo

Rabbit 2000 - Page 45

Rabbit 2000
120 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Instruction Reference Manual 41
Description
If condition cc is true then the 8-bit signed displacement value e is added to the Program Counter, PC.
Since the instruction takes two increments of the PC to complete, two is subtracted from the displacement
value so that the displacement take place from the instruction opcode.
This instruction recognizes labels when used in the Dynamic C assembler.
Description
Adds a signed constant e to the Program Counter.
Since the instruction takes two increments of the PC to complete, two is subtracted from the displacement
value so that the displacement take 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
- - - -
JR e
Opcode Instruction Clocks Operation
18 e-2 JR e 5 (2,2,1) PC = PC + e
Flags ALTD I/O
S Z L/V C F R SP S D
- - - -

Other manuals for Rabbit 2000