Iei-integration IMBA-Q454 v1.01 Uživatelský manuál Strana 203

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 213
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 202
IMBA-Q454-R10 User Manual
Page 203
C.3 Assembly Language Samples
C.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
C.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
Zobrazit stránku 202
1 2 ... 198 199 200 201 202 203 204 205 206 207 208 ... 212 213

Komentáře k této Příručce

Žádné komentáře