link x.obj;
tasm x.obj;
M % .obj 8 ' g -
.*
8086 _
cv(code viewer) _ td.exe(turbo debuger) _
.
trace % %
Z
_
M_
% _2%# _ =_ % _ %8. _ # / ? 8G
SH
"-
emulator
% /, %*
. " # $%
Seg1 Segment
X dw 15
Y dw 25
Z dw ?
Seg1 ends
Seg2 segment
L: assume cs: seg2, ds: seg1
MOV ax, seg1
MOV ds, ax
MOV ax, x
MUL y
MOV z, ax
MOV ah, 4CH
int 21H
Seg2 ends
End L
S _H _ % I
2 CPU +U%
%8.
M % CPU S H I
W +U% % (
.
{ # I?% 8
10
M
c K
C
T
Z
%
"# RP .
" 16
% |82 +3% :V `
% % B% % Turbo Debugger 8086 emulator
8B
M
M
"-
B
%5
% 2% # = *T T3 ) .* %
PM %
%
W +U%
W
% C%
M
8
% T
% exe + 2
.
e ". 8
+ M. "
W
.
?
" % 2% #
" ? M{ * /
?% 8
WI" F #
$ %
-5
=
"
%
M
F.