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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/22/05 12:53
Read: times


 
#88141 - Rotating Carry (CY) through ACC in C51
I'm a new comer in C51,

but I need to rotate carry (CY)
through ACC.

in A51
jb P1.0,$ ;waiting for the start bit
jnb P1.1,$ ;getting the data bit
mov C,P1.0 ;shifted
RLC A ;to Accumulator

I'd like to do that in C51, please help.
Thank you.


Kurnia Brahmana



List of 20 messages in thread
TopicAuthorDate
Rotating Carry (CY) through ACC in C51            01/01/70 00:00      
   Why ?            01/01/70 00:00      
      It is a keyboard interface sub routine            01/01/70 00:00      
         A51 to C51 interfacing            01/01/70 00:00      
            inline            01/01/70 00:00      
               it does, but            01/01/70 00:00      
                  Nevertheless            01/01/70 00:00      
                     A Case in point            01/01/70 00:00      
   what?            01/01/70 00:00      
      Thank you.            01/01/70 00:00      
      Try            01/01/70 00:00      
   what?            01/01/70 00:00      
   shift first            01/01/70 00:00      
      Problem Solved            01/01/70 00:00      
         Wrong approach            01/01/70 00:00      
            using chainsaw to perform dental surgery            01/01/70 00:00      
               or...            01/01/70 00:00      
   ANSI C            01/01/70 00:00      
      microcontroller C portability is a myth            01/01/70 00:00      
         Portability No .. Commonality Maybe            01/01/70 00:00      

Back to Subject List