Вы находитесь на странице: 1из 5

5/20/2016 8085simulatorwithkeyboardinterface|Microprocessorprogramming

HOME

Microprocessor progra

8085 SIMULATOR WITH KEYBOARD INTERFACE

A very simple and complete simulator for 8085


microprocessor

http://www.kishankc.com.np/2012/06/complete8085simulatorwithkeyboard.html 1/5
5/20/2016 8085simulatorwithkeyboardinterface|Microprocessorprogramming

A8085SIMULATORwithsteppermotorinterfacingandkeyboardinterrupts)Includesloadandsaveoptionsandcome
with10sampleprograms.Thesimulatorclearlyshowstheflagsbeingaffectedinstructionbeingexecutedandthe
stack.
Thissoftwareprovidesusfacilitytousememory,stackandregisters.Thissoftwareprovides
keyboardtypeinterface.Wecanseethevalueofregistersindigitalformjustbelowthekeyboard
interface.Mnemonicswithrespectivehexcodeandaddresscanbeviewed.

Letsloadasampleprogram.programtoaddcontentof818Aand818B.818Acontains29and
818Bcontains45.weareaddingthecontentsoftheseaddress,convertthemtoBCDnumber
andcopingthemtomemorylocation818C.

ALGORITHM
1.Loaddatatomemorylocation
2.Copydatafrommemorylocationtoregisters(HLpair)
3.Movethedatatoregisters(MOVA,HandMOVB,L)
4.AdddataofAandB(ADDregistername)
5.ConvertbinarytoBCD(DAAregistername)
6.Storetomemoryspecified(STA16bitaddress)
7.Terminatetheprogram(RST5)

http://www.kishankc.com.np/2012/06/complete8085simulatorwithkeyboard.html 2/5
5/20/2016 8085simulatorwithkeyboardinterface|Microprocessorprogramming

PROGRAM
818ADATA29 HOME

818BDATA45
LHLD818A
MOVA,H
MOVB,L
ADDB
DAA
STA818C
RST5

OUTPUT:818C=74

Todownloadthissimulator,pleaseclickthedownloadlinkbelow:
DOWNLOAD8085SIMULATOR

IwilldiscusshowwillDAAconvertsbinarytoBCDinmynextpost.Thankyou.

http://www.kishankc.com.np/2012/06/complete8085simulatorwithkeyboard.html 3/5
5/20/2016 8085simulatorwithkeyboardinterface|Microprocessorprogramming

Kishan K.C.

http://www.kishankc.com.np/2012/06/complete8085simulatorwithkeyboard.html 4/5
5/20/2016 8085simulatorwithkeyboardinterface|Microprocessorprogramming

No comments yet

Add a comment as Huzairi Mohamed

COPYRIGHT 2015 MICROPROCESSOR PROGRAMMING

http://www.kishankc.com.np/2012/06/complete8085simulatorwithkeyboard.html 5/5

Вам также может понравиться