•[ebx] := [ebx] + [eax]
•[eax]
and [ebx] mean contents of memory cells whose addresses (locations) are stored in eax and ebx
•In C language we write:
•*b = *b + *a;
•In Assembler we use instruction add
•We cannot use both memory
addresses in one step (instruction):
•add [ebx], [eax]
•We can only use add [ebx], register
•register :=
[eax]
•[ebx] := [ebx]
+ register
•In Assembler we write:
•mov eax,
[eax]
•add [ebx],
eax
•In WinDbg disassembly output we see:
•00411a40
8b00 mov eax,[eax]
•00411a42
0103 add [ebx],eax
•