Question: NEED HELP WITH 1,2,&3 assembly code The following assembly code is the exact same as that in the slides D. Program Examples, #22) for comparing

NEED HELP WITH 1,2,&3 assembly code

NEED HELP WITH 1,2,&3 assembly code The following assembly code is theexact same as that in the slides D. Program Examples, #22) for

The following assembly code is the exact same as that in the slides D. Program Examples, #22) for comparing two unsigned numbers Given : ESP - 0x18800, ElP - 0x4016EA, EBP - 0x18818, ECX - 0, and infQQn he stack, complete the specified stack frames and answer any questions ALL VALUES should be expressed in hex unless specified otherwise. C Function Call to Unsigned Compare edx, [ebp-14h] edx eax, [ebp-10h] eax 004016EA 8B 55 EC 004016ED 52 push nov pus callisxgtr_UnsignedInt add mov 004016EE 8B 85 BC FD FF FF 004016F4 50 004016F5 E8 86 F9 FF F esp, 8 [ebp-17h], al 004016FA 83 C4 08 004016FD 88 85 C7FD FF FF *00401703 OF B6 8D C7 FD FF FFmovzx ecx [ebp-17h] 0040170A 51 push mov pushedx mov push push call add ecx 0040170B 8B 55 EC edx, [ebp-14h] .0040170E 5:2 0040170F 8B 85 BC FD FF FF 00401715 50 00401716 68 30 D5 40 00 0040171B E8 2E 02 00 00 00401720 83 C4 10 eax, ebp-10h] eax offset ag1DQ2DResult_0 printf esp, 10h C Function - Unsigned Compare -isXgtY UnsignedInt 00401080 55 00401081 8B eC 00401083 51 00401084 8B 45 0C push mov push ebp ebp, esp ecx eax, [ebp+och] eax, 1 [ebp-4], eax ecx, [ebpt8] ecx, [ebp+0Ch] short loc 401098 al, 1 short loc-40109A al, al esp, ebp ebp 00401087 Dl E8 00401089 89 45 FC shr mov mOv cmp jbe mov mp xor mov pop retn 0040108C 8B 4D 08 0040108F 3B 4D OC 00401092 76 04 00401094 B0 01 00401096 EB 02 00401098 32 CO 0040109A 8B ES 0040109C 5D 0040109D C3 The following assembly code is the exact same as that in the slides D. Program Examples, #22) for comparing two unsigned numbers Given : ESP - 0x18800, ElP - 0x4016EA, EBP - 0x18818, ECX - 0, and infQQn he stack, complete the specified stack frames and answer any questions ALL VALUES should be expressed in hex unless specified otherwise. C Function Call to Unsigned Compare edx, [ebp-14h] edx eax, [ebp-10h] eax 004016EA 8B 55 EC 004016ED 52 push nov pus callisxgtr_UnsignedInt add mov 004016EE 8B 85 BC FD FF FF 004016F4 50 004016F5 E8 86 F9 FF F esp, 8 [ebp-17h], al 004016FA 83 C4 08 004016FD 88 85 C7FD FF FF *00401703 OF B6 8D C7 FD FF FFmovzx ecx [ebp-17h] 0040170A 51 push mov pushedx mov push push call add ecx 0040170B 8B 55 EC edx, [ebp-14h] .0040170E 5:2 0040170F 8B 85 BC FD FF FF 00401715 50 00401716 68 30 D5 40 00 0040171B E8 2E 02 00 00 00401720 83 C4 10 eax, ebp-10h] eax offset ag1DQ2DResult_0 printf esp, 10h C Function - Unsigned Compare -isXgtY UnsignedInt 00401080 55 00401081 8B eC 00401083 51 00401084 8B 45 0C push mov push ebp ebp, esp ecx eax, [ebp+och] eax, 1 [ebp-4], eax ecx, [ebpt8] ecx, [ebp+0Ch] short loc 401098 al, 1 short loc-40109A al, al esp, ebp ebp 00401087 Dl E8 00401089 89 45 FC shr mov mOv cmp jbe mov mp xor mov pop retn 0040108C 8B 4D 08 0040108F 3B 4D OC 00401092 76 04 00401094 B0 01 00401096 EB 02 00401098 32 CO 0040109A 8B ES 0040109C 5D 0040109D C3

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!