SIM_instruction_nth_id — get id of nth instruction
SIM_instruction_nth_id(conf_object_t *cpu, int n);
Get the instruction id (instruction_id_t) of the instruction at
position n in the "first" branch of the instruction tree of
processor cpu. The root instruction has position 0. The first
branch is defined to be the branch of the first child (number 0) in every
instruction. See SIM_instruction_child. If successful the
function will return an non-zero id. For illegal positions zero is returned.
This function may only be useful if the tree is actually a list or
if the root of the tree is requested.
The id of the requested instruction or zero if non-existing.