Skip to content

Commit

Permalink
Merge pull request #192 from kevinramharak/implement-SETcc-instructio…
Browse files Browse the repository at this point in the history
…ns#184

actually add the implemented instrutions to instruction set :)
  • Loading branch information
simon987 authored Jan 25, 2019
2 parents 75410cc + bf9cdc7 commit c50cc8c
Showing 1 changed file with 29 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,39 @@ public class DefaultInstructionSet implements InstructionSet {
add(new SarInstruction());
add(new IncInstruction());
add(new DecInstruction());

// 'abstract' instruction
add(new SetccInstruction());

// aliases
add(new SalInstruction());

// Setcc family
add(new SetaeInstruction());
add(new SetaInstruction());
add(new SetbeInstruction());
add(new SetbInstruction());
add(new SetcInstruction());
add(new SeteInstruction());
add(new SetgeInstruction());
add(new SetgInstruction());
add(new SetleInstruction());
add(new SetlInstruction());
add(new SetnaeInstruction());
add(new SetnaInstruction());
add(new SetnbeInstruction());
add(new SetnbInstruction());
add(new SetncInstruction());
add(new SetneInstruction());
add(new SetngeInstruction());
add(new SetngInstruction());
add(new SetnleInstruction());
add(new SetnlInstruction());
add(new SetnoInstruction());
add(new SetnsInstruction());
add(new SetnzInstruction());
add(new SetoInstruction());
add(new SetsInstruction());
add(new SetzInstruction());
}

Expand Down

0 comments on commit c50cc8c

Please sign in to comment.