Question: I would like to know what this assembly code is doing: move eax, 5 push ecx pop ecx add eaxm ebx swap eax, ebx swap

I would like to know what this assembly code is doing: move eax, 5

push ecx

pop ecx

add eaxm ebx

swap eax, ebx

swap ebx,ax

call [eax]

nop

I believe what is doing is : first line it copies 5 to eax, then it pushes ecx and pop that register value, then it adds ebx to eax, and changes the value of ebx to eax and then do the opposite, finally it calls eax and does nothing? but im not sure of this answer....help pleaseeeeeee!!!!!

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 Databases Questions!