Question: Suppose you have a basic instruction set with typical primitive arithmetic and logical operations (add, sub, and, or, not, xor, Isl, and lsr). How would

Suppose you have a basic instruction set with typical primitive arithmetic and logical operations (add, sub, and, or, not, xor, Isl, and lsr). How would you move a 32-bit word from memory location a to location b and reorder the bytes from PQRS to SQRP using only this instruction set?

Step by Step Solution

3.36 Rating (146 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

In this example we use AND to extract bytes BIC to clear bytes and OR plus shifting to ins... View full answer

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 Computer Architecture Questions!