Dec 14, 2006 #1 P planet69 Member level 2 Joined Jul 27, 2006 Messages 51 Helped 5 Reputation 10 Reaction score 4 Trophy points 1,288 Location Malaysia Activity points 1,551 //using the below lines in C, I <<= 1; i noticed that the CCS compiler will perform clearing of bit0 (C) of STATUS register before RRL register I, I do not want the compiler to add [bcf STATUS,0] instruction, instead i want to bit set it. Is there anything i need to do?
//using the below lines in C, I <<= 1; i noticed that the CCS compiler will perform clearing of bit0 (C) of STATUS register before RRL register I, I do not want the compiler to add [bcf STATUS,0] instruction, instead i want to bit set it. Is there anything i need to do?
Dec 14, 2006 #2 R ric_vas Member level 4 Joined Jun 30, 2005 Messages 71 Helped 3 Reputation 6 Reaction score 0 Trophy points 1,286 Activity points 1,663 Re: CCS compiler Maybe the shift_left command can help you. Take a look at the link below: https://www.ccsinfo.com/forum/viewtopic.php?t=27233&highlight=shift+carry Regards, Ric
Re: CCS compiler Maybe the shift_left command can help you. Take a look at the link below: https://www.ccsinfo.com/forum/viewtopic.php?t=27233&highlight=shift+carry Regards, Ric
Dec 15, 2006 #3 P planet69 Member level 2 Joined Jul 27, 2006 Messages 51 Helped 5 Reputation 10 Reaction score 4 Trophy points 1,288 Location Malaysia Activity points 1,551 Re: CCS compiler just what i need...thanks