Iei-integration PICOe-HM650 Manual de usuario Pagina 167

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 174
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 166
PICOe-HM650 Half-size PCIe CPU Card
Page 153
D.3 Assembly Language Samples
D.3.1 Enable the DIO Input Function
The BIOS interrupt call INT 15H controls the digital I/O. An assembly program to enable
digital I/O input functions is listed below.
MOV AX, 6F08H
Sets the digital port as input
INT 15H
Initiates the INT 15H BIOS call
D.3.2 Enable the DIO Output Function
The BIOS interrupt call INT 15H controls the digital I/O. An assembly program to enable
digital I/O output functions is listed below.
MOV AX, 6F09H
Sets the digital port as output
MOV BL, 09H
INT 15H
Initiates the INT 15H BIOS call
Vista de pagina 166

Comentarios a estos manuales

Sin comentarios