![]() |
Routines |
| Prev: DA7D | Up: Map | Next: DAE8 |
|
Used by the routine at SkipSpaces.
Classifies a vocabulary code, a numeral, a sentence stop or a comma for the command parser.
|
||||
| TestCommonWord | DAC6 | CP $60 | Jump ahead to TestComma_1 if the dictionary index is 60. | |
| DAC8 | JP Z,TestComma_1 | |||
| DACB | CALL TestDigit | Jump to ParseATime if the character is a digit. | ||
| DACE | JP NC,ParseATime | |||
| DAD1 | LD B,$B0 | Jump ahead to TestCommonWord_TestAdvanceThroughRecord if it is 2E. | ||
| DAD3 | CP $2E | |||
| DAD5 | JR Z,TestCommonWord_TestAdvanceThroughRecord | |||
| DAD7 | LD B,$A0 | Jump ahead to TestCommonWord_TestAdvanceThroughRecord if it is 2C. | ||
| DAD9 | CP $2C | |||
| DADB | JR Z,TestCommonWord_TestAdvanceThroughRecord | |||
| DADD | CP $22 | Return unless the character is a quotation mark (22). | ||
| DADF | RET NZ | |||
| DAE0 | LD B,$90 | Count 90. | ||
| TestCommonWord_TestAdvanceThroughRecord | DAE2 | INC HL | Advance through this record. | |
| DAE3 | LD A,B | Read the count. | ||
| DAE4 | LD BC,$0000 | Clear BC (no time was given). | ||
| DAE7 | RET | Return. | ||
|
View the equivalent code in;
|
||||
| Prev: DA7D | Up: Map | Next: DAE8 |