Beispiel #1
0
 InterruptException(string msg, CPU cp, CPU.INTERRUPT i, int c) : base(msg)
 {
     cpu  = cp;
     intr = i;
     code = c;
 }
Beispiel #2
0
 public static int ReadSP(CPU c)
 {
     return(c.sp);
 }
Beispiel #3
0
 public static int ReadDX(CPU c)
 {
     return(c.dx);
 }
Beispiel #4
0
 public static int ReadCX(CPU c)
 {
     return(c.cx);
 }
Beispiel #5
0
 public static int ReadBX(CPU c)
 {
     return(c.bx);
 }
Beispiel #6
0
 public static int ReadAX(CPU c)
 {
     return(c.ax);
 }