Re: NASM 0.98.39 vs. NASM 2.03.01 disassembly
- From: "Rod Pemberton" <do_not_have@xxxxxxxxxxxxx>
- Date: Thu, 21 Aug 2008 06:27:43 -0400
"Wolfgang Kern" <nowhere@xxxxxxxx> wrote in message
news:g8i5kd$n6h$1@xxxxxxxxxxxxxxxxxxxxxxxx
Rod Pemberton wrote:is...
I'm still not sure what the justification for that tenacious belief
Yes Rod,
you have to say what you found in conflict with the manuals...
I already posted the instruction descriptions from four manuals that clearly
demonstrate that LSL and LAR aren't to be encoded or decoded as 16-bit only,
i.e., Ew notation, for the register source operand. That was a.l.a. 8/17/08
2:35 am in this thread. I also posted in the bug report where Intel
explicitly clarifies that LSL and LAR do actually read 32-bits of register
when the source operand is a register even though that same manual says "Gv,
Ew" in the opcode table.
http://sourceforge.net/tracker/index.php?func=detail&atid=106208&aid=2063064
&group_id=6208
but pleese just mention where you found a bug,
or shall we guess it ?
I posted the "bug" in a.l.a. on 8/16/2008 4:50 pm, about 11 posts ago from
me in this thread. The bug was found by comparing Ndisasm (0.98.39) output
with Ndisasm (2.03.01) output using a list of instructions culled from
0.98.39 insns.dat in order to check Willow's assembler. That's where I
found a bug: by visual comparison. Is that what you're asking? That post
shows that the "bug" is a difference between the way the two versions of
Ndisasm disassemble the LAR and LSL instructions. That's the bug I found: a
difference. Is that what you're asking? I checked a few manuals for the
descriptions of those instructions. Ndisasm (2.03.01) decodings didn't
match the instruction descriptions. That's the bug I confirmed: by reading.
Is that what you're asking? Is was clear from the instructions descriptions
that Ndisasm (2.03.01) decodes a source operand register for LAR and LSL
with a fixed 16-bit operand size which is incorrect according to the
instruction descriptions. So, I posted. Then, Frank said it wasn't a
bug...
I also described the "bug" in the NASM report: "Ndisasm is not decoding LAR
and LSL to a register appropriate for the mode". I also added two links to
a change which I believe caused the problem. Is Nasm64developer's statement
of the exact opposite problem unclear too?
I believe I've reviewed almost 75% of the thread now...
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: Frank Kotler
- 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: Frank Kotler
- 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: Frank Kotler
- 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: Frank Kotler
- 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: Frank Kotler
- 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: NASM 0.98.39 vs. NASM 2.03.01 disassembly
- 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
|