| Routines

07737: THE 'PASS-BY' SUBROUTINE

Used by the routine at DEF_FN. The routine at DATA continues here. On entry the A register will hold either the token 'DATA' or the token 'DEF FN' depending on the type of statement that is being passed by.
Input
A | 206 (DEF FN) or 228 (DATA)
PASS_BY | 07737 | LD B,A | Make the BC register pair hold a very high number.
| 07738 | CPDR | Look back along the statement for the token.
| 07740 | LD DE,512 | Now look along the line for the statement after (the 'D-1'th statement from the current position).
| 07743 | JP EACH_STMT