Sherlock: annotated disassembly

Routines

Prev: A92F Up: Map Next: A95B
A94D: Spell dictionary record HL into the buffer at $5C42
Addresses named in the title: $5C42.
Its letters (A95B), then its suffix (A92F).
Input
HL A dictionary record
Output
The spelling at $5C42
HL, IX Kept
A94D PUSH IX Save IX on the stack - Spell dictionary record HL: the front part first (A95B), then a suffix if there is one (A92F)
A94F PUSH HL Save HL on the stack
A950 CALL $A95B Call the routine "Unpack a dictionary record's letters (front-coded)" (A95B)
A953 EX (SP),HL Swap HL with the word on top of the stack
A954 CALL $A92F Call the routine "Add a dictionary word's suffix to the spelling at IX" (A92F)
A957 POP HL Restore HL from the stack
A958 POP IX Restore IX from the stack
A95A RET Return to the caller
Prev: A92F Up: Map Next: A95B