alphabetize current instructions

This commit is contained in:
Kevin Ramharak 2019-05-31 21:06:43 +02:00
parent f37ae36262
commit abdfd5781b

View File

@ -103,32 +103,32 @@ public class CPU implements MongoSerializable {
registerSet = new DefaultRegisterSet();
codeSectionOffset = config.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 RetInstruction(this));
instructionSet.add(new MulInstruction(this));
instructionSet.add(new DivInstruction(this));
instructionSet.add(new JnsInstruction(this));
instructionSet.add(new JsInstruction(this));
instructionSet.add(new HwiInstruction(this));
instructionSet.add(new HwqInstruction(this));
instructionSet.add(new XchgInstruction(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 JnoInstruction(this));
instructionSet.add(new JnsInstruction(this));
instructionSet.add(new JnzInstruction(this));
instructionSet.add(new JoInstruction(this));
instructionSet.add(new PushfInstruction(this));
instructionSet.add(new JsInstruction(this));
instructionSet.add(new JzInstruction(this));
instructionSet.add(new MulInstruction(this));
instructionSet.add(new PopfInstruction(this));
instructionSet.add(new JnaInstruction(this));
instructionSet.add(new JaInstruction(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();
memory = new Memory(config.getInt("memory_size"));