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