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
61 / 153
joidr
Description:
Configures the jump to a relative location on condition.
If the condition defined by the UcSel 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:
joidr Dest UcSel;
Operands:
•
Dest– Operand defines the 5-bit relative destination address in the range of {–16, 15}
•
UcSel– Operand defines the microcore identifier condition
Operand label
Operand description
uc0
The microcore 0 is the current microcore
uc1
The microcore 1 is the current microcore
Table 56. joidr instruction format
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0
0
1
0
1
1
1
1
0
1
UcSel
Dest