This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: CmpE 240 Homework Set #4 Solutions Port Questions : 1. Design a Self-Contained Port that meets the following requirements: a. 16-bit input and output port b. Port address = 00h c. Port resolution = 20h d. Accommodates the following port instructions: i. IN AL, 00h ii. IN AL, 01h iii. IN AX, 00h iv. OUT 00h, AL v. OUT 01h, AL vi. OUT 00h, AX 2. Design a 32-bit Output Port at I/O address 80h that interfaces to the most significant data bus bytes of a Pentium processor. Port resolution = 10h. 3. Design a 16-bit Input Port at I/O address F000h that interfaces to the data bus bytes of a 386SX processor. Port resolution = 20h. 4. Design an I/O decoder for the following ports and peripheral devices, located at the I/O addresses provided and using the decoder design technique shown in lecture: 8-bit input port at 20h 16-bit output port at 28h 32-bit output port at 30h 32-bit input port at 38h 8255A at 40h 8254 at 50h 8259A at 60h 8-bit input port at 00h 16-bit output port at 10h 32-bit output port at 20h...
View Full Document
This note was uploaded on 05/01/2011 for the course CPME 240 taught by Professor Frankcirimele during the Spring '11 term at Saint Joseph's College, Indiana.
- Spring '11