Question: Using Visual Studio on the UTSA VDI system, create a project using the code given above. unsigned char short int int gArray - gArraysI gArrayI

 Using Visual Studio on the UTSA VDI system, create a project

Using Visual Studio on the UTSA VDI system, create a project using the code given above.

unsigned char short int int gArray - gArraysI gArrayI 0x05, 0xFE, 0x1A, 0x1c, 0x28, 0xCC, 0xD3, 0x81 i 0x05,0xFE, 0x1A, 0x1c, 0x28, 0xCC, 0xD3, 0x81 i 0x05,0xFE, 0x1A, 0x1c, 0x28, 0xCC, 0xD3, 0x81 i int test ) _asm { mov al, gArray lea esi, gArray mov dl, byte ptr esi] mov edx, dword ptr [esi+2 edx- mov al, gArray I5] esi- dl nop mov ax, gArraySI lea esi, gArraySI mov dl, byte ptr esi] mov edx, dword ptr [esi+2 edx- mov ax, gArraysI[5] ax- dl ax nop mov eax, gArrayI lea esi, gArrayI mov dl, byte ptI esi] mov edx, dword ptr esi+2 edx- mov eax, gArrayI[5] esi- dl- nop return 0 int main( 1nt argc, charrgv[] test)i exit (0)i 2. Compile and single step through the program, writing down the value of the destination for each instruction. unsigned char short int int gArray - gArraysI gArrayI 0x05, 0xFE, 0x1A, 0x1c, 0x28, 0xCC, 0xD3, 0x81 i 0x05,0xFE, 0x1A, 0x1c, 0x28, 0xCC, 0xD3, 0x81 i 0x05,0xFE, 0x1A, 0x1c, 0x28, 0xCC, 0xD3, 0x81 i int test ) _asm { mov al, gArray lea esi, gArray mov dl, byte ptr esi] mov edx, dword ptr [esi+2 edx- mov al, gArray I5] esi- dl nop mov ax, gArraySI lea esi, gArraySI mov dl, byte ptr esi] mov edx, dword ptr [esi+2 edx- mov ax, gArraysI[5] ax- dl ax nop mov eax, gArrayI lea esi, gArrayI mov dl, byte ptI esi] mov edx, dword ptr esi+2 edx- mov eax, gArrayI[5] esi- dl- nop return 0 int main( 1nt argc, charrgv[] test)i exit (0)i 2. Compile and single step through the program, writing down the value of the destination for each 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 Databases Questions!