
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
19 / 153
aaa-028742
0
lnstruction format:
Condition Register:
Operands:
Description:
Assembler syntax: addi op1 lmm res:
Operation: (Source) + lmmediate = > (Destination): Carry = > C
addi
addi
ALU Register Addition with
lmmediate Value to ALU Register
op1 - One of the registers listed in the operand subset AluReg
lmm - The Imm 4-bit immediate data register
res - One of the registers listed in the operand subset AluReg
Sum the value contained in the op1 register with the immediate value lmm and places the result in the res register.
detail of
condition
register
• C - Carry over bit
• RZ - Addition or subtraction result is zero
• RS - Addition or subtraction result is negative
• UU - Unsigned underflow
• UO - Unsigned overflow
• SU - Signed underflow
• SO - Signed overflow
0
0
1
1
0
res
lmm
op1
15
14
13
12
11
10
8
1
0
2
4
5
6
7
9
3
description of
operands
detailed
description of
operation
symbolic
description of
operation
mnemonic
syntax of the
instruction and
operands
simplified instruction
description
description of
intruction binary
format
Figure 5. Description of instruction page
3.2.1 Mnemonic index
This subsection contains an entry for each assembler mnemonic, in alphabetic order.
Table 29. Instruction index
Instruction name Instruction description
Add two ALU registers and place the result in one of the ALU registers
Add an ALU register to the value in the immediate register and place the
result in an ALU register
AND-mask on ALU register with the immediate register to ALU register
Enable high-side and low-side bias
Change V
DS
and V
SRC
threshold
Copy source register data in destination register