CS401 - Short Notes Chapter 14 PDF
CS401 - Short Notes Chapter 14 PDF
COM
CS401-ASSEMBLY LANGUAGE AND PROGRAMMING
CS401 CHAPTER NO 14 (LECTURE 38)
PREPARED BY: HTTPS://SUPERSTARWEBTECH.BLOGSPOT.COM/
The data on the serial port is sent in a standard format called RS232 communication.
Start bit, data bit, parity bit and stop bit:
The data starts with a 1 bit called the start bit, then five to eight data bits, an optional parity bit,
and one to two 0 bits called stop bits.
The number of data bits, parity bits, and the number of stop bits have to be configured at both
ends. Also, the duration of a bit must be precisely known at both ends called the baud rate of
the communication.
The BIOS INT 14 provides serial port services.
Limitation in using BIOS:
A major limitation in using BIOS is that it does not allows interrupt driven data transfer, i.e. we
are interrupted whenever a byte is ready to be read or a byte can be transferred since the
previous transmission has completed. To achieve this, we have to resort to direct port access.
Important BIOS services regarding the serial port are discussed below: