Prev: 7795 Up: Map Next: 77B9
77A2: Inglish: Walk The Grammar
Walks one step of the grammar, including groups in brackets. Reached through the jump table at JumpTable, dispatched from 75D0.
InglishWalkTheGrammar 77A2 CALL Inglish_CountAnotherGrammarTry Call Inglish_CountAnotherGrammarTry to count another grammar try.
InglishWalkTheGrammar_Loop 77A5 CALL Inglish_ReadTheNextGrammarByte Call Inglish_ReadTheNextGrammarByte to read the next grammar byte.
77A8 CP $70 Jump back to InglishWalkTheGrammar if the grammar byte is 70.
77AA JR Z,InglishWalkTheGrammar
77AC CP $80 Jump to Inglish_KeepTheUnknownWord unless the grammar byte is 80.
77AE JR NZ,Inglish_KeepTheUnknownWord
77B0 BIT 4,E Call Inglish_AskWhat if bit 4 of the grammar flag is clear.
77B2 CALL Z,Inglish_AskWhat
77B5 RES 4,E Clear the flags so bit 4 is off.
77B7 JR InglishWalkTheGrammar_Loop Jump back to InglishWalkTheGrammar_Loop to run the grammar.
Prev: 7795 Up: Map Next: 77B9