Question: Write an assembly program that modifies the value in eax register in the following sequence: 1- Reverses all the bits in eax. 2- Clears the
Write an assembly program that modifies the value in eax register in the following sequence: 1- Reverses all the bits in eax. 2- Clears the lower 4 bits of ah. 3- Sets the upper 4 bits in al. 4- Adds the value in the upper 16-bits of eax to the value in the lower 16bits. 5-Stores the final value in eax. Test your code for the following values and write the answers
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
