NASM - The Netwide Assembler

NASM Forum => Using NASM => Topic started by: nobody on January 05, 2009, 12:14:21 PM

Title: Equations for convertion to hex...
Post by: nobody on January 05, 2009, 12:14:21 PM
I know we have a conversion table for assembly instructions to hex but can anyone tell me the equations used in converting these instructions to hex??? thanks....
Title: Re: Equations for convertion to hex...
Post by: Frank Kotler on January 14, 2009, 06:47:50 AM
Hmmm... I guess Nasm is the "equation"... There's some information in the old (obsolete, buggy) instruction set reference (removed from current versions of the manual) about how instructions are encoded:

http://mysite.verizon.net/fbkotler/nasmdocc.html (http://mysite.verizon.net/fbkotler/nasmdocc.html)

I suspect you'll have better luck with the AMD/Intel manuals...

Best,
Frank