You are here : assembly8051SETB

SETB - 8051

The SETB instruction sets the bit operand to a value of 1.

This instruction can operate on the carry flag or any other directly addressable bit.

No flags are affected by this instruction.


Syntax

SETB bit


Example

SETB C		;Sets Carry Flag 1 byte  1 cycle
SETB 63h	;Sets bit 63h    2 bytes 1 cycle


Output / Return Value


Limitations


Alternatives / See Also


Reference