
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
65 / 153
joslr
Description:
Configures the jump to relative location on condition.
If the condition defined by the StSel 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}.
Assembler syntax:
joslr Dest StSel;
Operands:
•
Dest – Operand defines the 5-bit relative destination address in the range of {–16, 15}
•
StSel – Operand defines the start condition to be satisfied to enable the jump far
Operand label
Operand description
none
No start latched
start1
Start 1 latched
start2
Start 2 latched
start12
Start 1,2 latched
start3
Start 3 latched
start13
Start 1,3 latched
start23
Start 2,3 latched
start123
Start 1,2,3 latched
start4
Start 4 latched
start14
Start 1,4 latched
start24
Start 2,4 latched
start124
Start 1,2,4 latched
start34
Start 3,4 latched
start134
Start 1,3,4 latched
start234
Start 2,3,4 latched
start1234
Start 1,2,3,4 latched
start5
Start 5 latched
start15
start 1,5 latched
start25
start 2,5 latched
start125
start 1,2,5 latched
start35
start 3,5 latched
start135
start 1,3,5 latched
start235
start 2,3,5 latched
start1235
start 1,2,3,5 latched