public RegisterFile(byte[] registers, StatusRegister statusRegister, uint programCounter, ushort stackPointer) { Registers = registers; StatusRegister = statusRegister; ProgramCounter = programCounter; StackPointer = stackPointer; }
public RegisterFile WithStatusRegister(StatusRegister statusRegister) { return(new RegisterFile(Registers, statusRegister, ProgramCounter, StackPointer)); }