Manual Interrupiones 8086

Páginas: 19 (4689 palabras) Publicado: 11 de abril de 2011
BIOS and DOS Interrupts INTERRUPT 10h FUNCTIONS (VIDEO) INTERRUPT 16h FUNCTIONS (KEYBOARD) INTERRUPT 21h FUNCTIONS (DOS SERVICES) Interrupt Description Number 0 1 2 3 4 5 6 7 8 9 0A-0D 0E 0F 10 11 12 13 14 16 17 18 19 1A 1B 1C 1D 1E 1F 20 21 22 23 24 25 26 27 28-3F 40,41 Divide by Zero. Internal: activated when attempting to divide by zero. Single Step. Internal: activated when a memory error isexecuted. Nonmaskable. Internal: activated when a memory error occurs. Breakpoint. Internal: activated when the 0CCh (INT 3) instruction is executed. Overflow. Activated when the INTO instruction is executed and the Overflow flag is set. Print Screen. Activated either by the INT 5 instruction or tying SHIFT-PRTSC. (Reserved) (Reserved) Timer Interrupt. Updates the BIOS clock 18.2 times per second.For your own programming, see INT 1Ch. Keyboard Hardware Interrupt. Activated when a key is pressed. Reads the key from the keyboard port and stores it in the keyboard typeahead buffer. (Reserved) Diskette Interrupt. Activated when a disk seek is in progress. (Reserved) Video Services. Routines for manipulating the video display (see the complete list in a subsequent table). Equipment Check.Return a word showing all the peripherals attached to the system. Memory Size. Return the amount of memory (in 1,024-byte blocks) in AX. Disk Services. Reset the disk controller, get the status of the most recent disk access, read and write physical sectors, and format a disk. Asynchronous (Serial) Port Services. Initialize and read or write the asynchronous communications port, and return the port'sstatus. Keyboard Services. Read and inspect keyboard input (see the complete list in a subsequent table). Printer Services. Initialize, print, and return the status of the printer. ROM BASIC. Execute cassette BASIC in ROM. Boot Strap. Reboot DOS. Time of Day. Get the number of timer ticks since the machine was turned on, or set the counter to a new value. Ticks occur 18.2 times per second.Keyboard Break. This interrupt handler is executed by INT 9h when CTRL-BREAK is pressed. User Timer Interrupt. Empty routine, executed 18.2 times per second. May be used by your own program. Video Parameters. Point to a table containing initialization and information for the Video Controller chip. Diskette Parameters. Point to a table containing initialization information for the diskette controller.Graphics Table. Table kept in memory of all extended graphics with ASCII codes greater than 127. Terminal Program. Terminate the current program (INT 21h, function 4Ch should be used instead. DOS Services (see the complete list in the next table). DOS Terminate Address. Point to the address of the parent program or process. When the current program ends, this will be the return address. DOS BreakAddress. DOS jumps here when CTRL-BREAK is pressed. DOS Error Address. DOS jumps to this address when there is a critical error in the current program, such as a disk media error. DOS Disk Read. Used for reading logical sectors from the disk. DOS Disk Write. Used for writing logical sectors on the disk. Terminate and Stay Resident. Exit to DOS or the calling program, but leave the current program inmemory. (Reserved) Fixed Disk Services. Fixed disk controller.

4B-7F 80-F0 F1-FF

(Available for application programs) (Reserved: used by BASIC) (Available for application programs)

INTERRUPT 21h FUNCTIONS (DOS SERVICES) Function number is loaded in AH for each function Function Description 0 1 2 3 4 5 6 7 8 9 0A 0B 0C 0D 0E 0F 10 11 12 Program Terminate. Terminate the current program (usefunction 4Ch instead). Keyboard Input. Wait for a character from the standard input device: echo it on the console. Output: AL = character. Display Output. Display the character in DL on the standard output device (console). Auxiliary Input. Wait for a character from the standard auxiliary device (serial). Output: AL = character. Auxiliary Output. Send the character in DL to the standard...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • Manual 8086
  • 8086
  • El 8086
  • 8086
  • microprocesador 8086
  • Microprocesador 8086
  • intrucciones del 8086
  • Instrucciones 8086

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS