protected void SetupInstruction(BasicOpcode opcode) { var instruction = (ushort)((byte)opcode | (byte)Register.A << 4 | (byte)Register.B << 10); Processor.Memory[0] = instruction; }
private void SetOpCodeForMenemonic(string content) { content = content.ToUpper(); this.Opcode = MenemonicToOpCodeMapper[content]; }