Inheritance: IInstruction
Example #1
0
 /// <summary>
 /// Sets the instruction.
 /// </summary>
 /// <param name="instruction">The instruction.</param>
 /// <param name="statusRegister">if set to <c>true</c> [update status].</param>
 /// <param name="condition">The condition.</param>
 /// <param name="result">The result.</param>
 /// <param name="operand1">The operand1.</param>
 /// <param name="operand2">The operand2.</param>
 /// <param name="operand3">The operand3.</param>
 public void SetInstruction(BaseInstruction instruction, StatusRegister statusRegister, Operand result, Operand operand1, Operand operand2, Operand operand3)
 {
     Node.SetInstruction(instruction, statusRegister, result, operand1, operand2, operand3);
 }
Example #2
0
 /// <summary>
 /// Sets the instruction.
 /// </summary>
 /// <param name="instruction">The instruction.</param>
 /// <param name="condition">The condition.</param>
 /// <param name="result">The result.</param>
 /// <param name="operand1">The operand1.</param>
 public void SetInstruction(BaseInstruction instruction, ConditionCode condition, Operand result, Operand operand1)
 {
     Node.SetInstruction(instruction, condition, result, operand1);
 }
 /// <summary>
 /// Determines whether [is instruction move] [the specified instruction].
 /// </summary>
 /// <param name="instruction">The instruction.</param>
 /// <returns></returns>
 public override bool IsInstructionMove(BaseInstruction instruction)
 {
     return (instruction == X86.Mov || instruction == X86.Movsd || instruction == X86.Movss);
 }
Example #4
0
 /// <summary>
 /// Sets the instruction.
 /// </summary>
 /// <param name="instruction">The instruction.</param>
 /// <param name="operandCount">The operand count.</param>
 /// <param name="resultCount">The result count.</param>
 public void SetInstruction(BaseInstruction instruction, int operandCount, byte resultCount)
 {
     Node.SetInstruction(instruction, operandCount, resultCount);
 }
Example #5
0
 /// <summary>
 /// Sets the instruction.
 /// </summary>
 /// <param name="instruction">The instruction.</param>
 /// <param name="result">The result.</param>
 public void SetInstruction(BaseInstruction instruction, Operand result)
 {
     Node.SetInstruction(instruction, result);
 }
Example #6
0
 /// <summary>
 /// Appends the instruction.
 /// </summary>
 /// <param name="instruction">The instruction.</param>
 /// <param name="updateStatus">if set to <c>true</c> [update status].</param>
 /// <param name="result">The result.</param>
 /// <param name="operand1">The operand1.</param>
 /// <param name="operand2">The operand2.</param>
 public void AppendInstruction(BaseInstruction instruction, bool updateStatus, Operand result, Operand operand1, Operand operand2)
 {
     AppendInstruction();
     Node.SetInstruction(instruction, updateStatus, result, operand1, operand2);
 }
Example #7
0
 /// <summary>
 /// Appends the instruction.
 /// </summary>
 /// <param name="instruction">The instruction.</param>
 /// <param name="result">The result.</param>
 /// <param name="result2">The result2.</param>
 public void AppendInstruction2(BaseInstruction instruction, Operand result, Operand result2)
 {
     AppendInstruction();
     Node.SetInstruction2(instruction, result, result2);
 }
Example #8
0
 /// <summary>
 /// Appends the instruction.
 /// </summary>
 /// <param name="instruction">The instruction.</param>
 /// <param name="result">The result.</param>
 /// <param name="operand1">The operand1.</param>
 /// <param name="operand2">The operand2.</param>
 /// <param name="operand3">The operand3.</param>
 public void AppendInstruction(BaseInstruction instruction, Operand result, Operand operand1, Operand operand2, Operand operand3)
 {
     AppendInstruction();
     Node.SetInstruction(instruction, result, operand1, operand2, operand3);
 }
Example #9
0
 /// <summary>
 /// Replaces the instruction only.
 /// </summary>
 /// <param name="instruction">The instruction.</param>
 public void ReplaceInstruction(BaseInstruction instruction)
 {
     Instruction = instruction;
 }
Example #10
0
 /// <summary>
 /// Appends the instruction.
 /// </summary>
 /// <param name="instruction">The instruction.</param>
 /// <param name="condition">The condition.</param>
 /// <param name="updateStatus">if set to <c>true</c> [update status].</param>
 /// <param name="result">The result.</param>
 /// <param name="operand1">The operand1.</param>
 public void AppendInstruction(BaseInstruction instruction, ConditionCode condition, bool updateStatus, Operand result, Operand operand1)
 {
     AppendInstruction();
     Node.SetInstruction(instruction, condition, updateStatus, result, operand1);
 }
Example #11
0
 /// <summary>
 /// Appends the instruction.
 /// </summary>
 /// <param name="instruction">The instruction.</param>
 /// <param name="condition">The condition.</param>
 /// <param name="result">The result.</param>
 /// <param name="operand1">The operand1.</param>
 /// <param name="operand2">The operand2.</param>
 public void AppendInstruction(BaseInstruction instruction, ConditionCode condition, Operand result, Operand operand1, Operand operand2)
 {
     AppendInstruction();
     Node.SetInstruction(instruction, condition, result, operand1, operand2);
 }
Example #12
0
 /// <summary>
 /// Appends the instruction.
 /// </summary>
 /// <param name="instruction">The instruction.</param>
 /// <param name="result">The result.</param>
 /// <param name="operand1">The operand1.</param>
 /// <param name="operands">The operands.</param>
 public void AppendInstruction(BaseInstruction instruction, Operand result, Operand operand1, List <Operand> operands)
 {
     AppendInstruction();
     Node.SetInstruction(instruction, result, operand1, operands);
 }
Example #13
0
 /// <summary>
 /// Appends the instruction.
 /// </summary>
 /// <param name="instruction">The instruction.</param>
 /// <param name="statusRegister">if set to <c>true</c> [update status].</param>
 /// <param name="result">The result.</param>
 /// <param name="operand1">The operand1.</param>
 /// <param name="operand2">The operand2.</param>
 public void AppendInstruction(BaseInstruction instruction, StatusRegister statusRegister, Operand result, Operand operand1, Operand operand2)
 {
     AppendInstruction();
     Node.SetInstruction(instruction, statusRegister, result, operand1, operand2);
 }
Example #14
0
 /// <summary>
 /// Appends the instruction.
 /// </summary>
 /// <param name="instruction">The instruction.</param>
 /// <param name="result">The result.</param>
 /// <param name="result2">The result2.</param>
 /// <param name="operand1">The operand1.</param>
 public void AppendInstruction2(BaseInstruction instruction, Operand result, Operand result2, Operand operand1)
 {
     AppendInstruction();
     Node.SetInstruction2(instruction, result, result2, operand1);
 }
Example #15
0
 /// <summary>
 /// Appends the instruction.
 /// </summary>
 /// <param name="instruction">The instruction.</param>
 /// <param name="block1">The block1.</param>
 /// <param name="block2">The block2.</param>
 public void AppendInstruction(BaseInstruction instruction, BasicBlock block1, BasicBlock block2)
 {
     AppendInstruction();
     Node.SetInstruction(instruction, block1, block2);
 }
Example #16
0
 /// <summary>
 /// Sets the instruction.
 /// </summary>
 /// <param name="instruction">The instruction.</param>
 public void SetInstruction(BaseInstruction instruction)
 {
     Node.SetInstruction(instruction);
 }
Example #17
0
 /// <summary>
 /// Appends the instruction.
 /// </summary>
 /// <param name="instruction">The instruction.</param>
 /// <param name="condition">The condition.</param>
 /// <param name="block">The block.</param>
 public void AppendInstruction(BaseInstruction instruction, ConditionCode condition, BasicBlock block)
 {
     AppendInstruction();
     Node.SetInstruction(instruction, condition, block);
 }
Example #18
0
 /// <summary>
 /// Sets the instruction.
 /// </summary>
 /// <param name="instruction">The instruction.</param>
 /// <param name="operandCount">The operand count.</param>
 /// <param name="resultCount">The result count.</param>
 public void SetInstruction(BaseInstruction instruction, int operandCount, byte resultCount)
 {
     Node.SetInstruction(instruction, operandCount, resultCount);
 }
Example #19
0
 /// <summary>
 /// Appends the instruction.
 /// </summary>
 /// <param name="instruction">The instruction.</param>
 /// <param name="result">The result.</param>
 /// <param name="operand1">The operand1.</param>
 /// <param name="operand2">The operand2.</param>
 public void AppendInstruction(BaseInstruction instruction, ConditionCode condition, Operand result, Operand operand1, Operand operand2)
 {
     AppendInstruction();
     Node.SetInstruction(instruction, condition, result, operand1, operand2);
 }
Example #20
0
 /// <summary>
 /// Sets the instruction.
 /// </summary>
 /// <param name="instruction">The instruction.</param>
 /// <param name="condition">The condition.</param>
 public void SetInstruction(BaseInstruction instruction, ConditionCode condition)
 {
     Node.SetInstruction(instruction, condition);
 }
Example #21
0
 /// <summary>
 /// Replaces the instruction only.
 /// </summary>
 /// <param name="instruction">The instruction.</param>
 public void ReplaceInstructionOnly(BaseInstruction instruction)
 {
     Instruction = instruction;
 }
Example #22
0
 /// <summary>
 /// Sets the instruction.
 /// </summary>
 /// <param name="instruction">The instruction.</param>
 /// <param name="condition">The condition.</param>
 /// <param name="block">The block.</param>
 public void SetInstruction(BaseInstruction instruction, ConditionCode condition, BasicBlock block)
 {
     Node.SetInstruction(instruction, condition, block);
 }
Example #23
0
 /// <summary>
 /// Sets the instruction.
 /// </summary>
 /// <param name="instruction">The instruction.</param>
 /// <param name="condition">The condition.</param>
 public void SetInstruction(BaseInstruction instruction, ConditionCode condition)
 {
     Node.SetInstruction(instruction, condition);
 }
Example #24
0
 /// <summary>
 /// Sets the instruction.
 /// </summary>
 /// <param name="instruction">The instruction.</param>
 /// <param name="result">The result.</param>
 public void SetInstruction(BaseInstruction instruction, Operand result)
 {
     Node.SetInstruction(instruction, result);
 }
Example #25
0
 /// <summary>
 /// Sets the instruction.
 /// </summary>
 /// <param name="instruction">The instruction.</param>
 /// <param name="result">The result.</param>
 /// <param name="operand1">The operand1.</param>
 public void SetInstruction(BaseInstruction instruction, bool updateStatus, Operand result, Operand operand1)
 {
     Node.SetInstruction(instruction, updateStatus, result, operand1);
 }
Example #26
0
 /// <summary>
 /// Sets the instruction.
 /// </summary>
 /// <param name="instruction">The instruction.</param>
 /// <param name="updateStatus">if set to <c>true</c> [update status].</param>
 /// <param name="result">The result.</param>
 /// <param name="operand1">The operand1.</param>
 public void SetInstruction(BaseInstruction instruction, bool updateStatus, Operand result, Operand operand1)
 {
     Node.SetInstruction(instruction, updateStatus, result, operand1);
 }
Example #27
0
 /// <summary>
 /// Sets the instruction.
 /// </summary>
 /// <param name="instruction">The instruction.</param>
 /// <param name="condition">The condition.</param>
 /// <param name="updateStatus">if set to <c>true</c> [update status].</param>
 /// <param name="result">The result.</param>
 /// <param name="operand1">The operand1.</param>
 /// <param name="operand2">The operand2.</param>
 public void SetInstruction(BaseInstruction instruction, ConditionCode condition, bool updateStatus, Operand result, Operand operand1, Operand operand2)
 {
     Node.SetInstruction(instruction, condition, updateStatus, result, operand1, operand2);
 }
Example #28
0
 /// <summary>
 /// Sets the instruction.
 /// </summary>
 /// <param name="instruction">The instruction.</param>
 /// <param name="result">The result.</param>
 /// <param name="operand1">The operand1.</param>
 /// <param name="operands">The operands.</param>
 public void SetInstruction(BaseInstruction instruction, Operand result, Operand operand1, IList <Operand> operands)
 {
     Node.SetInstruction(instruction, result, operand1, operands);
 }
Example #29
0
 /// <summary>
 /// Clears this instance.
 /// </summary>
 public void Clear()
 {
     this.Label = -1;
     this.Instruction = null;
     this.Operand1 = null;
     this.Operand2 = null;
     this.Operand3 = null;
     this.Result = null;
     this.Result2 = null;
     this.packed = 0;
     this.additionalOperands = null;
     this.BranchTargets = null;
     this.Other = null;
     this.BranchHint = false;
     this.ConditionCode = ConditionCode.Undefined;
 }
Example #30
0
 /// <summary>
 /// Sets the instruction.
 /// </summary>
 /// <param name="instruction">The instruction.</param>
 /// <param name="result">The result.</param>
 /// <param name="result2">The result2.</param>
 public void SetInstruction2(BaseInstruction instruction, Operand result, Operand result2)
 {
     Node.SetInstruction2(instruction, result, result2);
 }
Example #31
0
 /// <summary>
 /// Appends the instruction.
 /// </summary>
 /// <param name="instruction">The instruction.</param>
 /// <param name="target">The target.</param>
 public void AppendInstruction(BaseInstruction instruction, MosaMethod target)
 {
     AppendInstruction();
     Node.SetInstruction(instruction, target);
 }
Example #32
0
 /// <summary>
 /// Sets the instruction.
 /// </summary>
 /// <param name="instruction">The instruction.</param>
 /// <param name="result">The result.</param>
 /// <param name="result2">The result2.</param>
 /// <param name="operand1">The operand1.</param>
 /// <param name="operand2">The operand2.</param>
 /// <param name="operand3">The operand3.</param>
 public void SetInstruction2(BaseInstruction instruction, Operand result, Operand result2, Operand operand1, Operand operand2, Operand operand3)
 {
     Node.SetInstruction2(instruction, result, result2, operand1, operand2, operand3);
 }
Example #33
0
 /// <summary>
 /// Appends the instruction.
 /// </summary>
 /// <param name="instruction">The instruction.</param>
 /// <param name="condition">The condition.</param>
 public void AppendInstruction(BaseInstruction instruction, ConditionCode condition)
 {
     AppendInstruction();
     Node.SetInstruction(instruction, condition);
 }
Example #34
0
 /// <summary>
 /// Sets the instruction.
 /// </summary>
 /// <param name="instruction">The instruction.</param>
 /// <param name="condition">The condition.</param>
 /// <param name="result">The result.</param>
 /// <param name="operand1">The operand1.</param>
 public void SetInstruction(BaseInstruction instruction, ConditionCode condition, Operand result, Operand operand1)
 {
     Node.SetInstruction(instruction, condition, result, operand1);
 }
Example #35
0
 /// <summary>
 /// Appends the instruction.
 /// </summary>
 /// <param name="instruction">The instruction.</param>
 /// <param name="result">The result.</param>
 /// <param name="operand1">The operand1.</param>
 public void AppendInstruction(BaseInstruction instruction, Operand result, Operand operand1)
 {
     AppendInstruction();
     Node.SetInstruction(instruction, result, operand1);
 }
Example #36
0
 /// <summary>
 /// Sets the instruction.
 /// </summary>
 /// <param name="instruction">The instruction.</param>
 /// <param name="condition">The condition.</param>
 /// <param name="result">The result.</param>
 /// <param name="operand1">The operand1.</param>
 /// <param name="operand2">The operand2.</param>
 /// <param name="block">The block.</param>
 public void SetInstruction(BaseInstruction instruction, ConditionCode condition, Operand result, Operand operand1, Operand operand2, BasicBlock block)
 {
     Node.SetInstruction(instruction, condition, result, operand1, operand2, block);
 }
Example #37
0
 /// <summary>
 /// Appends the instruction.
 /// </summary>
 /// <param name="instruction">The instruction.</param>
 /// <param name="condition">The condition.</param>
 /// <param name="updateStatus">if set to <c>true</c> [update status].</param>
 /// <param name="result">The result.</param>
 /// <param name="operand1">The operand1.</param>
 public void AppendInstruction(BaseInstruction instruction, ConditionCode condition, bool updateStatus, Operand result, Operand operand1)
 {
     AppendInstruction();
     Node.SetInstruction(instruction, condition, updateStatus, result, operand1);
 }
Example #38
0
 /// <summary>
 /// Sets the instruction.
 /// </summary>
 /// <param name="instruction">The instruction.</param>
 /// <param name="condition">The condition.</param>
 /// <param name="updateStatus">if set to <c>true</c> [update status].</param>
 /// <param name="result">The result.</param>
 /// <param name="operand1">The operand1.</param>
 /// <param name="operand2">The operand2.</param>
 public void SetInstruction(BaseInstruction instruction, ConditionCode condition, bool updateStatus, Operand result, Operand operand1, Operand operand2)
 {
     Node.SetInstruction(instruction, condition, updateStatus, result, operand1, operand2);
 }
Example #39
0
        /// <summary>
        /// Appends the instruction.
        /// </summary>
        /// <param name="instruction">The instruction.</param>
        /// <param name="size">The size.</param>
        /// <param name="result">The result.</param>
        /// <param name="operand1">The operand1.</param>
        /// <param name="operand2">The operand2.</param>
        /// <param name="operand3">The operand3.</param>
        /// <param name="operand4">The operand4.</param>
        public void AppendInstruction(BaseInstruction instruction, InstructionSize size, Operand result, Operand operand1, Operand operand2, Operand operand3, Operand operand4)
        {
            AppendInstruction();

            Node.SetInstruction(instruction, size, result, operand1, operand2, operand3, operand4);
        }
Example #40
0
 /// <summary>
 /// Sets the instruction.
 /// </summary>
 /// <param name="instruction">The instruction.</param>
 /// <param name="result">The result.</param>
 /// <param name="operand1">The operand1.</param>
 /// <param name="operand2">The operand2.</param>
 /// <param name="operand3">The operand3.</param>
 /// <param name="operand4">The operand4.</param>
 public void SetInstruction(BaseInstruction instruction, Operand result, Operand operand1, Operand operand2, Operand operand3, Operand operand4)
 {
     Node.SetInstruction(instruction, result, operand1, operand2, operand3, operand4);
 }
Example #41
0
 /// <summary>
 /// Appends the instruction.
 /// </summary>
 /// <param name="instruction">The instruction.</param>
 /// <param name="result">The result.</param>
 /// <param name="result2">The result2.</param>
 /// <param name="operand1">The operand1.</param>
 /// <param name="operand2">The operand2.</param>
 /// <param name="operand3">The operand3.</param>
 public void AppendInstruction2(BaseInstruction instruction, Operand result, Operand result2, Operand operand1, Operand operand2, Operand operand3)
 {
     AppendInstruction();
     Node.SetInstruction2(instruction, result, result2, operand1, operand2, operand3);
 }
Example #42
0
 /// <summary>
 /// Appends the instruction.
 /// </summary>
 /// <param name="instruction">The instruction.</param>
 public void AppendInstruction(BaseInstruction instruction)
 {
     AppendInstruction();
     Node.SetInstruction(instruction);
 }
Example #43
0
 /// <summary>
 /// Sets the instruction.
 /// </summary>
 /// <param name="instruction">The instruction.</param>
 public void SetInstruction(BaseInstruction instruction)
 {
     Node.SetInstruction(instruction);
 }
Example #44
0
 /// <summary>
 /// Appends the instruction.
 /// </summary>
 /// <param name="instruction">The instruction.</param>
 /// <param name="operandCount">The operand count.</param>
 /// <param name="resultCount">The result count.</param>
 public void AppendInstruction(BaseInstruction instruction, byte operandCount, byte resultCount)
 {
     AppendInstruction();
     Node.SetInstruction(instruction, operandCount, resultCount);
 }
Example #45
0
 /// <summary>
 /// Sets the instruction.
 /// </summary>
 /// <param name="instruction">The instruction.</param>
 /// <param name="target">The target.</param>
 public void SetInstruction(BaseInstruction instruction, MosaMethod target)
 {
     Node.SetInstruction(instruction, target);
 }
Example #46
0
 /// <summary>
 /// Appends the instruction.
 /// </summary>
 /// <param name="instruction">The instruction.</param>
 /// <param name="result">The result.</param>
 /// <param name="block">The block.</param>
 public void AppendInstruction(BaseInstruction instruction, Operand result, BasicBlock block)
 {
     AppendInstruction();
     Node.SetInstruction(instruction, result, block);
 }
Example #47
0
 /// <summary>
 /// Sets the instruction.
 /// </summary>
 /// <param name="instruction">The instruction.</param>
 /// <param name="condition">The condition.</param>
 /// <param name="block">The block.</param>
 public void SetInstruction(BaseInstruction instruction, ConditionCode condition, BasicBlock block)
 {
     Node.SetInstruction(instruction, condition, block);
 }
Example #48
0
 /// <summary>
 /// Appends the instruction.
 /// </summary>
 /// <param name="instruction">The instruction.</param>
 /// <param name="block1">The block1.</param>
 /// <param name="block2">The block2.</param>
 public void AppendInstruction(BaseInstruction instruction, BasicBlock block1, BasicBlock block2)
 {
     AppendInstruction();
     Node.SetInstruction(instruction, block1, block2);
 }
Example #49
0
 /// <summary>
 /// Sets the instruction.
 /// </summary>
 /// <param name="instruction">The instruction.</param>
 /// <param name="size">The size.</param>
 /// <param name="result">The result.</param>
 /// <param name="operand1">The operand1.</param>
 public void SetInstruction(BaseInstruction instruction, InstructionSize size, Operand result, Operand operand1)
 {
     Node.SetInstruction(instruction, size, result, operand1);
 }
Example #50
0
 /// <summary>
 /// Appends the instruction.
 /// </summary>
 /// <param name="instruction">The instruction.</param>
 /// <param name="condition">The condition.</param>
 public void AppendInstruction(BaseInstruction instruction, ConditionCode condition)
 {
     AppendInstruction();
     Node.SetInstruction(instruction, condition);
 }
Example #51
0
 /// <summary>
 /// Sets the instruction.
 /// </summary>
 /// <param name="instruction">The instruction.</param>
 /// <param name="result">The result.</param>
 /// <param name="operand1">The operand1.</param>
 /// <param name="operand2">The operand2.</param>
 public void SetInstruction(BaseInstruction instruction, Operand result, Operand operand1, Operand operand2)
 {
     Node.SetInstruction(instruction, result, operand1, operand2);
 }
Example #52
0
 /// <summary>
 /// Appends the instruction.
 /// </summary>
 /// <param name="instruction">The instruction.</param>
 /// <param name="condition">The condition.</param>
 /// <param name="block">The block.</param>
 public void AppendInstruction(BaseInstruction instruction, ConditionCode condition, BasicBlock block)
 {
     AppendInstruction();
     Node.SetInstruction(instruction, condition, block);
 }
Example #53
0
 /// <summary>
 /// Sets the instruction.
 /// </summary>
 /// <param name="instruction">The instruction.</param>
 /// <param name="condition">The condition.</param>
 /// <param name="result">The result.</param>
 /// <param name="operand1">The operand1.</param>
 /// <param name="operand2">The operand2.</param>
 /// <param name="block">The block.</param>
 public void SetInstruction(BaseInstruction instruction, ConditionCode condition, Operand result, Operand operand1, Operand operand2, BasicBlock block)
 {
     Node.SetInstruction(instruction, condition, result, operand1, operand2, block);
 }
Example #54
0
 /// <summary>
 /// Appends the instruction.
 /// </summary>
 /// <param name="instruction">The instruction.</param>
 /// <param name="result">The result.</param>
 public void AppendInstruction(BaseInstruction instruction, Operand result)
 {
     AppendInstruction();
     Node.SetInstruction(instruction, result);
 }
Example #55
0
 private bool IsCommutative(BaseInstruction instruction)
 {
     return (instruction == X86.Addsd || instruction == X86.Addss || instruction == X86.Mulsd || instruction == X86.Mulss);
 }
Example #56
0
 /// <summary>
 /// Appends the instruction.
 /// </summary>
 /// <param name="instruction">The instruction.</param>
 /// <param name="updateStatus">if set to <c>true</c> [update status].</param>
 /// <param name="result">The result.</param>
 public void AppendInstruction(BaseInstruction instruction, bool updateStatus, Operand result)
 {
     AppendInstruction();
     Node.SetInstruction(instruction, updateStatus, result);
 }
 /// <summary>
 /// Determines whether [is instruction move] [the specified instruction].
 /// </summary>
 /// <param name="instruction">The instruction.</param>
 /// <returns></returns>
 public abstract bool IsInstructionMove(BaseInstruction instruction);
Example #58
0
 /// <summary>
 /// Appends the instruction.
 /// </summary>
 /// <param name="instruction">The instruction.</param>
 /// <param name="operandCount">The operand count.</param>
 /// <param name="resultCount">The result count.</param>
 public void AppendInstruction(BaseInstruction instruction, byte operandCount, byte resultCount)
 {
     AppendInstruction();
     Node.SetInstruction(instruction, operandCount, resultCount);
 }
Example #59
0
 /// <summary>
 /// Determines whether [is instruction move] [the specified instruction].
 /// </summary>
 /// <param name="instruction">The instruction.</param>
 /// <returns></returns>
 public override bool IsInstructionMove(BaseInstruction instruction)
 {
     // TODO
     return false;
 }
Example #60
0
 /// <summary>
 /// Sets the instruction.
 /// </summary>
 /// <param name="instruction">The instruction.</param>
 /// <param name="statusRegister">if set to <c>true</c> [update status].</param>
 /// <param name="condition">The condition.</param>
 /// <param name="result">The result.</param>
 /// <param name="operand1">The operand1.</param>
 /// <param name="operand2">The operand2.</param>
 public void SetInstruction(BaseInstruction instruction, StatusRegister statusRegister, ConditionCode condition, Operand result, Operand operand1, Operand operand2)
 {
     Node.SetInstruction(instruction, statusRegister, condition, result, operand1, operand2);
 }