InterruptException(string msg, CPU cp, CPU.INTERRUPT i, int c) : base(msg) { cpu = cp; intr = i; code = c; }
public static int ReadSP(CPU c) { return(c.sp); }
public static int ReadDX(CPU c) { return(c.dx); }
public static int ReadCX(CPU c) { return(c.cx); }
public static int ReadBX(CPU c) { return(c.bx); }
public static int ReadAX(CPU c) { return(c.ax); }