6. Appendix
82
BX-320 User’s manual
(2) Example programming
The following example is written in Intel8086 assembly language.
;===============
;<WDT Initial>
;===============
;-------------------------------------------
;Enter the extended function mode
;-------------------------------------------
MOV DX, 2EH
MOV AL, 87H
OUT DX, AL
OUT DX, AL
;-----------------------------------------------
; Select logical device WDT(number 8)
;-----------------------------------------------
MOV DX, 2EH
MOV AL, 07H
OUT DX, AL
MOV DX, 2FH
MOV AL, 08H
OUT DX, AL
;---------------------------------------------------
;Activate logical device WDT(number 8)
;---------------------------------------------------
MOV DX, 2EH
MOV AL, 30H
OUT DX, AL
MOV DX, 2FH
MOV AL, 0AH
OUT DX, AL
;-----------------------------------
;Set timer unit : second
;-----------------------------------
MOV DX, 2EH
MOV AL, F0H
OUT DX, AL
MOV DX, 2FH
MOV AL, 00H
OUT DX, AL
Содержание BX-320-DC700000
Страница 1: ...IPC Series BOX PC for BX 320 Series User s Manual CONTEC CO LTD...
Страница 7: ...vi BX 320 User s manual...
Страница 21: ...2 System Reference 14 BX 320 User s manual...
Страница 61: ...4 BIOS Setup 54 BX 320 User s manual...
Страница 77: ...5 Each Component Function 70 BX 320 User s manual...
Страница 95: ...6 Appendix 88 BX 320 User s manual...