Enable The Dio Input Function; Enable The Dio Output Function - Global American 3307800 User Manual

Table of Contents

Advertisement

3307800
A.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
INT
A.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
MOV
INT
AX, 6F08H
Sets the digital port as input
15H
Initiates the INT 15H BIOS call
AX, 6F09H
Sets the digital port as output
BL, 09H
15H
Initiates the INT 15H BIOS call
Page 103

Advertisement

Table of Contents
loading

Table of Contents