Skip to Main Content
The X86 Microprocessors: Architecture and Programming (8086 to Pentium), 1st Edition
book

The X86 Microprocessors: Architecture and Programming (8086 to Pentium), 1st Edition

by Lyla B. Das
May 2024
Intermediate to advanced content levelIntermediate to advanced
665 pages
23h 2m
English
Pearson India
Content preview from The X86 Microprocessors: Architecture and Programming (8086 to Pentium), 1st Edition
PERIPHERAL INTERFACING – II 373
Example 10.13
Write the control word for setting up the FIFO so as to read in keys that are pressed.
Solution
e control word is
0100 0000 i.e., 40H
Example 10.14
Write a program to display ‘5’ in the fi rst LED position of the LED display used, as per the
block diagram of Fig 10.14.  e display consists of 8 LEDs to be used in the left entry mode.
e keyboard is of type ‘encoded scan keyboard – 2 key lockout’.  e address of the data register
is 0C0H and of the control register is 0C2H.
Solution
e control words for setting up the display, clearing the display, and for writing into the display
RAM have been ...
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

Microprocessors and Microcontrollers  by Pearson

Microprocessors and Microcontrollers by Pearson

Lyla B Das

Publisher Resources

ISBN: 9781282663169