Hi, hardware registers can be mapped and use the bit_test command. If You going to check one particular bit all the time, just map that bit in the register. Reference manual page 93. Example: #include #byte status = 0x03 main() { setup_counters(RTCC_INTERNAL,RTCC_DIV_2); if (bit_test ( status,7)) do something; } Good luck, Peter Schultz DVP Inc. 3430 Ocean View Blvd. Unit A Glendale, CA (818) 541-9020 Fax: (818) 541-9423 ----- Original Message ----- From: Jason Van Dellen To: Sent: Tuesday, February 09, 1999 7:19 PM Subject: status register in CCS >How do you look at the status register in CCS > >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >Jason Van Dellen >Electronic Proving Technology >jvd@attcanada.net >ICQ # 14180767 >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >