Instruction Syntax
Bound Program Access |
Built-in number for TESTINTR is 359.
TESTINTR (
) : An unsigned binary(4) with the set of pending thread interrupts is
returned
|
Description:
The set of pending interrupts is returned for the current thread. The format of the returned pending interrupts is defined as follows:
Offset |
|
Dec |
Hex |
Field Name |
Data Type and Length |
0 |
0 |
Pending interrupts |
UBin(4) |
0 |
0 |
|
|
0 |
0 |
|
|
0 |
0 |
|
|
0 |
0 |
|
|
0 |
0 |
|
|
0 |
0 |
- Modify resource management attributes
|
|
0 |
0 |
- Modify process or thread attributes
|
|
0 |
0 |
- Terminate machine processing
|
|
0 |
0 |
- Terminate process or thread
|
|
0 |
0 |
|
|
0 |
0 |
|
|
0 |
0 |
- Thread operations between threads
|
|
0 |
0 |
- Cancel long running MI instruction
|
|
0 |
0 |
|
|
0 |
0 |
- Deliver queue space message
|
|
0 |
0 |
|
|
0 |
0 |
|
|
4
|
4
|
--- End ---
|
|
|
Note: Other alternatives for obtaining the pending interrupt information are option hex 20 or option hex 24 on the Materialize Process Attributes (MATPRATR) instruction.
Exceptions
- 06 Addressing
- 0601 Space Addressing Violation
- 0602 Boundary Alignment
- 0603 Range
- 08 Argument/Parameter
- 0801 Parameter Reference Violation
- 0A Authorization
- 0A01 Unauthorized for Operation
- 10 Damage Encountered
- 1004 System Object Damage State
- 1005 Authority Verification Terminated Due to Damaged Object
- 1044 Partial System Object Damage
- 1C Machine-Dependent
- 1C03 Machine Storage Limit Exceeded
- 20 Machine Support
- 2002 Machine Check
- 2003 Function Check
- 22 Object Access
- 2202 Object Destroyed
- 2203 Object Suspended
- 2207 Authority Verification Terminated Due to Destroyed Object
- 2208 Object Compressed
- 220B Object Not Available
- 24 Pointer Specification
- 2401 Pointer Does Not Exist
- 2402 Pointer Type Invalid
- 36 Space Management
- 3601 Space Extension/Truncation