Instruction

Architecture-independent instruction base class

Destructor

A destructor is present on this object, but not explicitly documented in the source.

Members

Functions

address
auto address()

Address (EIP) of this instruction

bytes
auto bytes()

Machine bytes of this instruction

detail
const(Detail) detail()

More details about the instruction

idAsInt
auto idAsInt()

Retrieves instruction's id as plain integer

isInGroup
bool isInGroup(in InstructionGroup group)

Checks whether the instruction belongs to the instruction group group

mnemonic
auto mnemonic()

Ascii text of instruction mnemonic

name
string name()

Returns friendly string representation of an instruction's name

opStr
auto opStr()

Ascii text of instruction operands

reads
bool reads(in Register reg)

Checks if the instruction IMPLICITLY uses a particular register

reads
const(Register)[] reads()

Retrieves both the implicitly and explicitly read registers

writes
bool writes(in Register reg)

Checks if the instruction IMPLICITLY modifies a particular register

writes
const(Register)[] writes()

Retrieves both the implicitly and explicitly written registers

Meta