MICROPROCESSOR AND MICROCONTROLLER

PIC MICROCONTROLLER

ARCHITECTURE OF 8085

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
The instruction BSF stands for ____
A
Bit set flag register
B
Byte set flag register
C
Bit set file register
D
Byte set file register
Explanation: 

Detailed explanation-1: -Description. bsf scans the bits, starting at bit 0, in the doubleword operand or the second word. If the bits are all zero, ZF is cleared. Otherwise, ZF is set and the bit index of the first set bit, found while scanning in the forward direction, is loaded into the destination register.

Detailed explanation-2: -Description: BCF is a bit-oriented instruction that clears a single bit ‘ b ‘ of the file register f . File register f can be any RAM location or SFR (even a PORT register).

Detailed explanation-3: -BIT (short for “BIT test") is the mnemonic for a machine language instruction which tests specific bits in the contents of the address specified, and sets the zero, negative, and overflow flags accordingly, all without affecting the contents of the accumulator.

Detailed explanation-4: -BCF-Bit Clear f. BSF-Bit Set f. BTFSC-Bit Test f, Skip if Clear. BTFSS-Bit Test f, Skip if Set. BTG-Bit Toggle f.

There is 1 question to complete.