Machine-Code-Analyzer icon indicating copy to clipboard operation
Machine-Code-Analyzer copied to clipboard

[BUG] MOV (A0-A3) imm len problem

Open MeiVinEight opened this issue 2 years ago • 1 comments

image This picture is from Intel® 64 and IA-32 Architectures Volume 2. MOV (A0-A3) opcode's is always 64-bit in 64-bit mod, this conclusion comes from HxD: image When it disassembles this machine code, the imm len is 8 bytes,

MeiVinEight avatar Aug 03 '23 09:08 MeiVinEight

Hi, thanks for sharing.

How did you generate the machine code? Is that hand-written or assembled? That's interesting anyhow. But I'm not so sure is correct, at a quick look.

Anyhow, reading the quote from Intel seems not wrong what I did: is not mentioned the qword.

Should be interesting try with LLVM, or maybe try to use the instruction disassembler from Intel.

DispatchCode avatar Nov 18 '23 20:11 DispatchCode