0% found this document useful (0 votes)
10 views

ECE404 Assignment02-Spring2024

The document contains questions about I/O devices and memory mapped I/O. It asks about IN and OUT instructions, reading from a keyboard port, avoiding loading during reads, clearing an 8255 control word register, how 8255 ports work in I/O mode, what the 8255 chip is, which pins are used to select ports and registers, and finding the starting address of a 1KB memory chip given the last address.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views

ECE404 Assignment02-Spring2024

The document contains questions about I/O devices and memory mapped I/O. It asks about IN and OUT instructions, reading from a keyboard port, avoiding loading during reads, clearing an 8255 control word register, how 8255 ports work in I/O mode, what the 8255 chip is, which pins are used to select ports and registers, and finding the starting address of a 1KB memory chip given the last address.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

ECE 404

Microprocessor 2
Assignment 02

Student Name
Student ID

1
Question 1

1. IN and OUT instructions are used in ____ mapped I/O devices.


a) I/O mapped
b) Memory mapped

2. In 8086 what is the instruction to read an ASCII character from keyboard (let
keyboard i/o port no. be 20H)?
a) IN AL 20H
b) OUT AL 20H

3. To avoid loading during read operation, the device used is


a) Latch
b) Flipflop
c) Buffer
d) tristate buffer

4. The pin that clears the control word register of 8255 when enabled is
a) CLEAR
b) SET
c) RESET
d) CLK

5. In the I/O mode, the 8255 ports work as


a) reset pins
b) set pins
c) programmable I/O ports
d) only output ports

6. The 8255 is a ______ chip.


a) Input/Output
b) Analog to Digital
c) Digital to analog
d) None of the mentioned

2
7. Which pins are used to select the ports and the control register?
a) CS
b) A1
c) A0
d) All of the mentioned

8. The memory address of the last location of a 1KB memory chip is given as 0FBFF,
Choose the address of the first location?
a) 0F800H
b) 0F801H
c) 0F808H
d) 0F817H

Question 2

Design for OUT 9CH,AL by using


a) 72ls373
b) 8255

3
4
Question 3
Design for IN AL,83H by using
a) 72ls373
b) 8255

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy