Siemens C500 User Manual page 97

Microcontroller family
Table of Contents

Advertisement

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 34 H
(00110100 B ). The instructions
SETB
SETB
will leave the carry flag set to 1 and change the data output on port 1 to 35 H
(00110101 B ).
SETB
C
Operation:
SETB
(C) ¬ 1
Encoding:
1 1 0 1
Bytes:
1
Cycles:
1
SETB
bit
Operation:
SETB
(bit) ¬ 1
Encoding:
1 1 0 1
Bytes:
2
Cycles:
1
Semiconductor Group
C
P1.0
0 0 1 1
0 0 1 0
bit address
4-71
Instruction Set
C500 Family
1998-04-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents