11/9/2010
Microprocessor 8085 - notes
Scribd Upload a Document Search Books, Presentations, Business, Academics... Explore
Documents Books - Fiction Books - Non-fiction Health & Medicine Brochures/Catalogs Government Docs How-To Guides/Manuals Magazines/Newspapers Recipes/Menus School Work + all categories Featured Recent
People Authors Students Researchers Publishers Government & Nonprofits Businesses Musicians Artists & Designers Teachers + all categories Most Followed Popular
Prem Nidhi
Account Home My Documents My Collections My Shelf View Publi Pub licc Pro Profi file le Messages Notifications Settings Help Log Out
11/9/2010
Microprocessor 8085 - notes
11/9/2010
Microprocessor 8085 - notes
11/9/2010
Microprocessor 8085 - notes
11/9/2010
Microprocessor 8085 - notes TheINTEL8085isa8-bitmicroprocessor. Itoperateson8-bitdataanduses16-bitaddresstoaccessthememory. Withthehelpof16-bitaddress,8085canaccess216 = 65536= 64Kmemorylocations. •
Itisa40-pinDIPchipdesignedusingNMOS.
•
Itoperateswithapowersupplyof+5voltsandGND.
•
8085generatestheclocksignalinternallybydividingtheexternalsuppliedclocksignalby two.
11/9/2010
Microprocessor 8085 - notes
INTEL8085ARCHITECTURE The architecture of .8085is shown in figure given below. The internal architecture of 8085includes the ALU, timing and control unit, instruction register and decoder, register array, interrupt control andserialI/Ocontrol.
OPERATIONSPERFORMEDBY8085 TheALUperformsthearithmeticandlogicaloperations. The operations performed byALU of8085are addition,subtraction,increment,decrement, logical AND, OR, EXCL U8IVE -OR, compare, complement and left / right shift . The accumulatorandtemporaryregisterareusedtoholdthedataduringanarithmetic/ logical operation. Afteranoperationtheresultisstoredintheaccum ulatorandtheflagsaresetorreset accordingtotheresultoftheoperation. FLAGREGISTER: Thereare fiveflagsin 8085, whichare signflag(8),zeroflag (Z),auxiliarycarryflag(AC), parityflag(P) and carryflag(CY) . Thebitpositionsreservedfortheseflagsintheflagregister areshowninfigurebelow.
11/9/2010
Microprocessor 8085 - notes ter an o perat on, t e most s gn cant t o t e re su t s , t e ns gn ag s se t. ezero flagisset,iftheALUoperationresultsinzeroanditisresetiftheresultisnon -zero. Inan arithm eticoperation,whenacarryisgeneratedbythelowernibble,theauxiliarycarryflagisset. Afteranarithmeticorlogicaloperation,iftheresulthasanevennumberof1'stheparityflagisset, otherwiseitisreset. Ifanarithmeti coperat ionresultsinacarry,thecarryflagissetotherwiseitisreset. Amongthe fiveflags,theACflagisusedinternallyforBCDarithmeti candotherfourflagscanbeusedbythe programmertochecktheconditionsoftheresultofanoperation.
TIMING&CONTROLUNIT: The timing and control unit synchronizes all the microprocessor operations with the clock and generatesthecontrolsignalsnecessaryforcommunicationbetweenthemicroprocessorand peripherals.
INSTRUCTIONREGISTER&DECODER: Whenaninstructionisfetchedfrommemoryitisplacedininstructionregister . Thenitisdecoded andencodedintovariousmachinecycles.
REGISTERARRAY: •
ApartfromAccumulator (A-register),therearesixgeneral-purposeprogrammableregisters B,C,D,E,HandL.
•
Theycanbeusedas8-bitregistersorpairedtostorel6 -bitdata . TheallowedpairsareB -C, D-EandH-L.
•
ThetemporaryregistersWandZareintendedforinternaluseoftheprocessoranditcannot beusedbytheprogrammer.
•
•
STACKPOINTER(SP): ThestackpointerSP,holdstheaddressofthestacktop . ThestackisasequenceofRAM memorylocationsdefinedbytheprogrammer . Thestackisusedtosavethecontentof registersduringtheexecutionofaprogram. PROGRAMCOUNTER(PC): Theprogramcounter(PC) keepstrackofprogramexecution. Toexecuteaprogramthe starting address of the program is loaded in program counter . The PC sends out an address to fetchabyteofinstructionfrommemoryandincrementitscontentautomatically. Hence, whenabyteofinstructionisfetched,thePCholdstheaddressofthenextbyteofthe instructionornextinstruction.
INSTRUCTIONEXECUTIONANDDATAFLOWin8085
Theprograminstructionsarestoredinmemory,whichisanexternaldevice. Toexecuteaprogram in8085,thestartingaddressoftheprogramshouldbeloadedinprogramcounter . The8085output the content of program counter in address bus and asserts read control signal low. Also, the program counterisincremented. Theaddressandthereadcontrolsigna lenablethememorytooutputthecontentofmemory locationonthedatabus. Nowthecontentofdatabusistheopcodeofaninstruction . Theread controlsignalismadehighbytimingandcontrolunitafteraspecifiedtime. Attherisingedgeof read control signals, the opcode is latched into microprocessor internal bus and placed in instruction register. The instruction-decoding unit, decodes the instructions and providesinformation to timing and controlunittotakefurtheractions.
INSTRUCTIONFORMATOF8085 The8085have74basicinstructionsand246totalinstructions . Theinstructionsetof8085is defined by the manufacturer Intel Corporation. Each instruction of 8085has 1byte opcode . With 8 bitbinarycode,wecangenerate256differentbinarycodes . Inthis,246codeshavebeenusedfor opcodes.
11/9/2010
Microprocessor 8085 - notes
Thesizeof8085instructionscanbe1byte,2bytesor3bytes. •
The1-byteinstructionhasanopcodealone.
•
The2bytesinstructionhasanopcodefollowedbyaneight -bitaddressordata.
•
The3bytesinstruc tionhasanopcodefollowedby16bitaddressordata . Whilestoringthe3 bytes instruction in memory, the sequence of storage is, opcode first followed by low byte of addressordataandthenhighbyteofaddressordata.
ADDRESSINGMODES Everyinstructionofaprogramhastooperateonadata . Themethodofspecifyingthedatatobe operated by the instruction is calledAddr ess ing .The 8085has the following 5different types of addressing. 1. ImmediateAddressing 2. DirectAddressing 3. RegisterAddressing 4. RegisterIndirectAddressing 5. ImpliedAddressing ImmediateAddressing Inimmediateaddressingmode,thedataisspecifiedintheinstructionitself . Thedatawillbeapart oftheprograminstruction . Allinstructionsthathave‘I’intheirmnemonicsareofImmediate addressingtype.
Eg . MVIB,3E H - Movethedata3EHgivenintheinstructiontoBregister.
DirectAddressing Indirectaddressingmode,theaddressofthedataisspecifiedintheinstruction. Thedatawillbein memory. Inthisaddressingmode,theprograminstructionsanddatacanbestoredindifferent memoryblocks . Thistypeofaddressingcanbeidentifiedby16-bitaddresspresentinthe instruction.
Eg . LDA1050H - Loadthedataavailableinmemorylocation1050Hinaccumulator.
RegisterAddressing Inregisteraddressingmode,theinstructionspecifiesthenameoftheregisterinwhichthedatais available. Thistypeofaddressingcanbeidentifiedbyregisternames (suchas‘A’,‘B’,…) inthe instruction.
Eg . MOVA,B -Movethecontentof BregistertoAregister.
RegisterIndirectAddressing Inregisterindirectaddressingmode,theinstructionspecifiesthenameoftheregisterinwhichthe addressofthedataisavailable. Herethedatawillbeinmemoryandtheaddresswillbeinthe registerpair. Thistypeofaddressingcanbeidentifiedbyletter‘M’presentintheinstruction.
Eg . MOVA,M - ThememorydataaddressedbyHLpairismovedtoAregister.
ImpliedAddressing In implied addressing mode, the instruction itself specifies the type of operation and location of data tobeoperated. Thistypeofinstructiondoesnothaveanyaddress,registername,immediatedata specifiedalongwithit.
Eg . CMA- Complementthecontentofaccumulator.
11/9/2010
Microprocessor 8085 - notes
11/9/2010
Microprocessor 8085 - notes
11/9/2010
Microprocessor 8085 - notes
11/9/2010
Microprocessor 8085 - notes
11/9/2010
Microprocessor 8085 - notes
11/9/2010
Microprocessor 8085 - notes
11/9/2010
Microprocessor 8085 - notes
11/9/2010
Microprocessor 8085 - notes
11/9/2010
Microprocessor 8085 - notes
11/9/2010
Microprocessor 8085 - notes
11/9/2010
Microprocessor 8085 - notes
11/9/2010
Microprocessor 8085 - notes
11/9/2010
Microprocessor 8085 - notes
11/9/2010
Microprocessor 8085 - notes
11/9/2010
Microprocessor 8085 - notes
11/9/2010
Microprocessor 8085 - notes
11/9/2010
Microprocessor 8085 - notes
11/9/2010
Microprocessor 8085 - notes
11/9/2010
Microprocessor 8085 - notes
Microprocessor 8085 - notes Download this Document for FreePrintMobileCollectionsReport Document This is a private document.
Info and Rating microprocessor intel 8085 8085 notes interrupt signals basic notes showing instruction addressing (more tags) raja_ns Like
133 people like this. Be the first of your friends.
Ads by Google Intel Cpu
The latest & greatest in parallel computing. Visit our expert blog!
www.drdobbs.com/Go-Parallel High Speed Delay Line
Ultra-Fast & Compact Delay Lines Conserve The Utmost Power Now!
www.ElmecTech.com World Class 8051 Trainers Advanced & Feature Rich, Low cost with Powerful Debugger for SDCC&ASM
www.FrontlineElectronics.com
Share & Embed Related Documents PreviousNext
1. 31 p.
6 p.
20 p.
2.
11/9/2010
Microprocessor 8085 - notes
p.
32 p.
3. 20 p.
34 p.
32 p.
4. 32 p.
3 p.
32 p.
5. 13 p.
25 p.
12 p.
11/9/2010
45 p.
5 p.
7. 1 p.
1 p.
1 p.
8. 1 p.
4 p.
1 p.
9. 1 p.
9 p.
Microprocessor 8085 - notes
11/9/2010 10. 7 p.
15 p.
2 p.
11. 26 p.
32 p.
6 p.
12. 2 p.
1 p.
1 p.
13. 1 p.
1 p.
Microprocessor 8085 - notes
11/9/2010
14. 267 p.
18 p.
9 p.
15. 86 p.
7 p.
38 p.
16. 3 p.
1 p.
3 p.
17. 1 p.
Microprocessor 8085 - notes
11/9/2010
12 p.
More from this user PreviousNext
1. 25 p.
39 p.
36 p.
2. 38 p.
71 p.
36 p.
3. 20 p.
35 p.
Recent Readcasters
Add a Comment
Microprocessor 8085 - notes
11/9/2010
Submit
Elizabeth Jizwalo Richard left a comment vey informative!! 6 days ago Reply
Vijay Kumar left a comment how to download please help me 10 / 06 / 2010 Reply
Nisha Sharma left a comment thank a lot 09 / 27 / 2010 Reply
Yogesh Kumar Jangra left a comment cool 08 / 30 / 2010 Reply
Priyanka Hattalli left a comment notes 05 / 14 / 2010 Reply Upload a Document
Microprocessor 8085 - notes