Professional Documents
Culture Documents
Chapter - 4 (In/Out) : by Hasan Murad Cse, Uap
Chapter - 4 (In/Out) : by Hasan Murad Cse, Uap
By
Hasan Murad
CSE,UAP
In/out Operation
• BIOS Routine
• Interrupt Vector
BIOS
• BIOS(Basic input/output system)
• Perform I/O operation for the PC
• BIOS routines are machine specific
• DOS I/O operations are done by BIOS
• In simple word BIOS is a library of input/output functions
Interrupt vector
• The addresses of the BIOS routines are called interrupt vectors
The Interrupt Instruction
• INT interrupt_number
• INT 21H
• INT 21H ->Console
Functions of INT 21H
Function Number Routine
1 Single-Key Input
2 Single-Character Output