Iei-integration PICOe-945GSE Manuel d'utilisateur Page 186

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 197
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 185
PICOe-945GSE Half-Size CPU Card
Page 186
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
Vue de la page 185
1 2 ... 181 182 183 184 185 186 187 188 189 190 191 ... 196 197

Commentaires sur ces manuels

Pas de commentaire