alphabetize instructions

This commit is contained in:
Kevin Ramharak 2019-06-01 14:34:48 +02:00
parent edb90ac412
commit 4757db5623

View File

@ -65,32 +65,33 @@ public class CPU implements MongoSerializable {
registerSet = new DefaultRegisterSet(); registerSet = new DefaultRegisterSet();
codeSectionOffset = GameServer.INSTANCE.getConfig().getInt("org_offset"); codeSectionOffset = GameServer.INSTANCE.getConfig().getInt("org_offset");
instructionSet.add(new JmpInstruction(this));
instructionSet.add(new JnzInstruction(this));
instructionSet.add(new JzInstruction(this));
instructionSet.add(new JgInstruction(this));
instructionSet.add(new JgeInstruction(this));
instructionSet.add(new JleInstruction(this));
instructionSet.add(new JlInstruction(this));
instructionSet.add(new PushInstruction(this));
instructionSet.add(new PopInstruction(this));
instructionSet.add(new CallInstruction(this)); instructionSet.add(new CallInstruction(this));
instructionSet.add(new RetInstruction(this));
instructionSet.add(new MulInstruction(this));
instructionSet.add(new DivInstruction(this)); instructionSet.add(new DivInstruction(this));
instructionSet.add(new JnsInstruction(this));
instructionSet.add(new JsInstruction(this));
instructionSet.add(new HwiInstruction(this)); instructionSet.add(new HwiInstruction(this));
instructionSet.add(new HwqInstruction(this)); instructionSet.add(new HwqInstruction(this));
instructionSet.add(new XchgInstruction(this));
instructionSet.add(new JcInstruction(this));
instructionSet.add(new JncInstruction(this));
instructionSet.add(new JnoInstruction(this));
instructionSet.add(new JoInstruction(this));
instructionSet.add(new PushfInstruction(this));
instructionSet.add(new PopfInstruction(this));
instructionSet.add(new JnaInstruction(this));
instructionSet.add(new JaInstruction(this)); instructionSet.add(new JaInstruction(this));
instructionSet.add(new JcInstruction(this));
instructionSet.add(new JgeInstruction(this));
instructionSet.add(new JgInstruction(this));
instructionSet.add(new JleInstruction(this));
instructionSet.add(new JlInstruction(this));
instructionSet.add(new JmpInstruction(this));
instructionSet.add(new JnaInstruction(this));
instructionSet.add(new JncInstruction(this));
instructionSet.add(new JneInstruction(this));
instructionSet.add(new JnoInstruction(this));
instructionSet.add(new JnsInstruction(this));
instructionSet.add(new JnzInstruction(this));
instructionSet.add(new JoInstruction(this));
instructionSet.add(new JsInstruction(this));
instructionSet.add(new JzInstruction(this));
instructionSet.add(new MulInstruction(this));
instructionSet.add(new PopfInstruction(this));
instructionSet.add(new PopInstruction(this));
instructionSet.add(new PushfInstruction(this));
instructionSet.add(new PushInstruction(this));
instructionSet.add(new RetInstruction(this));
instructionSet.add(new XchgInstruction(this));
status = new Status(); status = new Status();
} }