hii


how can i know which op code has ModR/M?


any help will be appreciated


bye

eko
Posted on 2001-12-11 06:54:10 by eko
check the intel manuals, you won't get around creating some opcode tables, i'm afraid.
Posted on 2001-12-11 10:43:03 by Tola
well .... i allready checked intel manuals, but havnt found

i thought that checking if op code has ModR/M will be something like checking if modR/M has sib . (checking pettern in the bits)

is the only way to know if opcode hs ModR/M is to make a table of opcodes and scan it ? :(

bye

eko
Posted on 2001-12-11 13:11:06 by eko
All disassemblers I have seen have included tables. Some have a
little more code and a little fewer tables, some have more tables
and less code. But a table-based approach is definitely the way to go.
You might want to look at the disassembler from the MACH project,
it's very nice and clean code with easily-extendable tables.
Posted on 2001-12-11 13:15:35 by f0dder
THANKS FOR THE FAST REPLY!:alright:

where can i find MACH project?
Posted on 2001-12-11 13:36:59 by eko
Dunno. Google around. I found it by accident while doing a google
search for "disas" or a similar keyword. You can find a lot of interesting
stuff by googling you know ;)
Posted on 2001-12-11 13:46:43 by f0dder
hi
....
searched there for that allready :(
Posted on 2001-12-11 14:13:10 by eko