Advantech PCM-9562 User Manual page 99

Table of Contents

Advertisement

;2. Set GPIO 0,2,4,6 Output Low
;RA02 - START
pop
push
mov
mov
int
;RA02 - END
;3. Check GPI 1,3,5,7 value
;RA02 - START
pop
push
mov
mov
int
pop
push
dec
mov
mul
lea
add
cmp
jne
;4. Set GPIO 0,2,4,6 Output differential
pop
push
mov
mov
int
;5. Check GPI 1,3,5,7 value
pop
push
mov
mov
int
pop
push
dec
PCM-9562 User Manual
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
cx
;restore NO. of GPIO chip
cx
;save NO. of GPIO chip
ax,5e87h
bx,0400h
15h
cx
;restore NO. of GPIO chip
cx
;save NO. of GPIO chip
ax,5e87h
bx,03FFh
15h
cx
;restore NO. of GPIO chip
cx
;save NO. of GPIO chip
cx
al,Fail_lenght
cl
dx, Fail_Str
dx,ax
bl,00
test_result
cx
;restore NO. of GPIO chip
cx
;save NO. of GPIO chip
ax,5e87h
bx,0411h
15h
cx
;restore NO. of GPIO chip
cx
;save NO. of GPIO chip
ax,5e87h
bx,03FFh
15h
cx
;restore NO. of GPIO chip
cx
;save NO. of GPIO chip
cx
86

Advertisement

Table of Contents
loading

Table of Contents