Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
It probably shifts through a caret...
01010110 - >10101100
 11100111 - > 11001110
The  is just a "inbetween" savetate of your last byte... Hope it helps
Dreaming517y@linuxer4fun Yeah a friend of mine explained it to me, it "triggers" the overflow flag, so it does not change sign. Thanks!
Dreaming517y@linuxer4fun thanks for your help :)
There's a difference between arithmetic shifting, and logical shifting. Logical shifting moves the entire bit pattern left or right, while arithmetic shifting preserves the sign bit.
There's also another kind of shift called a rotate, where the bits going off the end of the word aren't lost but are shifted into the other end.
TCPizza29assignment: use winAPI to create a "virus" that put itself in autorun and does nothing. me, a curious student...
mcminnra10"Python is such a hard language. It has so many rules" - Undergraduate Student who sent out mass email to the ...
explodingkittns7"You'll be learning and working with C++ and Assembly." I could very well be the only student ever to have be...