Re: extracting the opcode of the instruction
Xin Tong <[email protected]>
| Newsgroups | gmane.comp.emulators.bochs.devel |
|---|---|
| Message-ID | <CALKntY3CMDW9qJhDSYhBpY2=dTYdfVMhdeWYSVojQBz4r9qYRA@mail.gmail.com> |
I want the opcode bytes. not all the bytes of the instruction. i.e. the first byte of the instruction. or the first two bytes in some cases i.e. 0x40 for inc instruction. Xin On Wed, Nov 7, 2012 at 1:03 PM, Stanislav <[email protected]> wrote: > Define the x86 opcode. > If you mean opcodes bytes (up to 15), they could be inside bxInstruction_c > if compiled with BX_INSTR_STORE_OPCODE_BYTES define in instr.h. > For all other stuff the ia_opcode field in the instruction is usually > enough. > > stanislav > > -----Original Message----- > From: Xin Tong [mailto:[email protected]] > Sent: Wednesday, November 07, 2012 6:24 PM > To: [email protected] > Subject: [Bochs-developers] extracting the opcode of the instruction > > I would like to get the opcode of the instruction. it seems that the > ia_opcode in the bxInstruction_c structure is not the x86 opcode. are there > any other places i can get the ia_opcodes of the instruction ? > > Xin > > ---------------------------------------------------------------------------- > -- > LogMeIn Central: Instant, anywhere, Remote PC access and management. > Stay in control, update software, and manage PCs from one command center > Diagnose problems and improve visibility into emerging IT issues Automate, > monitor and manage. Do more in less time with Central > http://p.sf.net/sfu/logmein12331_d2d > _______________________________________________ > bochs-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/bochs-developers > ------------------------------------------------------------------------------ LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from one command center Diagnose problems and improve visibility into emerging IT issues Automate, monitor and manage. Do more in less time with Central http://p.sf.net/sfu/logmein12331_d2d