journal of all scince V.1. NO.1 | Page 33
seg1 ends
seg2 segment
O ]8.
@5%
W
0A2E50H
M
-
#N
-
F
8
* Z
sts
0A2E50H
0
64H
dw 50 dup(?)
0A2EC0H
-
-
Seg1
L 4:int 21H
0A2EC0H
0
0AH
max
x
seg2 ends
0A2ECAH
0AH
4
Y
end l1
0A2ECEH
0EH
5
Z
0A2ED3H
13H
0AH
K
0A2EE0H
-
-
Seg2
0A2EE0H
0
3
L1
0A2EE3H
3
2
L2
0A2EE5H
5
2
L3
0A2EE7H
7
2
L4
assume cs:seg2,ds:seg1,ss:sts
L1:mov ax,max
16 c ]
L 2:add ax,ax
16 c ]
L 3:mov ah,4CH
16 c ]
W
: 8 "%8U
.
?% 8
+U%
" 8P C
. M{ "
. M{
W & _2
„ "
W & _4
"
W & _6
T
% x % M
n7-
"& I 81 : F@
% @.
? 8X
|82
(" A" '("#
(immediate Addressing Mode )
.
& ( -2-5
82 "
W & _1
T
"
W & _3
' M
"
W & _5