Академический Документы
Профессиональный Документы
Культура Документы
HOME
Microprocessor progra
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
http://www.kishankc.com.np/2012/06/complete8085simulatorwithkeyboard.html 5/5