Author Topic: Equations for convertion to hex...  (Read 8290 times)

nobody

  • Guest
Equations for convertion to hex...
« 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....

Offline Frank Kotler

  • NASM Developer
  • Hero Member
  • *****
  • Posts: 2667
  • Country: us
Re: Equations for convertion to hex...
« Reply #1 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

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

Best,
Frank