Prev: 60910 Up: Map Next: 61084
61024: BASIC Helper
Used by the routine at JumpTable.
Jump-table target JumpTable_BasicHelper: reload NSPPC from ParserState and continue the BASIC-list match.
BasicHelper 61024 LD HL,(23456) Reload NSPPC from ParserState; jump to MatchTokenInBasicList_AdvanceEntry if dirty.
61027 LD (23639),HL
61030 LD A,(23549)
61033 AND A
61034 JR NZ,MatchTokenInBasicList_AdvanceEntry
61036 JR BasicHelper_AdvanceEntry Jump to BasicHelper_AdvanceEntry.
This entry point is used by the routine at MatchTokenInBasicList.
BasicHelper_Scan 61038 LD HL,(23639) Compare the next BASIC-list word to the token at InputBuffer_TokenStart.
61041 LD DE,8
61044 ADD HL,DE
61045 PUSH HL
61046 LD DE,(23463)
61050 CALL CompareTokenToWord
61053 POP HL
61054 JR NC,MatchTokenInBasicList_Hit Jump to MatchTokenInBasicList_Hit if matched.
BasicHelper_NextWord 61056 INC HL Skip to the next space-separated word in this entry.
61057 LD A,(HL)
61058 CP 34
61060 JR Z,BasicHelper_AdvanceEntry
61062 CP 32
61064 JR NZ,BasicHelper_NextWord
61066 INC HL Compare that word to the token at InputBuffer_TokenStart.
61067 LD DE,(23463)
61071 CALL CompareTokenToWord
61074 JR NC,MatchTokenInBasicList_Hit
BasicHelper_AdvanceEntry 61076 CALL StepBasicListEntry Step to the next entry or report a miss.
61079 CP B
61080 JR C,BasicHelper_Scan
61082 JR MatchTokenInBasicList_Miss
Prev: 60910 Up: Map Next: 61084