public Branch execute(Processor cpu) { cpu.eip += blockLength; int tmpEip = cpu.eip + jmp; cpu.cs.checkAddress(tmpEip); cpu.eip = tmpEip; return Branch.T1; }
public Branch execute(Processor cpu) { if (cpu.r_cx.get16() == 0) { int target = (cpu.eip + jmp + blockLength) & 0xffff; cpu.cs.checkAddress(target); cpu.eip = target; return Branch.T1; } else { cpu.eip += blockLength; return Branch.T2; } }
public Branch execute(Processor cpu) { if (!cpu.of()) { int tmpEip = cpu.eip + jmp + blockLength; cpu.cs.checkAddress(tmpEip); cpu.eip = tmpEip; return Branch.T1; } else { cpu.eip += blockLength; return Branch.T2; } }