C# Class AsmResolver.X86.X86Formatter

Provides a base for a generic IX86Formatter implementation.
Inheritance: IX86Formatter
Show file Open project: JerreS/AsmResolver

Public Methods

Method Description
FormatByte ( byte value ) : string

Formats a byte constant to a readable string.

FormatDword ( uint value ) : string

Formats a dword constant to a readable string.

FormatFword ( ulong value ) : string

Formats a fword constant to a readable string.

FormatMnemonic ( X86Mnemonic mnemonic ) : string
FormatOffset ( int value ) : string

Formats an offset to a readable string.

FormatOperand ( X86Operand operand ) : string
FormatOperandUsagePrefix ( X86OperandUsage operandUsage ) : string

Formats a operand usage to a readable string.

FormatQword ( ulong value ) : string

Formats a qword constant to a readable string.

FormatRegister ( X86Register value ) : string

Formats a x86 register to a readable string.

FormatWord ( ushort value ) : string

Formats a word constant to a readable string.

Private Methods

Method Description
FormatValue ( object value ) : string

Method Details

FormatByte() public abstract method

Formats a byte constant to a readable string.
public abstract FormatByte ( byte value ) : string
value byte The constant to format.
return string

FormatDword() public abstract method

Formats a dword constant to a readable string.
public abstract FormatDword ( uint value ) : string
value uint The constant to format.
return string

FormatFword() public abstract method

Formats a fword constant to a readable string.
public abstract FormatFword ( ulong value ) : string
value ulong The constant to format.
return string

FormatMnemonic() public method

public FormatMnemonic ( X86Mnemonic mnemonic ) : string
mnemonic X86Mnemonic
return string

FormatOffset() public abstract method

Formats an offset to a readable string.
public abstract FormatOffset ( int value ) : string
value int The constant to format.
return string

FormatOperand() public method

public FormatOperand ( X86Operand operand ) : string
operand X86Operand
return string

FormatOperandUsagePrefix() public abstract method

Formats a operand usage to a readable string.
public abstract FormatOperandUsagePrefix ( X86OperandUsage operandUsage ) : string
operandUsage X86OperandUsage The operand usage to format.
return string

FormatQword() public abstract method

Formats a qword constant to a readable string.
public abstract FormatQword ( ulong value ) : string
value ulong The constant to format.
return string

FormatRegister() public abstract method

Formats a x86 register to a readable string.
public abstract FormatRegister ( X86Register value ) : string
value X86Register The register to format.
return string

FormatWord() public abstract method

Formats a word constant to a readable string.
public abstract FormatWord ( ushort value ) : string
value ushort The constant to format.
return string