Prev: 55933 Up: Map Next: 56040
56006: Test For A Common Word
Used by the routine at SkipSpaces.
Classifies a vocabulary code, a numeral, a sentence stop or a comma for the command parser.
TestCommonWord 56006 CP 96 Jump ahead to TestComma_1 if the dictionary index is 96.
56008 JP Z,TestComma_1
56011 CALL TestDigit Jump to ParseATime if the character is a digit.
56014 JP NC,ParseATime
56017 LD B,176 Jump ahead to TestCommonWord_TestAdvanceThroughRecord if it is 46.
56019 CP 46
56021 JR Z,TestCommonWord_TestAdvanceThroughRecord
56023 LD B,160 Jump ahead to TestCommonWord_TestAdvanceThroughRecord if it is 44.
56025 CP 44
56027 JR Z,TestCommonWord_TestAdvanceThroughRecord
56029 CP 34 Return unless the character is a quotation mark (34).
56031 RET NZ
56032 LD B,144 Count 144.
TestCommonWord_TestAdvanceThroughRecord 56034 INC HL Advance through this record.
56035 LD A,B Read the count.
56036 LD BC,0 Clear BC (no time was given).
56039 RET Return.
View the equivalent code in;
Prev: 55933 Up: Map Next: 56040