comp_freak
Member level 1
Hi there,
I have to shift a 16 bit number either left or right shift, i got stuck because pic16f877 only provide roatation operation plus to 16 bit number sound very complicated to me .. since again there will be two bytes upper and lower and bytes will be moving from upper to lower when i do shifting in either case.. any one has done that before or know any routines???
I have to shift a 16 bit number either left or right shift, i got stuck because pic16f877 only provide roatation operation plus to 16 bit number sound very complicated to me .. since again there will be two bytes upper and lower and bytes will be moving from upper to lower when i do shifting in either case.. any one has done that before or know any routines???