mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-04-18 02:06:43 +00:00
add JNBE instruction (JA alias)
This commit is contained in:
parent
dd7560ef12
commit
40f268d8f2
@ -20,6 +20,11 @@ public class JaInstruction extends Instruction {
|
||||
this.cpu = cpu;
|
||||
}
|
||||
|
||||
public JaInstruction(String alias, CPU cpu) {
|
||||
super(alias, OPCODE);
|
||||
this.cpu = cpu;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Status execute(Target src, int srcIndex, Status status) {
|
||||
if (!status.isCarryFlag() && !status.isZeroFlag()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user