Sherlock: annotated disassembly

Routines

Prev: A709 Up: Map Next: A720
A711: Code $05: print the case statement at the next parameter
IX = the next parameter, a statement record of the case table (9965), printed by BF1C: 'MRS JONES KILLED TRICIA FENDER' in Lestrade's 'Well can you prove that ... yet, Holmes ?'.
Input
(message parameters) The next word: a case statement
Output
A 0
F Z
A711 PUSH IX Save IX on the stack - Code $05: the case statement at the next parameter (A66C) in IX
A713 CALL $A66C Call the routine "Code $01: print the next parameter as a word (and:..." (A66C)
A716 PUSH DE Save DE on the stack
A717 POP IX Restore IX from the stack
A719 CALL $BF1C Call the routine "Print a case statement: thing, relation, thing" (BF1C) - Print it (BF1C)
A71C POP IX Restore IX from the stack
A71E XOR A Set A to zero, which sets the zero flag for the caller
A71F RET Return to the caller
Prev: A709 Up: Map Next: A720