
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
78 / 153
ldirl
Description:
Add two ALU registers and place the result in one of the ALU registers
Loads the Value8 data in the 8-LSB of the immediate register (ir).
Assembler syntax:
ldirl Value8 RstH;
Operands:
•
Value8– Operand defines the 8-bit value to be loaded into the 8-MSB of the immediate
register
•
RstH–Operand (Boolean) defines if set to zero the high-byte (15:8) of ir register
Operand label
Operand description
_rst
No change on the ir[15:8]
rst
Set the Zero on the ir[15:8]
Table 66. ldirl instruction format
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0
0
1
1
1
RstH
Value8
1
0