C# Class TUP.AsmResolver.ASM.x86Instruction

Represents a 32-bit assembly instruction.
Mostrar archivo Open project: Rex-Hays/GNIDA Class Usage Examples

Public Properties

Property Type Description
operand1 Operand
operand2 Operand

Public Methods

Method Description
Create ( x86OpCode opcode ) : x86Instruction

Creates an instance of a x86 instruction without an operand.

Create ( x86OpCode opcode, Operand operand ) : x86Instruction

Creates an instance of a x86 instruction with a single operand.

Create ( x86OpCode opcode, Operand operand1, Operand operand2 ) : x86Instruction

Creates an instance of a x86 instruction with two operands.

ToAsmString ( ) : string

Returns a raw string representation of the instruction.

ToAsmString ( bool virtualString ) : string

Returns a string representation of the instruction.

ToString ( ) : string

Returns a readable assembly instruction, containing the offset, opcode and operand.

Private Methods

Method Description
GenerateBytes ( ) : void
x86Instruction ( ) : System

Method Details

Create() public static method

Creates an instance of a x86 instruction without an operand.
public static Create ( x86OpCode opcode ) : x86Instruction
opcode x86OpCode The opcode to use.
return x86Instruction

Create() public static method

Creates an instance of a x86 instruction with a single operand.
public static Create ( x86OpCode opcode, Operand operand ) : x86Instruction
opcode x86OpCode The opcode to use.
operand Operand The operand to use.
return x86Instruction

Create() public static method

Creates an instance of a x86 instruction with two operands.
public static Create ( x86OpCode opcode, Operand operand1, Operand operand2 ) : x86Instruction
opcode x86OpCode The opcode to use.
operand1 Operand The first operand to use.
operand2 Operand The second operand to use.
return x86Instruction

ToAsmString() public method

Returns a raw string representation of the instruction.
public ToAsmString ( ) : string
return string

ToAsmString() public method

Returns a string representation of the instruction.
public ToAsmString ( bool virtualString ) : string
virtualString bool A boolean value that indicates all offsets and operands should be in virtual format.
return string

ToString() public method

Returns a readable assembly instruction, containing the offset, opcode and operand.
public ToString ( ) : string
return string

Property Details

operand1 public_oe property

public Operand,TUP.AsmResolver.ASM operand1
return Operand

operand2 public_oe property

public Operand,TUP.AsmResolver.ASM operand2
return Operand