Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The language needed is assembly language 8086 2) The following questions are set up in view of the figures (a,b). a) Describe what type of

The language needed is assembly language 8086

image text in transcribedimage text in transcribedimage text in transcribed

2) The following questions are set up in view of the figures (a,b). a) Describe what type of I/O 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 0 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 Au-A AD, AD). A A CLK 74F373 123 Address Latch OE . . CBA 74F138 Input output Gaddress decoder G 74F244 Porto A 10/M SORS MPU Do AD, AD, D.-D. 74245 Data bus transceiver DIR DT/R 74F244 Port 1 DEN G RD 74F244 Port Figure (a) Figure 7.12 Sixty-four-line input circuit for an 8088 microcomputer Control bus Address bus A -A Data bus Do-D A A As A 74138 G To other even address peripheral 10/M A: G 0. CS Port A Do-D Do-D; A, 8256A Port C A RD RD WR Port B WR Figure 7.27 Memory-mapped 8255A DO 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 I/O 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 0 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 Au-A AD, AD). A A CLK 74F373 123 Address Latch OE . . CBA 74F138 Input output Gaddress decoder G 74F244 Porto A 10/M SORS MPU Do AD, AD, D.-D. 74245 Data bus transceiver DIR DT/R 74F244 Port 1 DEN G RD 74F244 Port Figure (a) Figure 7.12 Sixty-four-line input circuit for an 8088 microcomputer Control bus Address bus A -A Data bus Do-D A A As A 74138 G To other even address peripheral 10/M A: G 0. CS Port A Do-D Do-D; A, 8256A Port C A RD RD WR Port B WR Figure 7.27 Memory-mapped 8255A DO 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

Step: 3

blur-text-image

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 Processing

Authors: David M. Kroenke

12th Edition International Edition

1292023422, 978-1292023427

Students also viewed these Databases questions