You are on page 1of 2

Date 20/1o |23

Expt. No. 14 Page No.

ATM EHEEXPERIMENT To perdoro addrtisoott-


16-bitbexadecemal numbecs fn 8086mtccopreceLlD

EQUTPMENTREQUIRED2
(18086 microprocessoc trafne E_ DYNA 26-
LE)GIERTY Kahoaed
Pow& upply eberd
Instruction manual

ALGORTTHM
LaMe thod 1
OTntial£ie_Kealrte AX_and BX N'th tan ddfekeot
Dmbez
bcto tn reQlgters and2 toru
Ad heconded o
Sum fn reqfiter_AX

llead reqder AX and BX alb tla diierent


umbez{_
gtered n memon
Add theCondect e bcththe regfter and dnE
thegum io the deairedConiecutive meonary Locatfons

RoaRAM CoDEI AsSE MBLY LANGUAGE)


aMehed 1
Memory Addreis MnemonicS_ Conneotk
MOV AX, yyyY H_ AX -4uyY
1 o03 MOV BX S SH BX 3S25
1006 ADD AX, BX X AXtBXx|
HLT STOP
Me thnd 2 -
Teacher's Signature.
Date o/Loleaa
Expt. No.
Page No. 43

Memor Addrest Mneoonic& Comnents


- [ 2 o oo)
1oo8 Moy AX, L2ooo
H
BL AH L2002J,
1ocB Mov Bx, o02 H BH [200SL

LooE ADD AX, BX =AXtRX-


[2004]<A
[20051 AH
Mov L00y H AX
1012 HLT 3TOP

EXECUTION OFPRoGRAM
a Metbed 1
AXer utFagh proqKam code fndth asRemble r

Typ G &tarlas addre ei endinq- addre s ane


PreR ENTER
hEE)Toieautput p Raiterexecutlan and pReLi-
ENTER
( Mtinod
Pz E stardänq adsre a 9 and Preu ENTER' to

Preu F
ter requiced number adetired memat ocadfens
eca2ons
Pek Es type tacknasdresi endE addee 9

,
ater tering thprogkamcode and res ¥NTER.
LeEToo but- Dstardêng addre, endna
addre and prl FNTER

CONLCLUSION After verilfn- h e reults a


Conclude that h
exAauled and th d tÊred KOult_Na olained

Teacher's Signature.

You might also like