From: Ed Beroset
Subject: Re: Hex code of asm
At 10:56 12/3/97, you wrote:
>
>-=> A Communique from Bert Van Dam to All was being thrown out the Airlock
<=-
>
> BVD> The hex code of INT is CD. Does anybody have a list with all the hex
> BVD> codes for asm words? (btw I don't have internet access).
>
>just make a file of hex numbers 00 through to ff
>load it into debug, and i think assemble or disassemble gives you the
>meanings of all the hex numbers
That approach worked on the old 8-bit microprocessors, but it's no longer
valid for the 8088 (and certainly not for the PentiumPro). It's
ineffective because the meaning (and opcode) for many instructions is
spread out over more than one byte. For example, 0Fh is a prefix for a
number of different instructions. Looking at it in debug, as you've
suggested, would lead one to falsely conclude that there is no valid
instruction that begins with 0Fh.
One could modify the approach by attempting to decode all two-byte
combinations. That would get you most of the instructions but would be
rather tedious and time consuming.
A far easier and more complete solution, IMHO, is to call Intel and ask
them to mail you a data book.
Ed
-!-
---
---------------
* Origin: The Circuit! Board * Spokane * (1:346/100)
|