![]() |
Routines |
| Prev: 43066 | Up: Map | Next: 43089 |
|
Used by the routines at GetCommonWordAndProcess and ProcessTextTokenStream.
Turns a vocabulary code into the dictionary address of that word.
|
||||||||||
| GetCommonWord | 43072 | SUB 96 | Use the common words at Table_CommonWords. | |||||||
| 43074 | LD E,A | |||||||||
| 43075 | LD D,0 | |||||||||
| 43077 | LD HL,26551 | |||||||||
| 43080 | ADD HL,DE | Point at word DE of the common-word table at Table_CommonWords. | ||||||||
| 43081 | ADD HL,DE | |||||||||
| 43082 | LD E,(HL) | Fetch the LSB of the dictionary address and store it in E. | ||||||||
| 43083 | INC HL | Fetch the MSB of the dictionary address, add 80 and store it in D. | ||||||||
| 43084 | LD A,(HL) | |||||||||
| 43085 | ADD A,80 | |||||||||
| 43087 | LD D,A | |||||||||
| 43088 | RET | Return. | ||||||||
|
View the equivalent code in;
|
||||||||||
| Prev: 43066 | Up: Map | Next: 43089 |