C# Class Reko.Arch.Arm.Arm32Instruction

Inheritance: Reko.Core.Machine.MachineInstruction
Show file Open project: uxmal/reko

Public Methods

Method Description
Arm32Instruction ( Gee.External.Capstone.Instruction instruction ) : Gee.External.Capstone.Arm
GetOperand ( int i ) : MachineOperand
IsLastOperand ( Gee.External.Capstone.Arm.ArmInstructionOperand op ) : bool

Returns true if op is the last operand of the instruction.

Render ( MachineInstructionWriter writer ) : void
Write ( Gee.External.Capstone.Arm.ArmInstructionOperand op, MachineInstructionWriter writer ) : void

Private Methods

Method Description
Arm32Instruction ( ) : Gee.External.Capstone.Arm
Arm32Instruction ( Address addr ) : Gee.External.Capstone.Arm
CreateInvalid ( Address addr ) : Arm32Instruction
TryGetInternal ( Gee.External.Capstone.Instruction &instr ) : bool

Gets the inner, Capstone-originated instruction. If the instruction is null, it means it is invalid (ie. a garbage opcode).

WriteImmShift ( string op, int value, MachineInstructionWriter writer ) : void
WriteImmediateValue ( int imm8, MachineInstructionWriter writer ) : void
WriteMemoryOperand ( Gee.External.Capstone.Arm.ArmInstructionOperand op, MachineInstructionWriter writer ) : void
WriteRegShift ( string op, int value, MachineInstructionWriter writer ) : void
WriteRegisterSetInstruction ( MachineInstructionWriter writer ) : bool
WriteShift ( Gee.External.Capstone.Arm.ArmInstructionOperand op, MachineInstructionWriter writer ) : void

Method Details

Arm32Instruction() public method

public Arm32Instruction ( Gee.External.Capstone.Instruction instruction ) : Gee.External.Capstone.Arm
instruction Gee.External.Capstone.Instruction
return Gee.External.Capstone.Arm

GetOperand() public method

public GetOperand ( int i ) : MachineOperand
i int
return Reko.Core.Machine.MachineOperand

IsLastOperand() public method

Returns true if op is the last operand of the instruction.
public IsLastOperand ( Gee.External.Capstone.Arm.ArmInstructionOperand op ) : bool
op Gee.External.Capstone.Arm.ArmInstructionOperand
return bool

Render() public method

public Render ( MachineInstructionWriter writer ) : void
writer MachineInstructionWriter
return void

Write() public method

public Write ( Gee.External.Capstone.Arm.ArmInstructionOperand op, MachineInstructionWriter writer ) : void
op Gee.External.Capstone.Arm.ArmInstructionOperand
writer MachineInstructionWriter
return void