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
131 / 153
stsrb
Description:
Sets individually the logic level value with the Logic operand of each selected bit SrbSel
of the status register (status_reg_uc0 (105h, 125h) and status_reg_uc1 (106h, 126h)).
Assembler syntax:
stsrb Logic SrbSel;
Operands:
•
Logic – Operand defines the logic level value
Operand label
Operand description
low
Low level
high
High level
•
SrbSel – Operand defines the status register bit to be selected
Operand label
Operand description
b0
Status register bit 0 (LSB)
b1
Status register bit 1
b2
Status register bit 2
b3
Status register bit 3
b4
Status register bit 4
b5
Status register bit 5
b6
Status register bit 6
b7
Status register bit 7
b8
Status register bit 8
b9
Status register bit 9
b10
Status register bit 10
b11
Status register bit 11
b12
Status register bit 12
b13
Status register bit 13
b14
Status register bit 14
b15
Status register bit 15 (MSB)
Table 119. stsrb instruction format
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0
0
1
1
0
1
1
1
0
0
0
Logic
SrbSel