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
87 / 153
reqi
Description:
Requests a software interrupt
At the reqi instruction execution, the Code RAM address currently executed is stored in
the interrupt return register corresponding to the 10 LSB of the uc0_irq_status register
(10Fh, 12Fh) and for uc1_irq_status (110h, 130h).
By default, the return address of an interrupt is the line where the code was interrupted.
In the case of a software interrupt, the return address is the address where the code was
inter 1.
A software interrupt must not be interrupted.
Assembler syntax:
reqi id;
Operands:
•
Id – Operand defines the 2-bit software interrupt request identifier.
Table 75. reqi 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
1
1
0
0
0
1
0
Id