Re: announce: my very first disassembler now available (GPL)



On Aug 20, 10:59 pm, "H. Peter Anvin" <h...@xxxxxxxxx> wrote:
Alexei A. Frounze wrote:

48 90 = rex.w nop = xchg rax,rax

Should be a NOP effectively.

49 90 = rex.wb nop = xchg rax,r8

Same here.

Not a NOP, certainly...

Oops, sorry, missed B. So, it's an XCHG,

So, did you do the last two under a debugger? If you did, on what CPU
brand? Intel, AMD or both?

Not under a debugger, but yes, I executed them (inside a small C
program). AMD Athlon X2 4200+ (socket 939).

Then what? The AMD doc confirmed and opcode 0x90 can indeed represent
either NOP or XCHG?

Alex
.



Relevant Pages

  • Re: Opcode F1h
    ... But on my AMD 1800+ then this ... Perhaps I fooled myself by stepping my debugger over it and it responds ... like a int01 the same way as my debugger would do on a NOP. ...
    (alt.lang.asm)
  • Re: announce: my very first disassembler now available (GPL)
    ... prefix it can be either NOP or XCHG. ... controlled by mod, REX.R, reg, REX.B (if REX is ... Plain 90h, which would normally be XCHG EAX,EAX (and therefore ...
    (alt.lang.asm)
  • Re: announce: my very first disassembler now available (GPL)
    ... controlled by mod, REX.R, reg, REX.B (if REX is ... Plain 90h, which would normally be XCHG EAX,EAX is actually NOP. ...
    (alt.lang.asm)
  • Re: [Clax86list] Re: instruction rescheduler?
    ... It is not true on the x86. ... "The one byte NOP, xchg EAX,EAX, has special hardware support. ...
    (comp.lang.asm.x86)
  • Re: (64bit) push-pop puzzles
    ... NOP and optimize this in some way; ... Read the optimization manuals of the>various ... a next NOP in the second pipeline and so on all ... the pipelines have to wait for the result of that xchg. ...
    (comp.lang.forth)