NeoLoch Home Page
Home

Products
Inquisitor IC Tester
4-Dig 7-Seg Display Module

Learning Lab
Assembly Cmds

Consulting
Shipping Policy

About us

Contact us

Support
Knowledgebase

Secured by PayPal
Official PayPal Seal
BSF Command:
Syntax:
Status Flags Effected:
BSF
BSF f,b
None

The BSF command will clear the bit specified by b in the register specified by f. BSF can be used to set 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 0x00
BSF TEMP,0
BSF TEMP,5
BSF TEMP,7
Sets bit 0 of register TEMP = b'00000001'.
Sets bit 5 of register TEMP = b'00100001'.
Sets bit 7 of register TEMP = b'10100001'.
Home Consulting Products About us Contact us
All contents of this website are copyrighted 2010-2011 NeoLoch, LLC