Question: 1. (50) Trace the following program step by step. Each time the line of the program labelled cde: is reached write on this paper the

 1. (50) Trace the following program step by step. Each time

1. (50) Trace the following program step by step. Each time the line of the program labelled "cde:" is reached write on this paper the values stored in the registers EAX, EBX and ECX. You may use ordinary decimal notation for your answers. EAX EBX ECX mov ecx, 0 mov esi, 4 mov edi, esi beg: mov eax, esi dec edi mov ebx, edi cde: cmp eax, ebx je abc jb bcd sub eax, ebx jmp cde 4- bcd: sub ebx, eax jmp cde abc : cmp eax, 1 jne cba inc ecx cba: cmp edi, 2 jne beg ret

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!