Application Examples
;
;***********************************************************
;*
*
;*
MACRO DEFINITIONS
*
;*
*
;***********************************************************
;
GET
MACRO
SRC
MOV
DX,SRC
;; GET I/O PORT
IN
AL,DX
;; INPUT DATA
ENDM
;
PUT
MACRO
DST
MOV
DX,DST
;; GET I/O PORT
OUT
DX,AL
;; OUTPUT DATA
ENDM
;
;***********************************************************
;*
*
;*
INTERRUPT POINTERS SEGMENT
*
;*
*
;***********************************************************
;
; INTERRUPT POINTER TABLE LOCATED AT 0H
;
INT_POINTERS
SEGMENT
ORG
0
;
TYPE_0
DD
?
; DIV BY ZERO, NOT USED
TYPE_1
DD
?
; SINGLE STEP,
"
TYPE_2
DD
?
; NON-MASKABLE INT
TYPE_3
DD
?
; BREAKPOINT, NOT USED
TYPE_4
DD
?
; OVERFLOW,
"
;
; INTERRUPT POINTER TABLE IS LOCATED JUST ABOVE THE FIRST EIGHT
;
INTERRUPT TYPES.
;
ORG
8*4
;
TYPE_8
DD
?
; 8259A IR0-TIMER 0
TYPE_9
DD
?
; 8259A IR1-KEYBD
TYPE_10
DD
?
; 8259A IR2-TIMER2 (W6B)
TYPE_11
DD
?
; 8259A IR3-COM2
TYPE_12
DD
?
; 8259A IR4-COM1
TYPE_13
DD
?
; 8259A IR5-FP5
TYPE_14
DD
?
; 8259A IR6-FP6
TYPE_15
DD
?
; 8259A IR7-FP7
;
INT_POINTERS
ENDS
;
4-8
Содержание ZT 8809A
Страница 15: ...Tables Table B 9 J5 Pin Assignments B 17 Table B 10 J6 Pin Assignments B 18 Table B 11 J7 Pin Assignments B 19...
Страница 334: ...Jumper Configurations W49 W48 A W47 B A B W37 W66 A W50 B C J7 W67 Figure A 11 W37 W47 50 W66 W67 Jumper Blocks A 34...
Страница 346: ...Jumper Configurations W61 W60 W62 W63 W64 A B A B W65 Figure A 13 W60 W65 Jumper Block A 46...