Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

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

Status
Not open for further replies.

planet69

Member level 2
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

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top