-
Notifications
You must be signed in to change notification settings - Fork 0
/
ACSENDX.ASM
102 lines (82 loc) · 1.25 KB
/
ACSENDX.ASM
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
.8086
Code Segment Public
Assume CS:Code
Include SYSTEX.INC
Extrn ACSend:Far,ACSendNow:Far
public ACSendACK,ACSendBS,ACSendCAN,ACSendCR,ACSendDLE,ACSendEOT,ACSendFFh
public ACSendNAK,ACSendNowXON,ACSendNowXOFF,ACSendNUL,ACSendSOH,ACSendSUB
public ACSendSYN,ACSendXOFF,ACSendXON
ACSendXON Proc Far
MOV AL,caXON
JMP Near Ptr @@1
endp
ACSendXOFF Proc Far
MOV AL,caXOFF
JMP Near Ptr @@1
endp
ACSendSYN Proc Far
MOV AL,caSYN
JMP Near Ptr @@1
endp
ACSendSUB Proc Far
MOV AL,caSUB
JMP Near Ptr @@1
endp
ACSendSOH Proc Far
MOV AL,caSOH
JMP Near Ptr @@1
endp
ACSendNUL Proc Far
MOV AL,caNUL
JMP Near Ptr @@1
endp
ACSendNAK Proc Far
MOV AL,caNAK
JMP Near Ptr @@1
endp
ACSendFFh Proc Far
MOV AL,caFFh
JMP Near Ptr @@1
endp
ACSendEOT Proc Far
MOV AL,caEOT
JMP Near Ptr @@1
endp
ACSendDLE Proc Far
MOV AL,caDLE
JMP Near Ptr @@1
endp
ACSendCR Proc Far
MOV AL,caCR
JMP Near Ptr @@1
endp
ACSendCAN Proc Far
MOV AL,caCAN
JMP Near Ptr @@1
endp
ACSendBS Proc Far
MOV AL,caBS
JMP Near Ptr @@1
endp
ACSendACK Proc Far
MOV AL,caACK
@@1:
PUSH AX
PUSH CS
CALL Near Ptr ACSend
RETF
endp
ACSendNowXOFF Proc Far
MOV AL,caXOFF
JMP Near Ptr @@2
endp
ACSendNowXON Proc Far
MOV AL,caXON
@@2:
PUSH AX
PUSH CS
CALL Near Ptr ACSendNow
RET
endp
code ends
end