Advantech PCM-9562 User Manual page 101

Table of Contents

Advertisement

jne
;4. Set GPIO 1,3,5,7 Output differential
pop
push
mov
mov
int
;5. Check GPI 0,2,4,6 value
pop
push
mov
mov
int
pop
push
dec
mov
mul
lea
add
cmp
jne
pop
push
dec
mov
mul
lea
add
;Do Second PCA9554 test
;1.Set GPIO 0,2,4,6 as output, GPI 1,3,5,7 as input
test_result:
mov
int
pop
dec
jnz
Finish_Test:
PCM-9562 User Manual
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
test_result
cx
;restore NO. of GPIO chip
cx
;save NO. of GPIO chip
ax,5e87h
bx,0422h
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,33h
test_result
cx
;restore NO. of GPIO chip
cx
;save NO. of GPIO chip
cx
al,Success_lenght
cl
dx, Success1_Str
dx,ax
ah,09h
21h
cx
cx
next_test
88

Advertisement

Table of Contents
loading

Table of Contents