예제 #1
0
 public Value(SaveLocation loc, Cpu cpu)
 {
     this.Buffer = null;
     this.Index = 0;
     this.SaveLoc = loc;
     this.Literal = 0;
     this.MyCpu = cpu;
 }
예제 #2
0
 public Value(ushort lit)
 {
     this.Buffer = null;
     this.Index = 0;
     this.SaveLoc = SaveLocation.Literal;
     this.Literal = lit;
     this.MyCpu = null;
 }
예제 #3
0
 public Value(ushort[] buffer, ushort index)
 {
     this.Buffer = buffer;
     this.Index = index;
     this.SaveLoc = SaveLocation.Memory;
     this.Literal = 0;
     this.MyCpu = null;
 }