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 #98 background imageLoading...
Page #98 background image
i~e
M(3@-51 PROGRAMMER~SGUIDE AND INSTRUCTION SET
SETB <bit>
Function:
Example:
SETB C
Bytes:
cycles:
Encoding:
Operation:
SETB bit
Bytes:
cycles:
Encoding:
Operation:
SetBit
SETB sets the indicatedbit to one. SETB can operate on the carry flag or any directly
addressablebit. No other flagsare affected.
Thecarry flagis clesred.OutputPort 1hasbeenwrittenwiththe value34H(OO11O1OOB).The
instructions,
SETE C
SETB PI.O
willleavethe carry tlag set to 1and changethe data output on Port 1to 35H(OO11O1O1B).
1
1
11101 10011 I
SETB
(c) + 1
2
1
1101
100101 EiEEl
SETB
(bit)+ 1
2-68

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