Prev: 53955 Up: Map Next: 54079
54051: Store all registers on the stack
Used by the routines at 33952 and 53479.
54051 EX (SP),HL Place HL onto stack in place of top entry (the address of the call to this routine is now in HL)
54052 PUSH DE Store registers AF, BC & DE...
54053 PUSH BC ...
54054 PUSH AF ...
54055 EX AF,AF' Store shadow registers too...
54056 EXX ...
54057 PUSH HL ...
54058 PUSH DE ...
54059 PUSH BC ...
54060 PUSH AF ...
54061 EX AF,AF' ...
54062 EXX ...
54063 PUSH IX Store IX
54065 PUSH IY Store IY
54067 PUSH HL Store HL (address of call to this routine)
54068 PUSH AF Store AF
54069 LD HL,23 Restore original value of HL (as switched with top of stack at beginning of this routine)...
54072 ADD HL,SP ...
54073 LD A,(HL) ...
54074 DEC HL ...
54075 LD L,(HL) ...
54076 LD H,A ...
54077 POP AF Restore AF
54078 RET Return
Prev: 53955 Up: Map Next: 54079