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
105 / 153
slab
Description:
Selects the register containing the address (add_base) used in the data RAM Indexed
Addressing Mode (XM).
The reset value of SelBase is reg.
Assembler syntax:
slab SelBase;
Operands:
•
SelBase – Operand defines the register to be used to determine the data RAM address
base
Operand label
Operand description
reg
Use the dedicated address base add_base register. In this case the address
base is defined with the stab instruction.
ir
Use the ALU ir register as address base
Table 93. slab 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
0
0
0
0
0
1
0
1
SelBase
Source code example: