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