SAB80C517-M16 SIEMENS [Siemens Semiconductor Group], SAB80C517-M16 Datasheet - Page 230

no-image

SAB80C517-M16

Manufacturer Part Number
SAB80C517-M16
Description
8-Bit CMOS Single-Chip Microcontroller
Manufacturer
SIEMENS [Siemens Semiconductor Group]
Datasheet
ORL
Function:
Description:
Example:
ORL
Operation:
Encoding:
Bytes:
Cycles:
ORL
Operation:
Encoding:
Bytes:
Cycles:
Semiconductor Group
C, <src-bit>
C,bit
C,/bit
Logical OR for bit variables
Set the carry flag if the Boolean value is a logic 1; leave the carry in its current state
otherwise. A slash (”/”) preceding the operand in the assembly language indicates
that the logical complement of the addressed bit is used as the source value, but
the source bit itself is not affected. No other flags are affected.
Set the carry flag if, and only if, P1.0 = 1, ACC.7 = 1, or OV = 0:
MOV
ORL
ORL
ORL
(C)
2
2
ORL
(C)
2
2
0 1 1 1
1 0 1 0
(C)
(C)
C,P1.0
C,ACC.7
C,/OV
(bit)
0 0 1 0
0 0 0 0
(bit)
; Load carry with input pin P1.0
; OR carry with the accumulator bit 7
; OR carry with the inverse of OV
231
bit address
bit address
Instruction Set

Related parts for SAB80C517-M16