Question: Please answer this question in MASM Assembly language, and Please read the question and make sure the code you are answering with is correct. Thanks

Please answer this question in MASM Assembly language, and Please read the question and make sure the code you are answering with is correct. Thanks for your time and consideration.

Please answer this question in MASM Assembly language, and Please read the

Write a portion of assembly code that uses shifts and rotates to separate each byte of EAX and store them in order from most to least significant in BL,BH,DL, and DH respectively. Your code must only use shifts, rotates and the MOV instruction. Once your code is finished executing, the values of the registers should be: BL= the first and highest byte of EAX (most significant) BH= the second byte of EAX DL= the third byte of EAX DH= the fourth and lowest byte of EAX (least significant)

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