• entries
    732
  • comments
    1562
  • views
    492485

Commentary 101

Sign in to follow this  
Ravuya

246 views

I enjoy reading your journals on this fine site.
As an aside, sra is not the same as srl in SPARC ASM. Those game developers able to realize why this is are far brighter than I.
Sign in to follow this  


3 Comments


Recommended Comments

I enjoy reading your journals on this fine site.
As an aside, sra is not the same as srl in SPARC ASM. Those game developers able to realize why this is are far brighter than I.


The reason that sra != srl in SPARC ASM is because there is a 1 letter difference ;)

Share this comment


Link to comment
In case you were actually looking for an answer... (don't know if that was sarcasm or not, hard to tell with just ascii).

I expect that sra is "shift right arithmetic" and srl is "shift right logical". Which one you use is important if the number being shifted is negative. sra is sign-preserving, srl always shifts in a zero into the msb.

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now