Пример #1
0
 public RegisterFile(byte[] registers, StatusRegister statusRegister, uint programCounter, ushort stackPointer)
 {
     Registers      = registers;
     StatusRegister = statusRegister;
     ProgramCounter = programCounter;
     StackPointer   = stackPointer;
 }
Пример #2
0
 public RegisterFile WithStatusRegister(StatusRegister statusRegister)
 {
     return(new RegisterFile(Registers, statusRegister, ProgramCounter, StackPointer));
 }