Prev: 62895 Up: Map Next: 62987
62959: Store all registers on the stack
Used by the routines at 45809 and 62178.
62959 EX (SP),HL Place HL onto stack in place of top entry (the address of the call to this routine is now in HL)
62960 PUSH DE Store registers AF, BC & DE...
62961 PUSH BC ...
62962 PUSH AF ...
62963 EX AF,AF' Store shadow registers too...
62964 EXX ...
62965 PUSH HL ...
62966 PUSH DE ...
62967 PUSH BC ...
62968 PUSH AF ...
62969 EX AF,AF' ...
62970 EXX ...
62971 PUSH IX Store IX
62973 PUSH IY Store IY
62975 PUSH HL Store HL (address of call to this routine)
62976 PUSH AF Store AF
62977 LD HL,23 Restore original value of HL (as switched with top of stack at beginning of this routine)...
62980 ADD HL,SP ...
62981 LD A,(HL) ...
62982 DEC HL ...
62983 LD L,(HL) ...
62984 LD H,A ...
62985 POP AF Restore AF
62986 RET Return
Prev: 62895 Up: Map Next: 62987