Thread: Shifting Bytes
View Single Post
Old Dec 15th, 2006, 4:42 PM   #1
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Location: Waterloo, Ontario
Posts: 1,869
Rep Power: 5 Sane will become famous soon enough
Send a message via MSN to Sane
Shifting Bytes

If I have in my allocated space, an arbitrary value, let's say:

1001 1101 1011 0011 0000

How can I right shift, say, the third byte one over?

1001 1101 0000 1011 0011
Sane is online now   Reply With Quote