English
Language : 

SAB80515 Datasheet, PDF (198/270 Pages) Siemens Semiconductor Group – 8-Bit Single-Chip Microcontroller Family
Instruction Set
SETB <bit>
Function:
Set bit
Description: SETB sets the indicated bit to one. SETB can operate on the carry flag or any
directiy addressable bit. No other flags are affected.
Example:
The carry flag is cleared. Output port 1 has been written with the value 34H
(00110100B). The instructions
SETB C
SETB P1.0
will leave the carry flag set to 1 and change the data output on port 1 to 35H
(00110101B).
SETB C
Operation:
SETB
(C) ← 1
Encoding:
Bytes:
Cycles:
1101 0011
1
1
SETB bit
Operation:
SETB
(bit) ← 1
Encoding:
Bytes:
Cycles:
1101 0010
2
1
bit address
Semiconductor Group
198