|
-
April 14th, 2007, 10:22 PM
#1
Shift right arithmetic
I understand shift right arithmetic as shifting right and adding zeros in the places execept for the first place which gets the first bit of the original value as a sign bit. I'm not sure if this is right though. My professor gave me a program that is supposed to shift a value right 3 places and the original value is ffff0000 and the shifted value is ffffe000, and I don't think this is right with the definition I have of arithmetic shifts. I'm not sure if I'm not understanding the concept right, or if his program is just wrong.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|