Example #1
0
 internal static MachineInstruction MakeSuba()
 {
     return(MachineInstruction.MakeRAdrXOrR1R2(
                MnemonicDef.SUBA, OpcodeDef.SubtractArithmeticRAdrX, OpcodeDef.SubtractArithmeticR1R2));
 }
Example #2
0
 internal static MachineInstruction MakeAddl()
 {
     return(MachineInstruction.MakeRAdrXOrR1R2(
                MnemonicDef.ADDL, OpcodeDef.AddLogicalRAdrX, OpcodeDef.AddLogicalR1R2));
 }
Example #3
0
 internal static MachineInstruction MakeJze()
 {
     return(MachineInstruction.MakeAdrX(MnemonicDef.JZE, OpcodeDef.JumpOnZeroAdrX));
 }
Example #4
0
 internal static MachineInstruction MakeAdda()
 {
     return(MachineInstruction.MakeRAdrXOrR1R2(
                MnemonicDef.ADDA, OpcodeDef.AddArithmeticRAdrX, OpcodeDef.AddArithmeticR1R2));
 }
Example #5
0
 internal static MachineInstruction MakeCpl()
 {
     return(MachineInstruction.MakeRAdrXOrR1R2(
                MnemonicDef.CPL, OpcodeDef.CompareLogicalRAdrX, OpcodeDef.CompareLogicalR1R2));
 }
Example #6
0
 internal static MachineInstruction MakeNop()
 {
     return(MachineInstruction.MakeNoOperand(MnemonicDef.NOP, OpcodeDef.NoOperation));
 }
Example #7
0
 internal static MachineInstruction MakeCall()
 {
     return(MachineInstruction.MakeAdrX(MnemonicDef.CALL, OpcodeDef.CallAdrX));
 }
Example #8
0
 internal static MachineInstruction MakeXor()
 {
     return(MachineInstruction.MakeRAdrXOrR1R2(
                MnemonicDef.XOR, OpcodeDef.XorRAdrX, OpcodeDef.XorR1R2));
 }
Example #9
0
 internal static MachineInstruction MakePush()
 {
     return(MachineInstruction.MakeAdrX(MnemonicDef.PUSH, OpcodeDef.PushAdrX));
 }
Example #10
0
 internal static MachineInstruction MakePop()
 {
     return(MachineInstruction.MakeR(MnemonicDef.POP, OpcodeDef.PopR));
 }
Example #11
0
 internal static MachineInstruction MakeJov()
 {
     return(MachineInstruction.MakeAdrX(MnemonicDef.JOV, OpcodeDef.JumpOnOverflowAdrX));
 }
Example #12
0
 internal static MachineInstruction MakeJpl()
 {
     return(MachineInstruction.MakeAdrX(MnemonicDef.JPL, OpcodeDef.JumpOnPlusAdrX));
 }
Example #13
0
 internal static MachineInstruction MakeJump()
 {
     return(MachineInstruction.MakeAdrX(MnemonicDef.JUMP, OpcodeDef.UnconditionalJumpAdrX));
 }
Example #14
0
 internal static MachineInstruction MakeSubl()
 {
     return(MachineInstruction.MakeRAdrXOrR1R2(
                MnemonicDef.SUBL, OpcodeDef.SubtractLogicalRAdrX, OpcodeDef.SubtractLogicalR1R2));
 }
Example #15
0
 internal static MachineInstruction MakeRet()
 {
     return(MachineInstruction.MakeNoOperand(MnemonicDef.RET, OpcodeDef.Ret));
 }
Example #16
0
 internal static MachineInstruction MakeAnd()
 {
     return(MachineInstruction.MakeRAdrXOrR1R2(
                MnemonicDef.AND, OpcodeDef.AndRAdrX, OpcodeDef.AndR1R2));
 }
Example #17
0
 internal static MachineInstruction MakeSvc()
 {
     return(MachineInstruction.MakeAdrX(MnemonicDef.SVC, OpcodeDef.SupervisorCallAdrX));
 }
Example #18
0
 internal static MachineInstruction MakeCpa()
 {
     return(MachineInstruction.MakeRAdrXOrR1R2(
                MnemonicDef.CPA, OpcodeDef.CompareArithmeticRAdrX, OpcodeDef.CompareArithmeticR1R2));
 }
Example #19
0
 internal static MachineInstruction MakeSt()
 {
     return(MachineInstruction.MakeRAdrX(MnemonicDef.ST, OpcodeDef.StoreRAdrX));
 }
Example #20
0
 internal static MachineInstruction MakeSra()
 {
     return(MachineInstruction.MakeRAdrX(MnemonicDef.SRA, OpcodeDef.ShiftRightArithmeticRAdrX));
 }
Example #21
0
 internal static MachineInstruction MakeLad()
 {
     return(MachineInstruction.MakeRAdrX(MnemonicDef.LAD, OpcodeDef.LoadAddressRAdrX));
 }
Example #22
0
 internal static MachineInstruction MakeSrl()
 {
     return(MachineInstruction.MakeRAdrX(MnemonicDef.SRL, OpcodeDef.ShiftRightLogicalRAdrX));
 }
Example #23
0
 internal static MachineInstruction MakeJmi()
 {
     return(MachineInstruction.MakeAdrX(MnemonicDef.JMI, OpcodeDef.JumpOnMinusAdrX));
 }