Fpc 7619, 19 inch atom fanless panel pc – Acnodes FPC 7619 User Manual
Page 53

FPC 7619
19 inch Atom Fanless Panel PC
© Copyright 2012 Acnodes, Inc.
All rights reserved. Product description and product specifications
are subject to change without notice. For latest product information,
please visit Acnodes’ web site at www.acnodes.com.
14628 Central Ave,
Chino, CA91710
tel:909.597.7588, fax:909.597.1939
E x a m p l e x 8 6 a s s e m b l y c o d e :
m o v d x , 4 E h m
o v a l, 0 A A h o u t
d x , a l
E x a m p l e C c o d e :
o u t p o r tb (0 x 4 E , 0 x A A ) ;
S e l e c t l o g ic d e v i c e n u m b e r
E x a m p l e x 8 6 a s s e m b l y c o d e :
m o v d x , 4 E h
m o v a l, 0 0 7 h ;L D N s e l e c ti o n r e g is te r o u
t d x , a l
m o v d x , 4 F h
m o v a l, 0 0 8 h ;S e l e c t L D N = 8 , G P IO P o r t6
; o r S e l e c t L D N 9 , G P I O P o r t2
o u t d x , a l
E x a m p l e C c o d e :
o u t p o r tb (0 x 4 E , 0 x 0 7 ); / /L D N s e l e c ti o n r e g i s te r
o u t p o r tb (0 x 4 F , 0 x 0 8 ); / /S e l e c t L D N = 8 , G P I O P o r t6
o r
o u t p o r tb (0 x 4 E , 0 x 0 7 ); / /L D N s e l e c ti o n r e g i s te r
o u t p o r tb (0 x 4 F , 0 x 0 9 ); / /S e l e c t L D N = 9 , G P I O P o r t2
A c t iv a t e t h e lo g ic d e v i c e
E x a m p l e x 8 6 a s s e m b l y c o d e :
m o v d x , 4 E h
m o v a l, 0 3 0 h ;L o g i c d e v ic e a c t i v a ti o n c o n tr o l r e g . o u t
d x , a l
m o v d x , 4 F h
i n a l , d x
o r a l, 0 0 4 h ;S e t b i t2 to e n a b l e G P IO P o r t6 if L D N = 8 o r
a l, 0 0 2 h ;S e t b i t1 to e n a b l e G P IO P o r t2 if L D N = 9 o u t d x
, a l
E x a m p l e C c o d e :
o u t p o r tb (0 x 4 E , 0 x 3 0 ); / /L o g i c d e v i c e a c ti v a ti o n c o n t ro l o u t p
o r tb (0 x 4 F , ( i n p o r t b (0 x 4 F ) |0 x 2 ) ) ;
/ /S e t b it [1 ] t o e n a b l e G P IO P o r t2 i f L D N = 9
O r