Logo 
Search:

Assembly Language FAQ

Submit Interview FAQ
Home » Interview FAQ » Assembly LanguageRSS Feeds

What is the difference between the shift and rotate instructions?

  Shared By: Evan Evans    Date: Sep 04    Category: Assembly Language    Views: 4073

Answer:

A rotate instruction is a closed loop instruction. That is, the data moved out at one end is put back in at the other end. The shift instruction loses the data that is moved out of the last bit locations.

Share: 
 



Your Comment
  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].


Tagged: