Re: NASM 0.98.39 vs. NASM 2.03.01 disassembly
- From: "Rod Pemberton" <do_not_have@xxxxxxxxxxxxx>
- Date: Sat, 16 Aug 2008 15:37:16 -0400
"Wolfgang Kern" <nowhere@xxxxxxxx> wrote in message
news:g86e37$56j$1@xxxxxxxxxxxxxxxxxxxxxxxx
I never bought nor used x386 nor any Cyrix CPU.
Except for 0F 7E (MOVD r/m,MMn) these codes seem to be kept
reserved by AMD and Intel for 'some reason'.
Yeah, that "some reason" is interesting. When do they preserve space for an
obscure instruction versus when do they replace the instruction with
another?
It wouldn't be a huge job to add the few 'Cyrix Special' into my disass,
at least as commented 'db', but will it be needed often or at all ?
Never. Who has a Cyrix cpu? (I've got one from a decade ago... cheap.
Haven't seen them available since.)
Experience with 286/386 Loadall, which became totally different meanings
with 486, make me think that we could renounce of undocumented old codes
in todays disassemblers. But perhaps it helps if the disass show them
commented with a 'CPU-type' mark, or let the disassemble output switch ?
It's your (dis)assembler...
Of course, switches are useful to ensure only a certain instruction set is
disassembled. However, I don't use that feature often. So, personally, I'm
not a fan of "multiple" choice switches. I prefer a "fall-back" method. I
like disassemblers to disassemble with preference for all currently valid
instructions, and then if it doesn't fit a current instruction, disassemble
as an older instruction if available.
E.g., if 0x0f xxx xxx xxx won't disassemble as any valid two-byte
instruction, I'd like to see "pop cs" instead of "db 0x0f".
E.g., if I expect 0F A6 C3 to not decode to a valid instruction: "db 0x0f "
"something". I'd prefer the assembler falls back to a valid instruction:
"cmpxchg486 bl,al" or "xbts ax,bx", if it's "aware" of one.
Rod Pemberton
.
- Follow-Ups:
- Re: NASM 0.98.39 vs. NASM 2.03.01 disassembly
- From: Wolfgang Kern
- Re: NASM 0.98.39 vs. NASM 2.03.01 disassembly
- References:
- NASM 0.98.39 vs. NASM 2.03.01 disassembly
- From: Rod Pemberton
- Re: NASM 0.98.39 vs. NASM 2.03.01 disassembly
- From: Rod Pemberton
- Re: NASM 0.98.39 vs. NASM 2.03.01 disassembly
- From: Wolfgang Kern
- Re: NASM 0.98.39 vs. NASM 2.03.01 disassembly
- From: Rod Pemberton
- Re: NASM 0.98.39 vs. NASM 2.03.01 disassembly
- From: Wolfgang Kern
- NASM 0.98.39 vs. NASM 2.03.01 disassembly
- Prev by Date: Re: announce: my very first disassembler now available (GPL)
- Next by Date: Re: announce: my very first disassembler now available (GPL)
- Previous by thread: Re: NASM 0.98.39 vs. NASM 2.03.01 disassembly
- Next by thread: Re: NASM 0.98.39 vs. NASM 2.03.01 disassembly
- Index(es):
Relevant Pages
|