Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/05/04 09:01
Read: times


 
#67942 - RE: Shifting/Rotating
Responding to: ???'s previous message
"I want to use the rotate and carry to set the carry flag to 0, to detect which row of the keys was pressed."


Please give this assembler routine.
I'm sure, it can easily be rewritten in C.

Most times there is no need to access the carry flag directly. Also its not suggested to do so, since then the code was no longer portable.

And also most times the ">>" and "<<" operators are sufficient to do what you want.


Peter


List of 15 messages in thread
TopicAuthorDate
Shifting/Rotating            01/01/70 00:00      
   RE: Shifting/Rotating            01/01/70 00:00      
      RE: Shifting/Rotating            01/01/70 00:00      
         RE: Shifting/Rotating            01/01/70 00:00      
   RE: Shifting/Rotating            01/01/70 00:00      
   Horses for Courses            01/01/70 00:00      
   RE: Shifting/Rotating            01/01/70 00:00      
      RE: Shifting/Rotating            01/01/70 00:00      
         RE: Shifting/Rotating            01/01/70 00:00      
         RE: Shifting/Rotating            01/01/70 00:00      
            RE: Shifting/Rotating            01/01/70 00:00      
               RE: Shifting/Rotating            01/01/70 00:00      
                  RE: Shifting/Rotating            01/01/70 00:00      
                  RE: Shifting/Rotating            01/01/70 00:00      
                     RE: Shifting/Rotating            01/01/70 00:00      

Back to Subject List