Prev: 27BD Up: Map Next: 28B2
28AB: THE 'FUNCTION SKIPOVER' SUBROUTINE
This subroutine is used by S_FN_SBRN and by STK_F_ARG to move HL along the DEF FN statement while leaving CH-ADD undisturbed, as it points along the FN statement.
Input
HL Address of the current character
Output
A Code of next non-control, non-space character
HL Address of that character
FN_SKPOVR 28AB INC HL Point to the next code in the statement.
28AC LD A,(HL) Copy the code to A.
28AD CP $21 Jump back to skip over it if it is a control code or a space.
28AF JR C,FN_SKPOVR
28B1 RET Finished.
Prev: 27BD Up: Map Next: 28B2