Iei-integration AFL-056A-LX v1.02 Uživatelský manuál Strana 102

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 116
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 101
AFOLUX LX Panel PC
Page 89
E.3 Assembly Language Samples
E.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
E.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 101
1 2 ... 97 98 99 100 101 102 103 104 105 106 107 ... 115 116

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

Žádné komentáře