Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started