Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

16-bit Input Port & Printer Interface for FALCON-A CPU, Slides of Computer Architecture and Organization

Instructions for designing a 16-bit parallel input port and a centronics parallel printer interface for the falcon-a cpu. The input port is mapped at address 7eh, and the printer interface is mapped starting at address 38h. Details on the use of tri-state buffers, address decoders, and data bus multiplexing.

Typology: Slides

2011/2012

Uploaded on 11/03/2012

dharmaraaj
dharmaraaj 🇮🇳

4.4

(65)

153 documents

1 / 33

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
1
Problem Statement:
Design a 16-bit parallel input port
mapped on address 7Eh of the I/O
space of the FALCON-A CPU.
Docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21

Partial preview of the text

Download 16-bit Input Port & Printer Interface for FALCON-A CPU and more Slides Computer Architecture and Organization in PDF only on Docsity!

Problem Statement:

Design a 16-bit parallel input port

mapped on address 7Eh of the I/O

space of the FALCON-A CPU.

  • The address in this case is 7Eh.
  • The address decoder has the

inputs A7 and A0 inverted.

  • Control bus signal IOR# is used

instead of the signal IOW#.

Differences

A 16-bit Parallel Input Port for

the FALCON-A at Address

7Eh and 7Fh

Design#

Given a FALCON-A processor with a 16-

bit parallel input port at address 7Eh and a

16-bit parallel output port at address DEh.

Sixteen LED branches are used to display

the data at the output port and sixteen

switches are used to send data through

the input port. Write an assembly

language program to continuously monitor

the input port and blink the LED or LED(s)

corresponding to the switch(es) set to

logic 1.

  • After the second wait, the

program reads the input port

again.

  • The LEDs that will be turned on

according to the new switch

settings at the input port.

  • The process repeats indefinitely.
  • It is also possible to use a

single address for both the

input and the output port.

  • This can be done with the help

of a decoder.

Example

FALCON-A’s Address

Decoder for an I/O Port at

Address 2Ch

  • The address decoder uses the

addresses 00DEh and 00DFh of the

FALCON-A’s memory space.

  • Use the store instruction instead of

the out instruction for sending the

data to the output port.

Disadvantage

• The address decoder will become

more complex, resulting in

increased hardware costs.