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