menu_top_normal
NeoLoch Home Page
Home Inquisitor Tester Learning Lab Consulting Shipping Policy Contact us Support ----------------------
News
Coming soon! 9060 Blade.
BCF Command:
Syntax:
Status Flags Effected:
BCF
BCF f,b
None

The BCF command will clear the bit specified by b in the register specified by f. BCF can be used to clear a bit in any internal register and ports on the microcontroller, permitting the control of individual signal lines connected to the MCU.

Code Example 1: Assume we have a register labeled TEMP with a value of 0xFF
BCF TEMP,0
BCF TEMP,5
BCF TEMP,7
Clear bit 0 of register TEMP = b'11111110'.
Clear bit 5 of register TEMP = b'11011110'.
Clear bit 7 of register TEMP = b'01011110'.









All contents of this website are copyrighted 2010-2018 NeoLoch