diff --git a/Server/src/main/java/net/simon987/server/assembly/CPU.java b/Server/src/main/java/net/simon987/server/assembly/CPU.java index 6e1348d..fe0c771 100755 --- a/Server/src/main/java/net/simon987/server/assembly/CPU.java +++ b/Server/src/main/java/net/simon987/server/assembly/CPU.java @@ -65,32 +65,33 @@ public class CPU implements MongoSerializable { registerSet = new DefaultRegisterSet(); 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 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 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 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(); }