This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Implementation for insn_info_valid in i386-dis.c
- From: Sandeep Kumar <sandeepksinha at gmail dot com>
- To: binutils <binutils at sources dot redhat dot com>
- Date: Mon, 2 Jan 2006 16:14:53 +0530
- Subject: Implementation for insn_info_valid in i386-dis.c
Hi everyone,
I am working on the implementaion for the insn_info_valid for x86,
Which has not yet been implemented. In the above structure, which is
part of the structure declaration taken from dis-asm.h :
char insn_info_valid; /* Branch info has been set. */ char
branch_delay_insns; /* How many sequential insn's will run before
a branch takes effect. (0 = normal) */ char data_size; /* Size of
data reference in insn, in bytes */ enum dis_insn_type insn_type; /*
Type of instruction */
bfd_vma target; /* Target address of branch or dref, if known;
zero if unknown. */
bfd_vma target2; /* Second target address for dref2 */
On a x86 machine, due to the large number of instructions and various
addressing modes, will be ever be able to surely determine the
data_size.
suggest.
Rest all the other memebers have been implemented.
--
Regards,
Sandeep
A candle loses nothing if it is used to light another one!