Question: in computer engineering, emu8086 processor 2) The following questions are set up in view of the figures (a,b). a) Describe what type of 1/0 operation

in computer engineering, emu8086 processor

in computer engineering, emu8086 processor 2) The following questions are set upin view of the figures (a,b). a) Describe what type of 1/0operation is carried out in Figure (a). Write an instruction sequence that

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 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 () 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 CLK ALA AD-AD, AAS 74F373 (2) Address latch OE . . CBA 74F138 G Input P output Gaddress decoder G b 74F244 Porto AL 10/M 8088 MPU As AD, AD D-D. 74F245 Data bus transceiver DIR G DT/R 74F244 Port 1 DEN G 115 RD gG 1986 74F244 Port 7 Figure (a) Figure 7.12 Sixty-four-line input circuit for an 8088 microcomputer. Control bus Address bus Ao Ang Data bus Do-D ob- As D A B As [ Ao 74F138 GB To other even address peripheral 10/M 17 8 1 GA Aid G -- IN 0. CS Port A D-D1 Do-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 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 () 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 CLK ALA AD-AD, AAS 74F373 (2) Address latch OE . . CBA 74F138 G Input P output Gaddress decoder G b 74F244 Porto AL 10/M 8088 MPU As AD, AD D-D. 74F245 Data bus transceiver DIR G DT/R 74F244 Port 1 DEN G 115 RD gG 1986 74F244 Port 7 Figure (a) Figure 7.12 Sixty-four-line input circuit for an 8088 microcomputer. Control bus Address bus Ao Ang Data bus Do-D ob- As D A B As [ Ao 74F138 GB To other even address peripheral 10/M 17 8 1 GA Aid G -- IN 0. CS Port A D-D1 Do-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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!