Advantech PCM-9588 Manual Do Utilizador

Página de 104
PCM-9588 User Manual
80
                            db  'Fouth GPIO Chip Test Fail !!  ',0Ah,0Dh,'$'
                            db  'Fifth GPIO Chip Test Fail !!  ',0Ah,0Dh,'$'
                            db  'Sixth GPIO Chip Test Fail !!  ',0Ah,0Dh,'$'
                            db  'Seventh GPIO Chip Test Fail !!',0Ah,0Dh,'$'
                            db  'Eighth GPIO Chip Test Fail !! ',0Ah,0Dh,'$'
      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: