![]() |
Routines |
| Prev: EE60 | Up: Map | Next: EEB9 |
|
Used by the routines at MatchTokenInBasicList and BasicHelper.
Advance NSPPC / ParserState to the next length-prefixed BASIC list entry and bump ParserState_WordIndex.
|
||||
| StepBasicListEntry | EE9C | LD HL,($5C57) | Skip the length prefix and advance NSPPC by that many bytes. | |
| EE9F | INC HL | |||
| EEA0 | INC HL | |||
| EEA1 | INC HL | |||
| EEA2 | LD E,(HL) | |||
| EEA3 | LD D,$00 | |||
| EEA5 | ADD HL,DE | |||
| EEA6 | INC HL | |||
| EEA7 | LD ($5C57),HL | Store the new NSPPC in ParserState as well. | ||
| EEAA | LD ($5BA0),HL | |||
| EEAD | LD A,($5BAD) | Bump the word index; leave the entry limit in B. | ||
| EEB0 | LD B,A | |||
| EEB1 | LD A,($5BA5) | |||
| EEB4 | INC A | |||
| EEB5 | LD ($5BA5),A | |||
| EEB8 | RET | Return. | ||
| Prev: EE60 | Up: Map | Next: EEB9 |