Prev: C181 Up: Map Next: C1B3
C1A6: Skip To Break
Used by the routine at ParseWord.
Advances HL to the next space, comma or ENTER.
Input
HL Line pointer
Output
A The break character
HL Stepped past that character
SkipToBreak C1A6 LD A,(HL) A space ends the skip.
C1A7 INC HL
C1A8 CP $20
C1AA RET Z
C1AB CP $2C A comma ends the skip.
C1AD RET Z
C1AE CP $0D Jump back to SkipToBreak unless the character is ENTER.
C1B0 JR NZ,SkipToBreak
C1B2 RET Return.
Prev: C181 Up: Map Next: C1B3