EasyManuals Logo

Intel MCS 51 User Manual

Intel MCS 51
334 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #93 background imageLoading...
Page #93 background image
in~.
MCS@-51PROGRAMMER’S GUIDE AND INSTRUCTION SET
ORL C,<src-bit>
Function:
Description:
Example:
ORL C,bit
Bytes:
Cycles:
Encoding:
Operation:
ORL C,/bit
Bytes:
Cycles:
Encoding:
Operation:
Logical-ORfor bit variables
*t the carry flagif the Booleanvalue is a logical 1; leave the carry in its current state
otherwise. A slash (“/”) precedingthe operandin the assemblylanguageindicatesthat the
logicalcomplementofthe addressedbit is usedas the sourcevalue,but the sourcebit itselfis
not at%cted.No other tlags are afkcted.
Setthe carry flag if and onlyifP1.O = 1,ACC. 7 = 1,or OV = O:
MOV CPI.O
;LOADCARRYWITH INPUT PIN P1O
ORL C,ACC.7 ;OR CARRYWITH THE ACC.BIT 7
ORL Wov ;OR CARRYWITHTHE INVERSEOF OV.
2
2
0111
IOO1OI EEl
2
.
I
1010
100001 EEEl
ORL
(c)+ (c) v
@=)
2-63

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Intel MCS 51 and is the answer not in the manual?

Intel MCS 51 Specifications

General IconGeneral
BrandIntel
ModelMCS 51
CategoryMicrocontrollers
LanguageEnglish

Related product manuals