public override void Set(Processor proc, long value) { proc.registerFile[name] = value; }
// set X Y sets register X to the value of Y. public override long Execute(Processor proc) { x.Set(proc, y.Get(proc)); return(1); }
public override void Set(Processor proc, long value) { throw new NotImplementedException(); }
public override long Get(Processor proc) { return(value); }
public abstract void Set(Processor proc, long value);
public abstract long Get(Processor proc);
public abstract long Execute(Processor proc);