Skip to Main Content
8051 Microcontroller (Internals, Instructions, Programming and Interfacing)
book

8051 Microcontroller (Internals, Instructions, Programming and Interfacing)

by Subrata Ghosal
May 2024
Intermediate to advanced content levelIntermediate to advanced
503 pages
17h 2m
English
Pearson India
Content preview from 8051 Microcontroller (Internals, Instructions, Programming and Interfacing)
135
10.4 | BITORIENTED LOGICAL OPERATIONS
Assuming that the original content of this bit is 0 and of CY fl ag 1, this instruction would store 1 in the
CY fl ag after completion of its execution. Neither the original content of the bit would be changed nor would
any other fl ags be aff ected. If any port pin is addressed then the data would be collected from its input pin,
and not from its output latch.
Fig. 10.15 illustrates the other version of ORL instruction, which complements the addressed bit before
performing the OR operation. If the original content of the addressed bit is 0 and CY fl ag contained 1 then
the instruction would leave 1 in ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

8051 Microcontroller, Internals, Instructions, Programming and Interfacing, 2nd Edition

8051 Microcontroller, Internals, Instructions, Programming and Interfacing, 2nd Edition

Subrata Ghoshal

Publisher Resources

ISBN: 9781282655034Publisher Website