Application Examples
;
REG #6 MODEM STATUS REG (R)
PORT_MODS
EQU
006H
; MODEM STATUS
DCTS
EQU
01H
; DELTA CTS
DDSR
EQU
02H
; DELTA DSR
TERI
EQU
04H
; TRAIL RING IND.
DSLSD
EQU
08H
; DELTA RECV SIG.
CTS
EQU
10H
; CLEAR TO SEND
DSR
EQU
20H
; DATA SET READY
RI
EQU
40H
; RING INDICATOR
RLSD
EQU
80H
; RECV LINE DECT.
;
;
;***********************************************************
;*
*
;*
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
;
4-20
Содержание 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...