Iei-integration WAFER-945GSE2 v1.03 Uživatelský manuál Strana 176

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 204
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 175
WAFER-945GSE2 User Manual
Page 159
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 175
1 2 ... 171 172 173 174 175 176 177 178 179 180 181 ... 203 204

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

Žádné komentáře