2 ; void __fastcall__ _sys (struct regs* r);
4 ; Ullrich von Bassewitz, 16.12.1998
13 stx ptr1+1 ; Save the pointer to r
15 ; Fetch the PC and store it into the jump vector
24 ; Get the flags, mask unnecessary bits and push them. Push a
34 ; Get and assign X and Y
43 ; Set a and the flags, call the machine code routine
49 ; Back from the routine. Save the flags and a
54 ; Put the register values into the regs structure