
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
8 / 153
Jump far on feedback condition
Jump relative on feedback condition
Unconditional jump far
Unconditional jump relative
Jump far on condition
Jump relative on condition
Jump far on microcore condition
Jump relative on microcore condition
Jump far on start condition
Jump relative on start condition
Jump far on status register bit condition
Jump relative on status register bit condition
Jump far to subroutine
Jump relative to subroutine
2.8 DataRAM access instructions
The Data RAM access instructions are used to load and store data memory. These
instructions also set the access mode which can be set to either 'Immediate' (_ofs
parameter to be used) mode or 'Indexed' mode using the
instruction. 'Indexed' mode
is when an offset from the Base Address register is applied to the access's address
(ofs parameter to be used). It is possible to modify the value of add_base with the
instruction.
aaa-028740
Register
add_base
DATARAM
INDEXED VARIABLE
ofs
Register
Figure 3. Indexed addressing mode
The three basic operations are:
• Copy
. This instruction copies the value of one of the internal registers to another. The
value of addr_base is neglected.
• Load
. This instruction copies the value of a Data RAM element into one of the internal
registers. A boolean parameter specifies if addr_base must be considered while
addressing the Data RAM only.
• Store
. This instruction copies the value of one of the internal registers to a Data
RAM element. A boolean parameter specifies if addr_base must be considered while
addressing the Data RAM only.