Question: Question 1 9 ( 1 point ) How does the instruction add eax, [ ebx ] work in assembly? Adds the contents of EBX and

Question 19(1 point)
How does the instruction add eax, [ebx] work in assembly?
Adds the contents of EBX and EAX
Adds the immediate value of EBX to EAX
Adds the value stored at the memory location pointed by EBX to EAX
Adds the offset of EBX to EAX
Question 20(1 point)
What will the following code accomplish?
.data
var DWORD 1234
.code
mov eax, OFFSET var
add eax, [eax]
EAX will hold the value 3421
EAX will hold the value 1234
EAX will hold the address of var plus the value 1234
EAX will hold the value at the memory location pointed by 1234
Question 1 9 ( 1 point ) How does the instruction

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!