
NXP Semiconductors
PT2001SWUG
PT2001 programming guide and instruction set
PT2001SWUG
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2019. All rights reserved.
User guide
Rev. 3.0 — 29 April 2019
57 / 153
jocr
Description:
Configures the jump to relative location on condition.
If the condition defined by the Cond operand is satisfied, the program counter (uPC) is
handled such as the next executed instruction is relative destination address.
The jump is relative to the instruction Code RAM location. The destination address is the
actual instruction Code RAM location added to the Dest operand value. This 5-bit value
is a two's complemented number. The MSB is the sign. So Dest operand value is in the
range of {–16, 15}. It is possible to supply a label for this field.
Assembler syntax:
jocr Dest Cond;
Operands:
•
Dest– Operand defines the 5-bit relative destination address in the range of {–16, 15}.
•
Cond– Operand defines the condition to be satisfied to enable the relative jump
Operand label
Operand description
_f0
Flag 0 low
_f1
Flag 1 low
_f2
Flag 2 low
_f3
Flag 3 low
_f4
Flag 4 low
_f5
Flag 5 low
_f6
Flag 6 low
_f7
Flag 7 low
_f8
Flag 8 low
_f9
Flag 9 low
_f10
Flag 10 low
_f11
Flag 11 low
_f12
Flag12 low
_f13
Flag 13 low
_f14
Flag 14 low
_f15
Flag 15 low
f0
Flag 0 high
f1
Flag 1 high
f2
Flag 2 high
f3
Flag 3 high
f4
Flag 4 high
f5
Flag 5 high
f6
Flag 6 high
f7
Flag 7 high