Skip to content

400B ErrorReturn

Stub   MON 400B (256 decimal) · Mnemonic MACROE · Group: Monitor Calls for Error Handling (manual section 2.8)

Available from: All programs (manual compatibility box)

Emulation source: src/handlers/mon_400B_ErrorReturn.c

Description

Terminates the program and sets an error code. The error code can be tested by the commands IF-ERROR-MACRO-STOP and IF-ERROR-FULL-STOP commands in the ND-500 Monitor. See the manual ND Linker User Guide and Reference Manual (ND-860289) for details about macros.

Parameters

None.

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).

Monitor_Call('ErrorReturn')
Monitor_Call('ErrorReturn')
ErrorReturn;
MONITOR-CALL "ErrorReturn".
ErrorReturn : EQU 37B9 + 400B
...
CALLG ErrorReturn, 0

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_400B_ErrorReturn
Code lines 5 (non-blank, non-comment lines in the file)

Source

SINTRAN III Monitor Calls (ND-860228.2 EN), page 173.