EasyManua.ls Logo

IEI Technology WSB-9152 - Assembly Language Samples; Enable the DIO Input Function; Enable the DIO Output Function

IEI Technology WSB-9152
258 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
WSB-9152 PICMG 1.0 SBC
Page 217
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

Table of Contents

Related product manuals