journal of all scince V.1. NO.1 | Page 42
F@
(" A +
? CEh% Push POP 8
W % ,
J % ? CEh%
.
.* % 0 W % T
.
.8
B
% Sp
3%
L8
"
PH
R P
B
% 5 h8
x9 .
l*
% % 5 -'
8
%8U 3% _
%8 " SP (Stack pointer) ? M{ _
.N
8
DA 01/
% @. PM % R
word -' %
@ I
% R P
"D
12 3 % %8.
Ug -' l @. % ‚ ") 8
% -'
%5
2 ]% Sp
W
pop push % *
V%
%Q
l @. * Z
Ug %
.(* % W % ? CEh% *2
* J %Q 3<&D :
(" (stack)
: A
.* % Stack segment
A
Sp
% % Ipush 8
" _
% +H R P % % Ipop 8
" _
pop push 3% : ,
pop Cx
MOV Cx, word ptr [SP ]
add Sp,2
seg2 segment stack
dw 50 dup(050EH)
seg2 ends
…
Mov ax,0FFAAH
Mov bx,122DH
Push ax
Push bx
Pop cx
Pop dx
Push Ax
.
Z 1
%
?% 8
SUB SP,2
MOV word ptr
-' l @. :V `