435B ForceTrap¶
Stub MON 435B (285 decimal) · Mnemonic PRT · Group: Not grouped in manual
Available from: All programs (manual compatibility box)
Emulation source: src/handlers/mon_435B_ForceTrap.c
Description¶
Forces a programmed trap to occur in another ND-500 process. The trap handler in this process is started.
- The trapped process gets your process number through GetTrapReason. It is stored in the upper half of the error code. The lower half contains the reason code you specify as a parameter.
Parameters¶
| Name | Type | Direction | Description |
|---|---|---|---|
ProcessNumber |
INTEGER | In | Process number to be trapped. |
ReasonCode |
INTEGER | In | Reason code. Bit 31:16=process number, bit 15:0=magic number. |
Direction: In = the program supplies the value, Out = the call returns it, In/Out = both.
See also¶
Compatibility¶
| Machines | Users | Programs |
|---|---|---|
| ND-500 | All users | All programs |
The manual's compatibility box for this call, word for word.
Yes/no fields from the YAML extraction (not in the manual's words):
| ND-100 | ND-500 | User programs | RT programs | System programs |
|---|---|---|---|---|
| No | Yes | No | No | No |
Examples¶
From the manual (OCR text, not corrected).
ProcessNumber : W BLOCK 1
ReasonCode : W BLOCK 1
ForceTrap : EQU 37B9 + 435B
...
CALLG ForceTrap, 2, ProcessNumber, ReasonCode
ndmonlib implementation¶
Stub Registered MON_STATUS_NOT_IMPLEMENTED: the handler is a stub. mon_dispatch() in src/core/mon_dispatch.c reports the call as unimplemented without calling it.
| Handler | mon_435B_ForceTrap |
| Code lines | 7 (non-blank, non-comment lines in the file) |
Source¶
SINTRAN III Monitor Calls (ND-860228.2 EN), page 213.