Question: Use the following data declarations myBytes BYTE 1 0 h , 2 0 h , 3 0 h , 4 0 h myWords WORD 8

Use the following data declarations
myBytes BYTE 10h,20h,30h,40h
myWords WORD 8Ah,3Bh,72h,44h,66h
myDoubles DWORD 1,2,3,4,5
myPointer DWORD myDoubles
Do the following steps:
1. Put all 4 bytes in myBytes in a single proper register.
2. Change the element 3 in myDoubles to contain the 72h and 44h from myWords.
3. Zero extend the last word in myWords to EDX.
4. Sign extend the first word in myWords to EBX.
5. Exchange the first and last DWORD in myDoubles
6. Add all the elements in myDoubles and put the result in a new variable you create (do not use instructions I haven't covered).

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 Programming Questions!