Prev: 00056 Up: Map Next: 00095
00083: THE 'ERROR-2' ROUTINE
Used by the routine at ERROR_1.
The return address to the interpreter points to the 'DEFB' that signifies which error has occurred. This 'DEFB' is fetched and transferred to ERR-NR.
The machine stack is cleared before jumping forward to clear the calculator stack.
ERROR_2 00083 POP HL The address on the stack points to the error code.
00084 LD L,(HL)
This entry point is used by the routine at TEST_ROOM.
ERROR_3 00085 LD (IY+0),L It is transferred to ERR-NR.
00088 LD SP,(23613) The machine stack is cleared by setting the stack pointer to ERR-SP before exiting via SET_STK.
00092 JP SET_STK
Prev: 00056 Up: Map Next: 00095