diff --git a/source/assembler/assembler.d b/source/assembler/assembler.d index bcecd05..e908841 100644 --- a/source/assembler/assembler.d +++ b/source/assembler/assembler.d @@ -79,6 +79,8 @@ class Assembler { AddInstruction("addp", Opcode.ADDP, [Param.RegisterPair, Param.Register]); AddInstruction("subp", Opcode.SUBP, [Param.RegisterPair, Param.Register]); AddInstruction("diff", Opcode.DIFF, [Param.RegisterPair, Param.RegisterPair]); + AddInstruction("push", Opcode.PUSH, [Param.Register]); + AddInstruction("pop", Opcode.POP, [Param.Register]); AddInstruction("jz", Opcode.JZ, [Param.Addr]); AddInstruction("jzb", Opcode.JZB, [Param.Addr]); AddInstruction("rdbb", Opcode.RDBB, [Param.RegisterPair]);