C# Class TUP.AsmResolver.ASM.Operand

Represents an operand of an assembly instruction.
Show file Open project: Rex-Hays/GNIDA Class Usage Examples

Public Methods

Method Description
Operand ( object value ) : System

Creates a new instance of an assembly operand.

Operand ( object value, OperandType type ) : System

Creates a new instance of an assembly operand.

Operand ( object value, OperandType type, int addition ) : System

Creates a new instance of an operand with an extra addition value.

ToString ( ) : string

Returns the string representation of the operand.

ToString ( bool virtualString ) : string

Returns the string representation of the operand.

Private Methods

Method Description
ToAsmString ( bool virtualString ) : string

Method Details

Operand() public method

Creates a new instance of an assembly operand.
public Operand ( object value ) : System
value object The value that's being used.
return System

Operand() public method

Creates a new instance of an assembly operand.
public Operand ( object value, OperandType type ) : System
value object The value that's being used.
type OperandType The way the value is being used.
return System

Operand() public method

Creates a new instance of an operand with an extra addition value.
public Operand ( object value, OperandType type, int addition ) : System
value object The value that's being used.
type OperandType The way the value is being used.
addition int An addition to the value
return System

ToString() public method

Returns the string representation of the operand.
public ToString ( ) : string
return string

ToString() public method

Returns the string representation of the operand.
public ToString ( bool virtualString ) : string
virtualString bool Indicates that the string value will be the virtual representation of the instruction.
return string