
;bit 1 = gpio 1 , 0 => Low; 1 => High
;.....
;bit 7 = gpio 7 , 0 => Low; 1 => High
;output:
; ax=5E78 ;function success, other value means function fail
mov ax,5E87h mov bx,0400h mov cl,01 INT15
;Set GPIO 0,2,4,6 Output Low ;===============================================================
Appendix D Watchdog Timer and GPIO sample code
79 |