Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribedhelp 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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intelligent Databases Technologies And Applications

Authors: Zongmin Ma

1st Edition

1599041219, 978-1599041216

More Books

Students also viewed these Databases questions

Question

What are Electrophoresis?

Answered: 1 week ago

Question

What are Decision Trees?

Answered: 1 week ago

Question

What is meant by the Term Glass Ceiling?

Answered: 1 week ago