B.3 assembly language samples, B.3.1 enable the dio input function, B.3.2 enable the dio output function – IEI Integration PCIE-Q350 v1.12 User Manual
Page 225: Ssembly, Anguage, Amples
Advertising

PCIE-Q350 PICMG 1.3 CPU Card
Page 204
15
Input 7
11 (GP37)
General purpose I/O port 3 bit 7
16
Output 7
20 (GP27)
General purpose I/O port 2 bit 7
17 GND
N/A
N/A
18 +5V
N/A
N/A
B.3 Assembly Language Samples
B.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
B.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
Advertising