Keil Logo Arm Logo

SETB

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.

See Also: CLR

SETB bit
C AC F0 RS1 RS0 OV   P
Bytes 2
Cycles 1
Encoding
11010010 bit
Operation
SETB
(bit) = 1
Example
SETB 63h
SETB C
C AC F0 RS1 RS0 OV   P
Bytes 1
Cycles 1
Encoding
11010011
Operation
SETB
C = 1
Example
SETB C

Keil logo

Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings