NASM - The Netwide Assembler

NASM Forum => Programming with NASM => Topic started by: nobody on December 21, 2008, 04:20:46 PM

Title: Opcode Table.
Post by: nobody on December 21, 2008, 04:20:46 PM
Hi

I'm writing a length dissasembler.

I read somewhere that NASM's source code would have datastructures that I could copy into a program to produce an opcode table of lengths(or types anyway). Could you halp speed things up for me and tell me where, like what file.

Cheers.
Title: Re: Opcode Table.
Post by: Nathan on December 22, 2008, 03:23:01 AM
You probably want "insns.dat" which is created by a perl script when compiling the source code.  I have put the latest version here:

http://nathancbaker.googlepages.com/insns.dat (http://nathancbaker.googlepages.com/insns.dat)