EasyManua.ls Logo

Sharp MZ-5500 - Page 113

Sharp MZ-5500
114 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
°The
following
shows
the
action
of
the
8086
CPU
and
the
8087
NOP
when
thJ
~.
next
progrnm
is
executed.
CSEG
1
ORG
100H
2
MOV
AX,2000H
3
MOV
OS,
4
MOV
BX,O
5
MOV
BP,2
6
MOV
SI,4
7
MOV
AX,l
8
HOV
[EX]
,AX
9
MOV
AX,2
10
MOV
OS:
[BP],AX
1 1
MOV
AX,O
12
MO\'
DS:
[SI)
,AX
1 3
14
(WAIT)
15
FINIT
] 6
(WAlT)
1 7
FILO
[BX]
] 8
(WATT)
] 9
FIAOO
OS:
[BP]
20
(WAIT)
21
FJST
OS:
[S11
22
WAIT
23
24
MOV
OX,DS:fSI)
25
AND
OX,OFH
:L6
ADD
OX,30H
27
MOV
·
CL,2
28
I~T
224
29
30
XOR
CX,CX
31
XOF.
OX,DX
32
INT
224
33
END
This
progrnm
adds
the
contents
in
20000B
with
the
contents
of
20002H
and
the
result
is
stored
1n
20004H
using
the
8087.
llO

Related product manuals