Question: this question related please answer it carefully Set 2G: 2. Figure 1 shows an assembly language to initialize a UART (Universal Asynchronous Receiver Transmitter). Answer


this question related please answer it carefully
Set 2G: 2. Figure 1 shows an assembly language to initialize a UART (Universal Asynchronous Receiver Transmitter). Answer the following questions based on the assembly language. (a) Determine address for the following register: (1) Line control register (2 marks) (ii) Line status register (2 marks) (ii) First In First Out (FIFO) control register. (2 marks) (b) Determine the following values: (i) Baud rate. (2 marks) (ii) Data length (2 marks) (iii) The number of stop bit. (2 marks) (c) Discuss the parity bit used in this data. (6 marks) (d) Identify the operation of the UART (whether receiver or transmitter). Justify your answer. (6 marks) (6 marks) (e) If the content of Line Status Register in the receiver is ODH, discuss the error condition of the received data. (6 marks) INIT MOV DX, 7133 MOV AL, BEH OUT DX, AL MOV DX, 7130 MOV AL, 001 OUT EX, AL MOV DX, 71311 MOV AL, OPH OUT DX, AL MOV DX, 71334 MOV AL, DEH OUT DX, AT MOV DX, 71321 MOV AL, 074 OU7 DX, AL TEST MOV DX, 7135 IN AL, EX AND AL, 208 JA TEST MOV DX, 7130H MOV AL, 140001 OUT DX, AL Figure 1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
