420B GetUserRegisters¶
Stub MON 420B (272 decimal) · Mnemonic GRBLK · Group: Not grouped in manual
Available from: All programs (manual compatibility box)
Emulation source: src/handlers/mon_420B_GetUserRegisters.c
Description¶
SwitchUserBreak allows you to save the registers when you terminate an ND-500 program with the ESCAPE key. You can get the contents of the registers with GetUserRegisters.
Notes¶
- 39 registers are saved.
Parameters¶
| Name | Type | Direction | Description |
|---|---|---|---|
Buffer |
ARRAY | I/O | 154 bytes containing the registers in their number sequence. |
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 | Yes | Yes | Yes |
Examples¶
From the manual (OCR text, not corrected).
BYTES : Buffer(0:153)
...
Monitor_Call('GetUserRegister', Buffer(0))
INTEGER Buffer(77)
...
Monitor_Call('GetUserRegister', Buffer(1))
Buffer : ARRAY [0..4] OF RECORD...END;
...
GetUserRegister(Buffer);
01 Buffer.
02 array COMP OCCURS 77 TIMES.
...
MONITOR-CALL "GetUserRegister" USING Buffer.
Buffer : W BLOCK 50B
GetUserRegister : EQU 37B9 + 420B
...
CALLG GetUserRegister, 1, Buffer
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_420B_GetUserRegisters |
| Code lines | 5 (non-blank, non-comment lines in the file) |
Source¶
SINTRAN III Monitor Calls (ND-860228.2 EN).