Assembly Language Samples; Enable The Dio Input Function; Enable The Dio Output Function - IEI Technology WSB-9152 User Manual

Hide thumbs Also See for WSB-9152:
Table of Contents

Advertisement

WSB-9152 PICMG 1.0 SBC
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
INT
15H
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
MOV
BL, 09H
INT
15H
Sets the digital port as input
Initiates the INT 15H BIOS call
Sets the digital port as output
Initiates the INT 15H BIOS call
Page 217

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents