C# Class AsmResolver.X86.X86Assembler

Provides a mechanism for assembling x86 instructions into bytes.
Exibir arquivo Open project: JerreS/AsmResolver Class Usage Examples

Public Methods

Method Description
Write ( X86Instruction instruction ) : void

Writes an instruction to the output stream.

X86Assembler ( IBinaryStreamWriter writer ) : System

Private Methods

Method Description
ComputeRegOrMemSibToken ( X86Operand operand ) : byte
ComputeRegOrMemToken ( X86Operand operand ) : byte
ComputeRegisterToken ( X86Register register ) : byte
ComputeRegisterTokenPart ( X86OperandType method, X86OperandSize size, X86Operand operand ) : byte
DetermineRegOrMemModifier ( X86Operand operand ) : X86RegOrMemModifier
WriteNumber ( object value, X86OperandSize size ) : void
WriteOpCode ( X86OpCode opCode ) : void
WriteOperand ( X86OperandType method, X86OperandSize size, X86Operand operand ) : void
WriteOperandOffset ( X86OffsetType type, int offset ) : void
WriteOperandValue ( X86OperandType method, X86OperandSize size, X86Operand operand ) : void

Method Details

Write() public method

Writes an instruction to the output stream.
public Write ( X86Instruction instruction ) : void
instruction X86Instruction The instruction to write.
return void

X86Assembler() public method

public X86Assembler ( IBinaryStreamWriter writer ) : System
writer IBinaryStreamWriter
return System