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
120 / 153
stf
Description:
Sets the logic level value with the Boolean Logic of the selected flag. The flag is selected
according the FlgSel operand.
Assembler syntax:
stf Logic FlgSel;
Operands:
•
Logic – Operand defines the logic level value
Operand label
Operand description
low
Low level
high
High level
•
FlgSel – Operand defines the flag bit to be selected
Operand label
Operand description
b0
Flag bit 0
b1
Flag bit 1
b2
Flag bit 2
b3
Flag bit 3
b4
Flag bit 4
b5
Flag bit 5
b6
Flag bit 6
b7
Flag bit 7
b8
Flag bit 8
b9
Flag bit 9
b10
Flag bit 10
b11
Flag bit 11
b12
Flag bit 12
b13
Flag bit 13
b14
Flag bit 14
b15
Flag bit 15
Table 106. stf instruction format
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0
0
1
1
0
1
0
0
1
1
1
Logic
FlgSel