DOS Interrupts
DOS Interrupts
A int instruction is like a special kind of subroutine call. Will discuss details later int stands for INTERRUPT the int instruction is called a software interrupt The format of an int instruction is : int number where number can be value 0-255
OUTPUT functions
INPUT functions
AH = 1, wait for Character to be typed, return character in AL. Character is also echoed to screen AH = 6, DL=0FFh, checks if character is available. If available, return in AL with Zero Flag = 0. If no character is available, return with ZERO flag = 1. Note that this function DOES NOT wait for a character to be typed. AH = 0Ah get an entire string from the user (we will look at this in more detail later).