How to make CCS compiler refrain from adding [bcf STATUS,0] instruction?

Status
Not open for further replies.

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?
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…