Prev: 49537 Up: Map Next: 49587
49574: 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 49574 LD A,(HL) A space ends the skip.
49575 INC HL
49576 CP 32
49578 RET Z
49579 CP 44 A comma ends the skip.
49581 RET Z
49582 CP 13 Jump back to SkipToBreak unless the character is ENTER.
49584 JR NZ,SkipToBreak
49586 RET Return.
Prev: 49537 Up: Map Next: 49587