0% found this document useful (0 votes)
3 views

Microprocessor A-2

The document provides an overview of the 8085 microprocessor architecture, detailing its components such as the control unit, data bus, and memory addressing. It discusses various instructions, including branching, loading, and arithmetic operations, along with their effects on registers and memory. Additionally, it covers the timing diagrams for instruction execution and the handling of interrupts.

Uploaded by

22eee059
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
3 views

Microprocessor A-2

The document provides an overview of the 8085 microprocessor architecture, detailing its components such as the control unit, data bus, and memory addressing. It discusses various instructions, including branching, loading, and arithmetic operations, along with their effects on registers and memory. Additionally, it covers the timing diagrams for instruction execution and the handling of interrupts.

Uploaded by

22eee059
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 12
AssioinMENT-4, : Taw MicRoPROCESSOR - 2) Branch ~ (BEE 60 fred Architect of: 8085 migupprousor 3 7 ¢ an Sb MOOPOe: & The $085 micreprocewsey nll , pur ust Nos technology » & Stock, iP be oxecuted- am countex a) Gy Pogr , " addr 4 next enstructo? » @ ¢p points 40 atop ° tack, 20 TS : oS Cpe ion Re goter & Decodex * SRE and ecodes &he w) est ete yctiort fr exer on © w) Teng, and. Control “Unit $ 5 z Genehares control signal or operations Like memory 5 read [wot & 1/0 controle E Ww) cf & Data Buss @ Add. Bus ( 0-bit) memory addxess 4 memory % Lo deve | . oe Bua (8- bit) 3 Transfeus dato Be CPU, eye eee Comtrol ; Handles exteunod ute suipts Sela Ilo Controt + (geulat Topur Data) ond 30D (TRAP, RSTA-S RST 6.55 RSTS-5, “NTR Puovides svvial corprnuntcoliant VieMmeeuns witty ( Seal Output Data) : 0 my \ Nee ¥ xQ 2 [7 HoLp \ ut 33 ReseTor 13 38 (2) HLDA sop 4 34 eek (or) SID Bi 36) RESET IN TRAP (6 25[] READY esrt-5 4 auf To/m est 6-58 33K0 31 on est s69 R085 A aaty BD fists “INTR 0 31 wR x ANTAT" aot ate \ ADs T]12 2b Se: AD, EY '3 281 Ais j es Ata 24 Ay ADs, 15 DG Ap ‘ Y 3 Ady E116 Dine : Abe ll) a4 ry An c is Ad, C18 93 bio! 2 : ? z Ady] !9 22 hy a 40 2000 & LXIH we “Tare, stent fe athe ed of Pu MovA,H 3 ADDLS Contents of — PSs will be + ae > 20008 LXIH, 43951 F? Loads value 4395H, the HL 7ege “ (W243, 6=25) Nie g psec vith che vague 2007H » — > LXI SP, 30001 3> Loadls the mov A, Hi Moves the value ro? the H egisto (Han) unio ties | accurnulator( A) « — > ADDL 3 Adds fre value from L wegiakex (25H A mow contol 43H + 25H = b&H B = —> pusn Pow i Pushes the contents 4 puogran ene wo nto the 25 aise clecverre’ BF Unto H weg tslitle => poh * aomenton sem the sack agi sae => — END The Pg” euminodes, contadns 4325H becouse onty # H Hegiste sos, 190 woos not POP Lnstructions , and the Le Ete 8 4326 er a o ni 85 Aye Baononny ~TustrvcnoNs of * Branching instrudions fins Tyo 0 chypunt ebwction sequence O% a HoSUll *t Jnstruction 2 * Bupa Oo Jump ( uncon rondittonal & Conditional) @ Call : @ Retain (uncardilioral & Conditional ) : She to JUMP ¢ es Bie ‘ed, #0g ‘ to the desuubed “Gn the . rerio Puarclows the rom Sequence oe IMP ee Tsenpo the aree TMP 2050 we 40 the doscutbed menor i = oe eur the Wit sequen otal my “4 condition pate dc oma ddvuns dfeovaty 0.2000 INC > jens a he ad us eo? INC 9050 eau fing sO» and, suite por Tuorsfeu t the iuen uh the + unconditioral Progr a : from the subre e ee a oer + €43 RET Retin {ro te gure og + conditional v ogres mee sasrenierae =f ha “the subroutine wo the 0 i cor é satixied. qe RC i ase jon RNC? a nfo A eulte 4 comsuy. “> 3 RNC a toa 2 Memory Locations 9050 H Frotda Khe , daa. byte FID. Fostiiuelcons to t/f cota byte 0 trecumulabar wcihg. (Using, Mev Insiuclor H 3 hoad HE wht | memory addleess QO50H. LKTH, 2050 mov AM 5 Move dato. from memory (™) to Areceumul ator (A) Result = FIH diy Use, Lax Tnstiaucbon Sth Memon addsiess 2050H. LXE D, 2050H 3 Leal DE Load accumulator (A) from "emer at DE. Resulr > A= FAH. tity Usirg, LDA Tnsbimelton LDA 2050H », Koad accumulator (A) elfrectty from mem | Jocotion 9050H - 4 a ne Reus > A= FAH LDAX D 4 Se bq! mvrA, 25H + Koad ummediots value BH to A. @ Register Agdswnsing Mode 3- Opesand (dlaka) wt uh tee fos mae 1 Cops data. from req ili Bo A @g Ta flag Mode 3- Opesord (date) gud a meron focatin. 4] § LOA 2050H $ dona casa. from mennrg Locotcon 20604 dinto accumulate addues £6 stored ID o (i) ae eal Mode s- The memor eGute BC o ov DE) and dota a ccesseol fom the addiors . ey LH, oe oad HL pos with adds. 3000H mova,™ 3 mae cin for merry era 8000 H ( pointed by HU) mode 2 traunaldor doesn't Ofeciby. an S anvil biel ) the corte (69) ‘Trnplisit ( Lrmplat ) sydcousting, Mee a pled dt Us wnpluedl ub ay oma 5 poem (znvext A ee — pide anton & asgre te 7esute a af bo8s Assembly fe ram 10 ne at Assem buy Code $ the 3 LDA Qe60H 3 dood, post n0> qe menerg Qoo0 H aunts . Mov 8,A § Copy the out noe f to register B- toa 2001H 3 Koad the eecond no» ppp® Ad the faut no.[stored in B Sta 2035H 3 Stove the smal a memory from meee 2o01H to A. +o A Location 2035 H, fe So Se bp % 80865 Aysembly Progr ee le ele oo I= bit muinbow with Canty ~~ Fesult Storage 2 Sere > Lowen tube of Sum 20564 —> Highes ite ‘ bam 2045 4 iis iy So mova, Ape © mov HA LxT p, 2095H Mov ML INXD Mov M,H INX D Mov A, 00H ADCA Mov ™,4 ALT. ih ~ 8085 Asser Paagrorn 40 +o cubstrast” “0 CODE? xh, 3051H Mov D,M INK H Move, M LXTH, 3053H Mov 8M INX d Mov 65M ( Subtrack lower Bytes) Mov 4,D 60B & two “16-bue Hos wi Code pyra,4eH oad UBH soto RLC Rotate A Left ppt F3H Dold Fan 40 rotated Ge QTA 3050H ; Sbove- youl oF 20500 foe uLT d ¢ Hee 0100101 (Binoy = o1ooolol (45H) e PLC g A pj - 10001010 (8AH) Comey= 0 Aye RLC % “BAH (19001010) + F3H (imi 001!) 4DH_ (oll 11ol) aa 0085 Flog Rei offen oddg, aH A= 4AH (1111010) + PRA (11) tol!) i se rauuce bt5H (0001 oll 010!) Dood Since, 9085 vB an & bit nouns CONSE ae ee, 085 on Wt prnasrr» 298 5, coun feed L pred Ap g 9th bir (1) | ie Stolis : u) Couwy CY) see) QW) Ausilauy casouy (AC) Aer (3) (3) "how (*) Reset (0) (4) ign (8) Ae (") ©) Paul (0) et eI CO Ey. 1) amok psy Greene spurermvers (can Be & isgunctiors ) ee qcen pire ; | gonuty than RST 55 5 — fighes pei (3) RST 5 >? edge Guggered. (4) BINTR -—— general pepe @ ‘NON- MASKABLE INTERRUPTS (¢ (1) TRAP — ania intowple can't be mou DI Dnsbuwelin + & ~Fneususpt Phu Onder (D TRAP (2) RSIS 3 RSTO.B (2) RST 6 se ent nusupl: aoit be disabled) hed (dfcabled) using 3 (Highest. & Lowest) CTR yy How ruth dune 8085 will take 40 exeuute TOV, Anns Cauchion,- oy eng & YM (dy > No» of Tstakes, for MOV BA 3 & bad Crslituction & takes 47-01 (% Clock pentoct of ‘micreprecesor cates 40 execute. ) Cup! rquerny= AMI /g = 2 “io TIMIN ae psi? inainey DIAGRAM of Weise ere ERD c a x — ——— yD puede fetch ___>} ; eS 1 1 ' : ao Nel La ' Aa [y aiganter mening sata! ori opconé fet ° TIMIIN 67 Div yRAM | ' | I ; 3 . ic hen athe rnicuoprocesov qercnes ghe insGunetoms ' 1 Opeode etch caple a wl nn “MEMO? » oo ait Teun steps (Testates) ¢ : Tm? Agta placed on bus, ALE Gres Augh fo Latch odds ow cto Head rom memory mo RO 4 mB Cheode e0! Th? Sorsthirnes __—————— Memoet dws completes 1 ee high: requined dece ding “fhe Engbusck{Or « Ais ~Ag : MEMORY WRITE Be TIMING a r-states) 8- Diagram, Ta adsters as placed, ALE goes High placed on data bus, WR goes {ow TIM Ta 7 Data o wR . 2, — Tg — Dota ws wouitten, WR gees igh ® To write TIMING D ES cs Nat ET cc VAG RAM Pe hel XP anaes Ty Pour adduers onoddurs bus qT ee + Data onda ban, Rtn ALK ateedg> ----

You might also like