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
46 / 153
jcrf
Description:
Assembler syntax:
jcrf op1 CrSel Pol;
Configures the jump to absolute location on control register condition.
If the condition defined by the CrSel operand is satisfied according to the polarity Pol, the
program counter (uPC) is handled such as the next executed instruction is located into
the destination address contained in one of the jump registers.
The destination address defined by the op1 register is any of the absolute Code RAM
location.
Operands:
•
op1 – One of the registers listed in the operand
•
CrSel – Operand defines the control register condition (Ctrl_reg_uc0 (101h and 121h)
and Ctrl_reg_uc1 (102h and 122h) registers) that triggers the jump
Operand label
Operand description
Operand binary value
b0
Control register bit 0 (LSB)
0000
b1
Control register bit 1
0001
b2
Control register bit 2
0010
b3
Control register bit 3
0011
b4
Control register bit 4
0100
b5
Control register bit 5
0101
b6
Control register bit 6
0110
b7
Control register bit 7
0111
b8
Control register bit 8
1000
b9
Control register bit 9
1001
b10
Control register bit 10
1010
b11
Control register bit 11
1011
b12
Control register bit 12
1100
b13
Control register bit 13
1101
b14
Control register bit 14
1110
b15
Control register bit 15 (MSB)
1111
Pol – Operand defines the active polarity for the selected bit
Operand label
Operand description
Operand binary value
low
Active condition if the selected bit is '0'
0
high
Active condition if the selected bit is '1'
1