![]() |
Routines |
Prev: 43066 | Up: Map | Next: 43089 |
|
||||||||||
GetCommonWord | 43072 | SUB 96 | Subtract 96 from the letter byte - anything higher than 96 signifies the letter is a "common word". | |||||||
43074 | LD E,A | Load the letter reference into DE. | ||||||||
43075 | LD D,0 | |||||||||
43077 | LD HL,26551 | HL=Table_CommonWords+(DE*2). | ||||||||
43080 | ADD HL,DE | |||||||||
43081 | ADD HL,DE | |||||||||
43082 | LD E,(HL) | Fetch the LSB of the word reference and store it in E. | ||||||||
43083 | INC HL | Fetch the MSB of the word reference, add 80 and store it in D. | ||||||||
43084 | LD A,(HL) | |||||||||
43085 | ADD A,80 | |||||||||
43087 | LD D,A | |||||||||
43088 | RET | Return. |
Prev: 43066 | Up: Map | Next: 43089 |