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