Prev: 1B6F Up: Map Next: 1B8A
1B76: THE 'STMT-RET' SUBROUTINE
Used by the routine at STMT_LOOP.
After the correct interpretation of a statement a return is made to this entry point.
Input
Output
STMT_RET 1B76 CALL BREAK_KEY The BREAK key is tested after every statement.
1B79 JR C,STMT_R_1 Jump forward unless it has been pressed.
Report L - BREAK into program.
1B7B RST $08 Call the error handling routine.
1B7C DEFB $14
Continue here as the BREAK key was not pressed.
STMT_R_1 1B7D BIT 7,(IY+$0A) Jump forward if there is not a 'jump' to be made (NSPPC is +FF).
1B81 JR NZ,STMT_NEXT
1B83 LD HL,($5C42) Fetch the 'new line' number (NEWPPC) and jump forward unless dealing with a further statement in the editing area.
1B86 BIT 7,H
1B88 JR Z,LINE_NEW
This routine continues into LINE_RUN.
Prev: 1B6F Up: Map Next: 1B8A