Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

this is microprocessor 8088 80886 course please use emu8086 and mention the details of the solution 2) The following questions are set up in view

image text in transcribed

image text in transcribed

image text in transcribed

this is microprocessor 8088 80886 course please use emu8086 and mention the details of the solution

2) The following questions are set up in view of the figures (a,b). a) Describe what type of 1/0 operation is carried out in Figure (a). Write an instruction sequence that will input the byte contents of input port 6 to memory location MEMI. b) What is the polling operation? Write a sequence of instructions to poll the input 17 at input port 5 to check whether it is switched to zero or not. Figure (a). c) Write a sequence of instructions that will read the contents of input port 7. Mask off all the bits except LSB. The content of LSB will be shifted to CF. If CF =1, then the program will go to start of service routine XXX. Figure (a). d) Describe what type of I/O operation is carried out in Figure (b). Write a sequence of instructions to initialize the control register in PPI O in Figure (b) so that Pa is an output port, PB and Pc are input ports. Initialize all the necessary registers. Ports are configured for mode 0 operation. e) Write a program to input the contents of PB and Pc then OR them together and send the resultant to PA. These ports are the PPI O ports in Figure (b). Ports are configured for mode 0 operation. Initialize all the necessary registers. Write comments and Use minimum number of instructions in your programs. ALE 356 Aa Am AD, AD, AAS CLK 74F373 12) Address latch A, A G CBA 74F138 G Input/ Output Ga address decoder 74F244 Porto A 10/M MPU G . D-D AD, AD 74F245 Data bus transceiver DIR D G DT/R 74F244 Port 1 DEN G RD D G 74F244 Port 7 Is Figure (a) Figure 7.12 Sixty-four-line input circuit for an 8088 microcomputer. Control bus Address bus A. Ang Data bus Do-D 0 . A A. B As 147 12 Ao 74F138 GB GA To other even address peripheral IO/M 8 A. 6 4 G - CS Port A D-D D.-D. A A 8255A Port C Az A RD RD Port B WR WR Figure 7.27 Memory-mapped 8255A I/O ports in an 8088 microcomputer, Figure (b) 2) The following questions are set up in view of the figures (a,b). a) Describe what type of 1/0 operation is carried out in Figure (a). Write an instruction sequence that will input the byte contents of input port 6 to memory location MEMI. b) What is the polling operation? Write a sequence of instructions to poll the input 17 at input port 5 to check whether it is switched to zero or not. Figure (a). c) Write a sequence of instructions that will read the contents of input port 7. Mask off all the bits except LSB. The content of LSB will be shifted to CF. If CF =1, then the program will go to start of service routine XXX. Figure (a). d) Describe what type of I/O operation is carried out in Figure (b). Write a sequence of instructions to initialize the control register in PPI O in Figure (b) so that Pa is an output port, PB and Pc are input ports. Initialize all the necessary registers. Ports are configured for mode 0 operation. e) Write a program to input the contents of PB and Pc then OR them together and send the resultant to PA. These ports are the PPI O ports in Figure (b). Ports are configured for mode 0 operation. Initialize all the necessary registers. Write comments and Use minimum number of instructions in your programs. ALE 356 Aa Am AD, AD, AAS CLK 74F373 12) Address latch A, A G CBA 74F138 G Input/ Output Ga address decoder 74F244 Porto A 10/M MPU G . D-D AD, AD 74F245 Data bus transceiver DIR D G DT/R 74F244 Port 1 DEN G RD D G 74F244 Port 7 Is Figure (a) Figure 7.12 Sixty-four-line input circuit for an 8088 microcomputer. Control bus Address bus A. Ang Data bus Do-D 0 . A A. B As 147 12 Ao 74F138 GB GA To other even address peripheral IO/M 8 A. 6 4 G - CS Port A D-D D.-D. A A 8255A Port C Az A RD RD Port B WR WR Figure 7.27 Memory-mapped 8255A I/O ports in an 8088 microcomputer, Figure (b)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Administrator Limited Edition

Authors: Martif Way

1st Edition

B0CGG89N8Z

More Books

Students also viewed these Databases questions

Question

LO5 Describe job analysis and the stages in the process.

Answered: 1 week ago