NASM - The Netwide Assembler
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Calendar
Login
Register
NASM - The Netwide Assembler
»
NASM Forum
»
Programming with NASM
»
Format insns.dat
« previous
next »
Print
Pages: [
1
]
Author
Topic: Format insns.dat (Read 19461 times)
Borneq
Jr. Member
Posts: 26
Format insns.dat
«
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
Logged
Keith Kanios
Full Member
Posts: 383
Country:
Re: Format insns.dat
«
Reply #1 on:
August 12, 2010, 06:32:54 AM »
IIRC, the top of assemble.c has the relevant information regarding the internal instruction format.
Logged
Cyrill Gorcunov
NASM Developer
Full Member
Posts: 179
Country:
Re: Format insns.dat
«
Reply #2 on:
August 12, 2010, 06:52:00 PM »
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.
Logged
Frank Kotler
NASM Developer
Hero Member
Posts: 2667
Country:
Re: Format insns.dat
«
Reply #3 on:
August 13, 2010, 05:27:48 PM »
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
Logged
Print
Pages: [
1
]
« previous
next »
NASM - The Netwide Assembler
»
NASM Forum
»
Programming with NASM
»
Format insns.dat