• Rotate through carry
    How do I implement rotate through carry (RLC A, RRC A) in C (Keil C51) ? This is useful for bit banging operations in 12 bit serial Adc's , serial EEprom's . Now I use the assembly routines as it seems...
  • 8051 c program for rotating through carry
    Sir, May i know the 8051 c program for the instruction rlc a (rotate accumulator left through carry) Is there any operator for this insruction like shift operator thanks & regards Rijo
  • >> convert to RR not RRC
    Hi, I need to put a statement in a interrupt routine to shift a variable right one-bit. Like this: dat >>=1; It generated assembly code like this: MOV A,dat CLR C RRC A MOV dat,A ...
  • Is there a function for string rotate ?
    "This is a string. " Rotate to : "his is a string. T" Rotate to : "is is a string. Th" .... I use it for LCD Display for Scroll.
  • how to rotate or shift data
    how to rotate or left/right shift the data on port0 of 8051