Exemplo n.º 1
0
 public static byte IMP(Cpu cpu)
 {
     cpu.ImpliedAddress = true;
     return(0);
 }
Exemplo n.º 2
0
 public static byte IMM(Cpu cpu)
 {
     cpu.ImpliedAddress = false;
     cpu.Address        = cpu.ProgramCounter++;
     return(0);
 }
Exemplo n.º 3
0
 public static byte REL(Cpu cpu)
 {
     cpu.ImpliedAddress        = false;
     cpu.BranchRelativeAddress = (SByte)cpu.Bus.Read(cpu.ProgramCounter++);
     return(0);
 }