Question: help with question 2 and 3 2. Given the following data declarations: .data MyArray BYTE 4Eh, 64h, 9Ah, 7Fh, 3Ch Total WORD ? .code Write
help with question 2 and 3
2. Given the following data declarations: .data MyArray BYTE 4Eh, 64h, 9Ah, 7Fh, 3Ch Total WORD ? .code Write instructions that sum the elements of the array into AX and then save the resultant sum in the location Total. 3. (Little Endian) Fill in the requested register values after executions of the instructions: Show the memory map using an address-data table. .data myBytes myWords myDoubles myPointer BYTE 21h, 67h, 8ch, OBAh WORD 45A8h, 49A3h, OAC32h, 257Bh, ODF30h DWORD E104h, OC273h, 67F2h, OB34Ch, 9679h DWORD myDoubles AX = EAX = .code mov esi, OFFSET myBytes mov ax, WORD PTR [esi+1] mov eax, DWORD PTR myWords mov esi, myPointer mov ax, WORD PTR [esi+2] mov ax, WORD PTR [esi+3] mov ax, WORD PTR [esi-2] AX = AX = AX =
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
