![]() |
Routines |
| Prev: 781C | Up: Map | Next: 7850 |
|
Used by the routine at PARSE_NOUN.
E's bit 6 says the first, at offset 4, is still empty, and bit 7 the second, at offset 14. A third phrase is an error.
|
||||
| FILE_PHRASE | 782B | BIT 6,E | The first phrase still empty? It goes there | |
| 782D | JR NZ,FILE_FIRST_PHRASE | |||
| 782F | BIT 7,E | Nor the second: one phrase too many | ||
| 7831 | JR NZ,FILE_SECOND_PHRASE | |||
| 7833 | CALL ORDERS_ONLY | |||
| 7836 | XOR A | |||
| 7837 | RET | |||
|
This entry point is used by the routine at IT_PHRASE.
|
||||
| FILE_SECOND_PHRASE | 7838 | RES 7,E | The second, at offset 14 | |
| 783A | PUSH DE | |||
| 783B | LD DE,$000E | |||
|
This entry point is used by the routine at FILE_FIRST_PHRASE.
|
||||
| FILE_PHRASE_AT | 783E | PUSH BC | Copy the ten bytes of PHRASE into the frame at that offset | |
| 783F | PUSH IY | |||
| 7841 | POP HL | |||
| 7842 | ADD HL,DE | |||
| 7843 | EX DE,HL | |||
| 7844 | LD HL,PHRASE_PREPOSITIONS | |||
| 7847 | LD BC,$000A | |||
| 784A | LDIR | |||
| 784C | POP BC | |||
| 784D | POP DE | |||
| 784E | XOR A | |||
| 784F | RET | |||
| Prev: 781C | Up: Map | Next: 7850 |