Beispiel #1
0
 public byte ReadImmediateN()
 {
     return(Mmu.ReadByte((ushort)(Registers.PC.Value + 1)));
 }
Beispiel #2
0
        public void FetchInstruction()
        {
            var op = (ushort)((Mmu.ReadByte(Registers.PC.Value) << 8) | Mmu.ReadByte((ushort)(Registers.PC.Value + 1)));

            CurrentInstruction = new Instruction(op);
        }