>>>>> "Daniel" == Daniel Barlow <[EMAIL PROTECTED]> writes:

    Daniel> Raymond Toy <[EMAIL PROTECTED]> writes:

    >> CMUCL mostly tries to use the native instruction set and argument
    >> order for disassemble.  (The actual code in CMUCL always has the
    >> destination as the first arg.)

    Daniel> It's worth noting that this is the opposite order from gdb's default.
    Daniel> If you're also using gdb, you may want to "set disassemble intel".

So cmucl assembler is

   opcode dest src src

and the disassembler is

   opcode dest src src

But gdb uses

   opcode src src dst

The sparc disassembler uses sparc order which is dest last.

(It was really confusing reading FP disassemblies on sparc because the
disassembler used to have dest first for FP instructions, but dest
last for all others.  That was fixed quite a while ago.)

Ray


Reply via email to