Prev: 55490 Up: Map Next: 55574
55546: Store all registers on the stack
Used by the routine at 54853.
55546 EX (SP),HL Place HL onto stack in place of top entry (the address of the call to this routine is now in HL)
55547 PUSH DE Store registers AF, BC & DE...
55548 PUSH BC ...
55549 PUSH AF ...
55550 EX AF,AF' Store shadow registers too...
55551 EXX ...
55552 PUSH HL ...
55553 PUSH DE ...
55554 PUSH BC ...
55555 PUSH AF ...
55556 EX AF,AF' ...
55557 EXX ...
55558 PUSH IX Store IX
55560 PUSH IY Store IY
55562 PUSH HL Store HL (address of call to this routine)
55563 PUSH AF Store AF
55564 LD HL,23 Restore original value of HL (as switched with top of stack at beginning of this routine)...
55567 ADD HL,SP ...
55568 LD A,(HL) ...
55569 DEC HL ...
55570 LD L,(HL) ...
55571 LD H,A ...
55572 POP AF Restore AF
55573 RET Return
Prev: 55490 Up: Map Next: 55574