Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1. Assume AX-CB2AH, BX=FE61H, calculate the contents of the flag register after the following instructions: i. Add AL, BH Add AX, BX i. Question
1. Assume AX-CB2AH, BX=FE61H, calculate the contents of the flag register after the following instructions: i. Add AL, BH Add AX, BX i. Question 2(a) A bus transaction on the 8086 system takes 4 clock cycles. If the instruction Out DX,al is executed, explain the bus transactions that are needed to execute the instruction assuming DX=FF05H. Question 2(b) i. Consider the operation of PPI 8255. What is the difference between simple port and a port with handshaking capabilities. ii. If the base address of the 8255 is AA10h, program port A as bidirectional port with handshaking, port B as input port with handshaking and C as simple output port. Show how the PPI 8255 is connected to the CPU. iii. Question 3(a) Show why output ports and input ports are important to connect CPU to output devices and input devices respectively. Question 3(b) It is required to design an output port with read back capability (i.e. the output port can also be read to get the last data written to the port). Show the design of the circuit for the port with an address of 04A2h. Question 4 Assume serial communication with 7 bits data, odd parity, 2 stop bits and consider the following bit stream 1110011010101111111101010111010101110111 - i. Show the actual data sent by the sender. ii. Show the error associated with each character if any occur. ii. Show how long does it take to send each character if the baud rate is 4800bps
Step by Step Solution
★★★★★
3.46 Rating (166 Votes )
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started