Sherlock: annotated disassembly

Routines

Prev: CE18 Up: Map Next: CE8F
CE83: Point IX and HL at the current plan instruction
IY = the actor's record, HL = IX = the instruction just run (9FD9), A = its first byte.
Output
IY The actor's record
HL, IX The current instruction
A Its first byte
CE83 LD IY,($9FDB) Read the current actor's (9FDB) into IY - IY = the current plan's actor record (9FDB); HL = IX = the current plan instruction (9FD9)
CE87 LD HL,($9FD9) Read the plan instruction (9FD9) into HL
CE8A PUSH HL Save HL on the stack
CE8B POP IX Restore IX from the stack
CE8D LD A,(HL) Read the byte HL points at into A - A = its first byte
CE8E RET Return to the caller
Prev: CE18 Up: Map Next: CE8F