On Fri, Mar 21, 2008 at 01:39:09PM +0100, [EMAIL PROTECTED] was heard to say:
> On Wed, Mar 19, 2008 at 12:26:19PM -0700, PETER EASTHOPE wrote:
> > I have these 5 bytes of machine code to 
> > disassemble.
> > 
> >     b8 12 00 cd 10
> > 
> > I've looked at gdb and objdump.  Appears they 
> > need a complete object file.  Someone please 
> > give a clue.
> 
> Write the machine code to a file:
> $ perl -e 'print pack "H*", "b81200cd10";' > /tmp/binfile
> $ hd /tmp/binfile
> 00000000  b8 12 00 cd 10                                    |¸..Í.|
> 00000005
> 
> Then use objdump, specifying the object file format as raw.
> Because the raw file has no metadata, you need to give the CPU
> architecture as well.
> 
> $ objdump -m i386 -b binary -D /tmp/binfile
> 
> int 10h is a VESA BIOS call - you should be able to figure out the rest
> yourself.
> 
> Regards,
> MIrko

  I did not write this email.  I don't have any problem with it, but I
didn't write it.

  Whoever did: please refrain from forging other people's email
addresses in your From header.

  Daniel

Attachment: signature.asc
Description: Digital signature

Reply via email to