NASM - The Netwide Assembler
NASM Forum => Programming with NASM => Topic started by: Borneq on August 12, 2010, 04:46:21 AM
-
Hi
What is format insns.dat?
AAA is opcode 37, in insns.dat is AAA void \1\x37 086,NOLONG
\1 means one byte?
AAD imm D5 ib is AAD imm \1\xD5\24 8086,SB,NOLONG
what means \1 at start, SB and NOLONG?
regards
-
IIRC, the top of assemble.c has the relevant information regarding the internal instruction format.
-
As Keith already pointed out -- see the head of assembly.c file it contains byte codes meanings.
About SB,NOLONG -- they are "Instruction template flags", perl script adds IF_ prefix to them
so you could find their meaning in insns.h file.
Hope this help.
-
If you're trying to figure out how Nasm works, Borneq, the format of insns.dat may help you. If what you're really looking for is an instruction set reference, try this one:
http://home.myfairpoint.net/fbkotler/nasmdocr.html
Best,
Frank