Ejemplo n.º 1
0
 public byte ReadImmediateN()
 {
     return(Mmu.ReadByte((ushort)(Registers.PC.Value + 1)));
 }
Ejemplo n.º 2
0
 public ushort ReadImmediateNN()
 {
     return(Mmu.ReadWord((ushort)(Registers.PC.Value + 1)));
 }
Ejemplo n.º 3
0
        public void FetchInstruction()
        {
            var op = (ushort)((Mmu.ReadByte(Registers.PC.Value) << 8) | Mmu.ReadByte((ushort)(Registers.PC.Value + 1)));

            CurrentInstruction = new Instruction(op);
        }