What are the key instruction groups?
What is meant by zero-extend?
When copying a short integer to a long integer, doubleword operations set higher 32 bits of 64 bit value to 0
What is meant by sign-extend?
When copying a short integer to a long integer, some other mov instructions multiply the sign bit
What is the ‘xchg’ instruction?
Instruction exchanges source and destination
What is the ‘lea’ instruction?
“Load effective address” is like mov except that a computed address (rather than content of address) is put in the destination
What is the difference between ‘mul’ and ‘imul’?
• ‘mul’ is unsigned
• ‘imul’ is signed
(Typically one operand involves rax)