Top "Zero-extension" questions

What does the MOVZBL instruction do in IA-32 AT&T syntax?

What exactly does this instruction do? movzbl 0x01(%eax,%ecx), %eax

assembly x86 att zero-extension
x86_64 registers rax/eax/ax/al overwriting full register contents

As it is widely advertised, modern x86_64 processors have 64-bit registers that can be used in backward-compatible fashion as 32-bit …

assembly x86-64 cpu-registers zero-extension
Why do x86-64 instructions on 32-bit registers zero the upper part of the full 64-bit register?

In the x86-64 Tour of Intel Manuals, I read Perhaps the most surprising fact is that an instruction such …

assembly x86 x86-64 cpu-registers zero-extension
Clarifications on signed/unsigned load and store instructions (MIPS)

I can't seem to grasp the concept on these stuff, even with the help of Google and a textbook in …

assembly mips sign-extension zero-extension
andi vs. addi instruction in MIPS with negative immediate constant

Assume $t2=0x55555550, then executing the following instruction: andi $t2, $t2, -1 $t2 becomes 0x0005550 This is confirmed by the …

assembly mips sign-extension zero-extension immediate-operand