
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
25 / 153
and
Description:
Applies the AND-mask contained in the Ir register to the value contained in the op1
register. The result is placed in the op1 register. The initial data stored in the op1 register
is lost.
Operation:
(Source) + Immediate register → (Source)
Assembler syntax:
and op1;
Operands:
•
op1 – One of the registers listed in the operand
•
Ir – The ALU immediate register
Condition register:
•
MN – Mask result is 0000h
•
MM – Mask result is FFFFh
Table 32. and 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
0
1
1
0
0
1
op1
Source code example: