Samsung KS57C2308 Manual page 145

Single-chip cmos microcontroller
Table of Contents

Advertisement

KS57C2308/P2308/C2316/P2316
OR
— Logical OR
OR
dst,src
Operation:
Operand
A, #im
A, @HL
EA,RR
RRb,EA
Description:
The source operand is logically ORed with the destination operand. The result is stored in the
destination. The contents of the source are unaffected.
Operand
A, #im
A, @HL
EA,RR
RRb,EA
Example:
If the accumulator contains the value 0C3H (11000011B) and register pair HL the value 55H
(01010101B), the instruction
OR
leaves the value 0D7H (11010111B) in the accumulator .
Operation Summary
Logical-OR immediate data to A
Logical-OR indirect data memory contents to A
Logical-OR double register to EA
Logical-OR EA to double register
Binary Code
1
1
0
0
0
1
0
0
1
1
1
0
0
0
1
1
1
0
0
0
1
EA,@HL
1
1
1
0
1
0
d3
d2
d1
d0
1
1
0
1
0
1
1
1
0
0
0
1
r2
r1
0
1
1
1
0
0
0
0
r2
r1
0
SAM47 INSTRUCTION SET
Bytes
2
1
2
2
Operation Notation
A
A OR im
A
A OR (HL)
EA
EA OR RR
RRb
RRb OR EA
Cycles
2
1
2
2
5-71

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

P2308C2316P2316Ks57p2308Ks57c2316Ks57p2316

Table of Contents