
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
109 / 153
stab
Description:
Loads the address value in the address base register add_base.
The address base register is a 6-bit register containing the address base used in the
Data RAM Indexed Addressing Mode (XM).
The operand add_base can be identified with a univocal label. The compiler
automatically substitutes the 'define' label (if used) with the suitable address.
Assembler syntax:
stab Add_Base;
Operands:
•
add_base – Operand defines the 6-bit register containing the Address Base.
Table 97. stab 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
0
0
add_base
Source code example: