Previous - Up - Next

SIM_instruction_type()

NAME
SIM_instruction_type — return the instruction type

SYNOPSIS
instr_type_t
SIM_instruction_type(instruction_id_t ii);

DESCRIPTION
Returns the instruction type of the instruction identified by ii in the instruction queue. instr_type_t is a bit-field of the different instruction types. Currently only It_Load, It_Store, and It_User_Decoder_Defined are available. For instructions that swap data both It_Load and It_Store are set.

EXCEPTIONS
Index Thrown if ii is illegal.
RETURN VALUE
The type of the instruction in the instruction queue.

Previous - Up - Next