assembly - Hexadecimal representation of ASM command's length is weird -
i've come across following piece of code:
i know system works in hexa , think it's 32-bit processor (which if remember correctly means length of each memory address should 32 bit , should each command). if that's case, how come length of command @ 8048384 56 bits long (7*2*4)? in general seems length of commands here quite weird. missing something? make sense if 64 bit processor?
i hope understanding of asm correct , i'm not missing basic concept.
thank in advance :)
what have there looks code 32-bit intel processor, say. intel ia32 instruction set has instructions of variable length, see here. 64-bit intel processors (x86_64) similar in regard.
if used working on processors have 1 instruction length (like mips example), disassembly of intel program can weird. it's how these processors designed, though.
there other architectures fit on either side of fence, or on both, too. example, arm's arm instruction set has 32-bit instructions, arm thumb , thumb2 instruction sets each have both 16- , 32-bit instructions. intel's more on map instruction length.
you can learn more intel instruction set reading volume 2 of intel software developer’s manuals.
Comments
Post a Comment