83
PCM-9562 User Manual
Appendix C
P
rog. GPIO
&
W
atchdog
T
imer
Error_Str1 db 'Error !! The system has no GPIO Chip or no support INT15
hook! ',0Ah,0Dh,'$'
;RA02 - END
;===============================================================
====
; Main Program Start
;===============================================================
====
.code
org 100h
.STARTup
;Clear Screen
pusha
lea dx, Advantech_Str
mov ah,09h
int 21h
lea dx, GX3_Fun_Str
mov ah,09h
int 21h
lea dx, Note1_Str
mov ah,09h
int 21h
lea dx, Note2_Str
mov ah,09h
int 21h
lea dx, Note3_Str
mov ah,09h
int 21h
lea dx, Note4_Str
mov ah,09h
int 21h
;RA02 - START
;===============================================================
====
; Get Number of GPIO group
; one group mean 8 gpio pins(one GPIO Chip)
; Input:
; ax=5E87h
; bh=00h
; output:
; ax=5E78 ;function success, other value means function fail
; cl= n group of gpio
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com