journal of all scince V.1. NO.1 | Page 45
(
macro " % '
?% 8
Endm
_
_ I _ l_ @. % _
-)
%8U% 2 # =
% 8
% @. %8.
I
%
J % : (macro) A +
#
% _' %8 C
x
writech macro x
mov al,x
mov bh,0
mov cx,1
mov ah,0ah
int 10h
Endm
. " % 5 ah % W 6 8'
8
%
.8
+U%
W#
Z
?% 8
P
% 8
I
. Q58 E C
.* % M % -' 8 I
8
, /3 *
-' l @.
B l @. * Z +U%
/ * % "* Z
.‰ U
l @. +H
.* % .
$3 / * %
% % % *C
) •K
,
$
% x % =
8 %
"%8U : V `
( % % 5 al x , %
f2
8
8
2B 1
writech proc
mov bh,0
mov cx,1
mov ah,0ah
int 10h
ret
Writech Endp
al % W , %
*2
%% P =
8 %
"%8U : V `
getch macro
mov ah,0
int 16h
Endm
. "
theend macro
mov ah,4CH
int 21h
Endm
getch proc
mov ah,0
int 16h
ret
getch Endp
.U%
% %
8
theend proc
mov ah,4CH
int 21h
ret
theend endp
"
%
"%8U
:V`