previous | start | next

Practice: memory operands

Assume the following register contents:

Register Contents
%eax 0x8000
%edx 3

Each of the following IA32 assembler expressions indicate a memory location. Fill in the address for each one.

Operand Memory Address
(%eax)  
4(%eax)  
-4(%eax)  
9(%eax, %edx)  
(%eax,%edx,1)  
(%eax,%edx,4)  
0x8000(,%edx,8)  


previous | start | next