
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
81 / 153
load
Description:
Loads the data from the Data RAM at the address defined by the Dram operand to the
op1 register.
The operand Dram can be identified with a univocal label. The compiler automatically
substitutes the 'define' label (if used) with the suitable Data RAM address.
The Data RAM address is accessed according to the Boolean operand Ofs using the
Immediate addressing mode (IM), Indexed addressing mode (XM). In that case, address
base is added the address Dram. The address base is set using the stab instructions.
Assembler syntax:
load Dram op1 Ofs;
Operands:
•
Dram – Operand defines the 6-bit Data RAM address
•
op1 – One of the registers listed in the operand
•
Ofs – Operands set data RAM addressing mode
Operand label
Operand description
_ofs
Data RAM immediate addressing mode (IM)
ofs
Data RAM indexed addressing mode (XM)
Table 69. load instruction format
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
1
0
Dram
op1
Ofs
1
0