Author Topic: mov al, [0x00]  (Read 2230 times)


  • Guest
mov al, [0x00]
« on: April 30, 2009, 04:51:38 AM »
Hi. First time poster. Sorry if this explained somewhere.

I'm using "nasm -f elf64" to assemble and "ndisasm -b64" to disassemble.

These two byte sequences both disassemble as mov al, [0x00]:

(1)  8A042500000000
(2)  67A000000000

If I assemble mov al, [dword 0x00] I get the second sequence. Why not the first which is one byte shorter?