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 hhhh
myWords WORD AhBhhhh
myDoubles DWORD
myPointer DWORD myDoubles
Do the following steps:
Put all bytes in myBytes in a single proper register.
Change the element in myDoubles to contain the h and h from myWords.
Zero extend the last word in myWords to EDX.
Sign extend the first word in myWords to EBX.
Exchange the first and last DWORD in myDoubles
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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
