You are on page 1of 52
PROGRAM: Memory taba Mnemonics Operand | Opcode Comments Address a5 a ELE _ 4loo Mvl ¢, OOH Towmediately ko 4iol 00 | c register. 4102 ; 2) ae the aa 4103 LXI H, 4500] 09 |, 28 ee 45 4104 x contend of 4los Mov A,M Fe [Tote sR 4106 Nx u 23. | Themenk HOR ; 3 A , Add te Muah Re 410% ADD M a6 [44 € 7 eal 0 D2 | Temp vel zoe 2 nee bo Ae: Loops 4 109 Beal 410A 41 4108 INR 4 OC | Trcpemink UC 4loc |LooP | INx H 23 speverment Fe HE 410d Mov MA | 93 rel Fe, acorn] 4\0€ InX H 23 pocrusenark He Ht 4 (0F Mov Myc 7 Pore Se cotene Allo HLT i St | OBSERVATION: ‘ ant an? OUTPUT 4500_| 4502 OF 4501 8 4503 00 INPUY OUTPUT 4500 [7FE |= 45027] 93 4501 04. 4503 Ol Exp. No:2 (2) Date: 25.03.22 Pp 8- BIT ADDITION AIM: * 'To add two 8 bit numbers stored it consecutive memory logations. APPARATUS REQUIRED: '8085 Microprocessor Kit ALGORITHM: vos TntHalize remo “petnten bo dake ee 2. Grek He Firat number fran momory in Accumulator. 3. het be Second number ond add it ko te Accumulator 5, Store He arin at ansthen memeny drcation. Thun Be 8-41 numabens Stored ak 4soo 8 “AS0\ one addud ond tu rrebulk 1B Stored at 4802 § 4503. PROGRAM: Memory Label Mnemonics Operand pode Comments: Address aa 4100 OE [mae a 4101 HI 00H | P—rmaaiatly 1 4102 21 [Load Bent eagidter 4lo3 Lx) H4Soon| DO |Tary wath te | 4.104. 4g _|Addnws 4500 4105 Nov AyM FE EES a 4lob TNX 4 23 pa kes tt a ee ‘D2 4104 Tne Loop ae ee 410A» L 4108 INR c 4106 CMA 410d . a y A10E ADI OlH 410F Loop | TNX H Ba Allo Mov MA Fa 4111 INX 4 23 Taegemgh ee (| 42 Nov Hye Freee ote | 43 HLT 73 Shee St OBSERVATION: . INPUT. ‘OUTPUT 4500 | FF Ed 4501 o2 00 a at oe OUTPUT i 4501_| FF sat = Sage a 6 pe Exp. No: 2 (b) Date: 25,038.22 8- BIT SUBTRACTION AIM: | Tosubtract two 8 bit ‘umbers stored at consecutive rainoey laches APPARATUS REQUIRED: : 8085 Microprocessor Kit ‘ALGORITHM: wet eee 7 1. Tnitfalize He memeryPetaken bo daka Lecatton: ae Grek de Fire number from He accumulator Be Gek He Second number and Subsock pom “A Oceunlaker +; aie 4. Th oe Rebuke yells ‘a borrow, Ae conkank % te camakor Ib complumented ond otf lb added “ig L(A! Compliant) A vegies Ub clazad and RESULT: 500% 450! +. numbend Steud ot 4 Ye Thus the 8 bit webulld are Steed ak 4502 sated Re : ae s and, wa : int : PROGRAM: ‘Comments Memory Label Mnemonics ‘Operand [Op code Address 4100 2) [bead BEAL Regt x PoSy usith: te atart —] ot | enn oo 4103 al 4104 INX H 23 Eahe Rt 10 daka Of sets [oor ee 410% e ‘Re dako cow MvI oO af 4108 C, 00H 00 Tomretoby 4104 | LooP2 ADD " 86 Aid i gona GT CALY:| D2 * — 4108 TNC | ops [oe] to ter Cond 4106 41 4100 INR ick OC) [xSemnk Ei cage 41o€ |LooP! | pcR’ B os, > Ee 410F C2 14110 INZ Loop2 [oq we tek zero : 2. 41 ; 4) Looe" | 42 INX 4 23 | es 412 Mov [MA | 99 [rete ae 44 InNx 4 23 a ea 411s Mov My #1 Gate te ext ee 416 HUT FO [ea eagle oy wa OBSERVATION: INPUT unr “4500_| OG. 4502 OA aso [02 3503-[ L aoe onruT 45 Bw 7501_| BC 2503 fa Exp. No.:2 (€) pate: 2$.03-2% Jed 8- BIT MULTIPLICATION AIM: : To multiply’ two 8 bit nuinbe ; 5 stored at consecuti i store the result in memory, stored at consecutive memory locations and APPARATUS REQUIRED: ¥ 8085 Microprocessor Kit ALGORITHM: \ LOGIC: Multiplication can be done by repeated addition, |, Triktalize memery petater to doka Lecction, 2. move. cewlkipdfoand Bao register, 3. move Be mulkiptlen dbo anotan, eee. 4, clean He accumulate’. < Add Mublfedicand ke accwmubakor. 6 Deerwmnunk mulbiptien. ” Fhepeak Steps Hill Mulliplia eames te Ber Hy Be vebult juftich tb. in Hie Qecumalorten, ty Stand ina a, ‘ ‘ oa aa “a \ RESULT: an Alp wap nitien fet Be ‘bik Multpcakion uning Nepcaked wait methed, and escecubed ore 808 tricroprecsien Ke. 3 PROGRAM: Memory | Label | Mnemonics | Operand [Opcode ‘Comments Address : sted move Ye doka oof a8 wvi [econ L26 lier uattely to He Alot 00 |[o'vegister. 4102 2) | Loan. He WL vegiako 102 Lx} TaSy with He 4103 Ho4seot | 00 3 ae 4104 4s anes 4105 Mov | AM | Fe [eC OR 4106 Tnx 4 23 | Tropes Ae HE P ConkenE 410% | Loop |.sug | M "% So 4108 tur .|.8 | og [mount He Bregatien 4109 i 2, |e : . | Simmp Noet Carry 4104 INC Loop | Loop 24.) bo. Loop . 4108 41 Shut 4ioe Avdi 4 86 a ee 4loD “| Der’ B+ OS; | Reowrank He 6 reginlol 40 E TNY we: [23 cia a 4iF Mov MB | Fo | Se Be ous agereg 4110 INX 4 23 | agermnk He wry 41 Mov HA Fy [OOS Re ao Relatn End. Ki Govemors 4i12 HLT FG | Nv commoncl ft OBSERVATION: / INPUT, OUTPUT * aoa 50) 4502 28 +3 [or] e2 4503 60. INPUT: OUTPUT 4500 [04 qo] ON 4501 04 4503 |_ 90 ae oes Es Date? 25-03-22 8-BITDIVISION AIM: Todivde two 8-bt numbers and stor the result in memory, APPARATUS, REQUIRED: $4. ue v7 ‘8085 Microprocessor Kit ALGORITHM: LOGIC: Division is done using the method repeated subtraction, | Load Diviver and Divi ae 2, Subtoek divine. dram ‘ividind. ~*~ ss 3, count He rwamben oy Hite’ o5 Suibviction Uthich Eqpials He 4 Stop Subrackion UBen de dividend tg diss than Be: divisor. He dividend nau becomes ‘Be vermolder. ethunuiide go to Step. . . ve tah D4 5. Step He program escecubion, ta an ALP wap uiritken 6% 8° Pik divibion me "peaked Subrackion mathe and eacecukecl uding Boas HP EK. WITH DAD INSTRUCTION; “Address Label] Mnemonics Op code ‘Comments 4100 Nvic,0° |0€,00 wera saa om 4102 LHLD 4800 [2A, 00,45 [ees dios xeng [ee | Gane eR BL Pary wath 4106 Lup 4502|2A,0%45 [Rue 4104 DADD a, (ee ee 410A Tne Lt | 02,0641 ers tool cay i wt 4lop tec | oc Sasa enc tens 410 | Lt |suro 4504 |22,04,45 | Sere coder io BE au. Mov Ac | 74 | Gen Shere oC © He accumulaley uz. STA .4S06| 82,06, 45 las eu Agogsth one 4us HLT 6 Command by Halk OBSERVATION: Me Table 1 ime Capa Kaiies |B | Bes PD Data 1 4500 4 523 4504 FO 4501 ABCD 4505 Fo Data 2. 4502 ABDE 4506 a8 “0 | EDBA a4 EXPT.NO: 3a 16 bit ADDITION pATE: O04.22 AIM: ‘To perform the addition of two 16 bit numbers, » APPARATUS REQUIRED: 1, 8085 Microprocessor trainer kit 2. ' Power supply fixed + sv ALGORITHM:, | hk Ben Ee: 2, load cu frst daka in HL eg. RirazaBs ten do De 4 | 4bead: Second, dake BML Tg. - 5 Add!’ kiug’ dota Le io 6 Th coany jump tout. . % Increment e-reg by 4. : «8 Store thu: “veoule in -memery dacaion Speci. WITHOUT DAD INSTRUCTION: Address | Label_| Mnemonics ‘Op code ‘Comments 4100 NviG00 [0800 [Wage OE 4102 [Lup 4sop|2a,00)4s [tek ty AY na enter 4los xChe eB Eccchange He conten’ og —tt Fal 4106 WuLp 4S02|20,02,45 | “Zion OY Ree 4104 Mov AL | 3D female 410A Abo E 14108 STA 4504 410 Nov 434 Sor [Abe D 4ilo Tne lt | 43 DRC 4114 | b4 |sta 4sos 1413 Mov A : 418 STA_4506|32,06,'45 ‘re nace ee IC AMLT Fb | pl Re Cprmonde By PE OBSERVATION: z Table | Input Output Address Data Address | Data Data} 4500 482 3 4504 FO 4501 ABCD 4505 Fo Data? 2 Taane | ™ lag SBT ep ea 44 RESULT: dak Py ‘hua 1o~-bik rumbend bs poy. : Addition Tus te PROGRAM: Tareas] Kabel] Minemanies | Op code Comments 4100 Mvic,00 |0E)60 Giese ee 4102 LuLD 4500|2A,00,45 | ced SUR mE 40s xeam «| €@ Recharge tit conden Sat 4106 LHLD 4S02|24,02,45 [Ros SY WH rometee 4109 MIC 06 [06,00 So et 4108 Mov AE | 35 fees ra ene 4 loc suet |as ne a lop sta 4804 |32,04,48 | nue Te 4110 Mov Ayo | 3A oni oh il ai spk | qc Feet ait re, 4uz STA 4505 |22)05,45 linvccie aaa 4us HLT %. Seo Me ommard by Hale OBSERVATION: Table 1 Tapat ‘Output ‘Address _] Data ‘Address ] Data Data 1 4500 AB 7508 13 4501 eD 4505 cD Dae | pg | 0} Oy 4503 B 4 Exprno: 36 16 bit § SUBTRA\ ee alias .CTION AIM: ‘To perform the subtraction of two 16 bit n wumbers, APPARATUS REQUIRED: 1, 8085 Microprocessor trainer kit 2, Power supply fixed + SV Algorithm 1 que Ht LSB in Lreginten and HSB In H vegitten of | bie umber: " : en uaith DE register. 5, Reon He Content o HL regidt g.again que He LSB. in Legh, and NSB Tn H regia of Ib bit number, | ke content of L regiaten from la Content OB register. <. Gubrack te Content oy H. Regibker pam te content of > vegiater and bene pom previous SP: srebull I memery decakton. RESULT: Tus Subrackion 9 Hue Werble ae PROGRAM: ADDRESS | LABEL | MNEMONICS | OPCODE | COMMENTS: Aecwmnslokon taikh 4100 LDA 4s00|3A;00,44 He veumas Teite coo 4103 . Ric oF [eee a 4104 Ric * | oF [feet st arty 4105 Ric | OF [ftote rege wall cor 4106 Rie “og _ [Ratnte Lege wits carry 4 104 STA 4504|32,04,45) arte teseorneoy Jef 410A HLT | 6 [PARE CSEE yg Holk common OBSERVATION: eel Tapat > Outpar Ric | Address] Data ‘Address | Data Data 1 4500 59 4504 aS a EXPT.NO: 3 ROTATION OF Data pyres paTe:04.04.22 . ‘AIM: " Torotte the given data byte “n’number of times, APPARATUS REQUIRED: 8085 Microprocessor trainer kit + Power supply *” Connecting chords ORITHM: * ; 4 . “tae the Accumulator wlth te contend in the 4500 Nomery Lecakion, ; 4 5 Retake thu Accumulator mbenk with cory ko the dk y - bi Lion | Re by Ibe Pebllion LRRC) . ib EE Me Rat sie walth coor bo Be yf y eh postion / Right by bue Pebition (Rec). 4 coumulaker canbenk wlth bo He seit by Sue salen [eign by (che raion tA). wk ia - ae viuth Carey bo o eblkion / Righk-"sby (--biE Pebliten (@Rc). i Paria Contenkh to 4504 Homery 6, Store coumubakor, - . 3 rd. Me cols by Hell. command : peecuked and RESULT: 8: ane E Tuy Retakion of Daka Byted b Found filhen by LC /RRC and He Rebull \ valouoted. PROGRAM Memory | Label | Mnemonics | Operand Opeode ‘Comments Address 4100 Lx! H 21 | bead He HL Paty 4lol 45 | 60 ae He addoss, 4102 oo | 45 4lo3 Nov CE Ee ae He 4104 App A, ease] Mad Me Morale 4l0s Mov BA 44: [move contends eas 4106 Abo A gt [Pad te confer of 4107 App A 83 adc contents OE 4108 Aod 8 go aa eonlerdd 4104 INX H 23 Pecan’ Me HL 410A Abd M 86 Fran Se conten *¢ 4loB Tx H 23 finger Ke AL eg Re Cones 410¢ Mov | MA | Fe [me ls 4top HLT 6 [fro Be ge by salt | OBSERVATION: » INPUT. OUTPUT. ‘Address Data’ ‘Address Data 200 ol 7502 OF 4501 oS Exp. No 4a Date: Ol-O4 22 CODE CONVERSION BCD TO HEXADECIMAL sunt APPARATUS REQUIRED: 8085 Microprocessor Kit ALGORITHM: (TrtWelfae meimery Potten bo a9soo 2,.6ek Hh mest signifiart digit. ” 3. Mulkiply He Hep by 10 uring repeakiel addition 4c Add LSD dp ‘repulk thlefned ‘in Hu above Step. 5. Store the Cowerted result in tL Hemery . RESULT: ? he vo an Alp programe 4or conmerdion of decimal to 4 ey tak 7 and Botecukecl. be 22 PROGRAM: Memory | Label | Mnemonics | Operand [Opcode ‘Comments Address 4100 re Hy 4S00| 21,00) 45] teal He Wi Paty 4101 With memers Jecation | 4102 4sbo 4103 | LDA 4500 |3A,00.45| Lead eas 4104, ok | 410s selertace “4800. | 4106 MI B64 [06,64 | moe dt cka bq 410% rr ; immacltately to 864g « [ates SL epee Seal See | a1 0A - LA 108 Mov" Wee 2° 6b | rove RE Crier of = 4log = AVL B,0A [66,0 [erg to H- 4 10D " Trove Rodaia OA tS Bre GOB: oF can —[Balay. (eal SS reper, 410 to delay mim Joc. iit Mov [two | 64 [pate dabet La tiz, SHLD 4201 22,01 g]]Sire SH PT a 4a Lecaabion: aus STA 4200 00,47) Slane He aceuverel 416 Ga te chatter 48 4200-mumdoe 48 HLT FE Erk He xd sby 404 | daey [Mvi €00_| 0€,00 alk i Seka remedy 411A to 00 by Coreg L418 Loop SuB B To Saprack He Breqislen . | 4c Eva WoPh 19a, 23,4) Senne om Carry Jo SE 4F INR a OC [inset He oregT ten, 4120 4131 a ee 412.2 tae : ae 2. of oe 30 a TaD axconpralak. 4124 RET (0 Te Noth 22 CODE CONVERSION ~ HEXADECIMAL TO BCD ue: O04: AIM: e 5 To convert a given hexadecimal number to decimal, APPARATUS REQUIRED: 8085 Microprocessor Kit ALGORITHM: |, Triffalize Bre memory pointer fe qsoot Qe Gtk Ky Heccaductmal nusmben in a Teqeter. 3. Peyewn epeaked addition fpr region nuvrnben 8 bined. 4. Adjuak for 8D in Goch Step. S. Blore Uy Bp dota in Memory. (4 24 OBSERVATION: Table 1 INPUT OUTPUT Address Data Address Data 4500 FF 4200 Os #201 ae 4202 ao + ws red ; Se aes fost ihe * B, RESULT: jeocouhe rum an ave pregom carenbion of & i bb dicimal wad upithen and socreubid i - PROGRAM: Memory | Label | Mnemonics | Operand | Opeode| ‘Comments > Address : ROHL Paty oaikh 4100 bt Hy4S00 | 21,0043 aa pa: 4101 soo 4102 = | 4103 Mov [AM | FE [T Gorkenl \ ‘Subyack immediate 4104 Sv 30 [36,30 gubgeek 40s trom Compare OA tromediakly 4106 cP) oA Fe, 08| Sof 4.107 acounmslate 4108 qe Loop | DAD] Sump on Caray te 4109 a] teeP: 410A 4108 Hv! A,FF | gE | move temedioke Re dota PF to He 4106 : Fe H 410d | Loop | FNX H 23 | Beement Be AT tage S10E Mov | Nol | aq [noe ENS pain End Sa coda. By Walk 410F HLT 76 ene ea OBSERVATION: |". pa |, OUTPUT ioe Dates * Address = ‘4500 a = a 4800 4t 4sol Fe ae FR tewakid put ie Exp. Now ate: 0B:04 +22 ODE CODE CONVERSION - ASCII TO DECIMAL AIM: To convert a given ASCII number to decimal, APPARATUS REQUIRED: Arana ALGORITHM: “ ts Taput A Canbenk oy 4500 tn oxewmuloker 2. Subroc: 0H Syem accwrnulaler, ° f nae Ha Gombint of accumuleder mith O44. 4. 2j he Cb ode, aecumeaios dat ee tn Bun gob Siap 6 che glo SérS. . Subvack FH pom cecusmaital?? nasty © ria as denlenke oy oxcunmaslaker te . dicatfon- : : P's an ALP propre 4 canyersdi on oF AScI\ b dedmal as wld = : 28 PROGRAM: eee Memory | Label Mnemonics | Operand [Opcode ‘Comments Adaiess 4100 roa [4800 | aa [tema te onl 4101 : 7 Hemony Lecakion 4Se0 S 4lo2 GA twredbabely 410 3 cPl oa | FE ore 4lo4 oA 40s |. TNE «|| LL. |.D2i} temp mot tycory 4106 ODL ea aa 410% 5 41 4108 Aol Bo | C6. | pad immediate oH 4104 30 | ete 410A mp | L2 | c3] wip Mo 4108 OF | of execution do LD. 41oc 41 MvI A Move trmedioke He f1ep | 3 BE 1 3E dake EEH bo accumulator. 4l0E 3 4I0F | Lo STA | Sc0o | 32 | Sor Le accmulaker Conbent Tr O momen | 4!0 0 cen 4\n So | 42 HLT 76 od ae Commands -' OBSERVATION: IPT Aa aT Mae Data ‘Address Daa oe oq 5000 3q 4800. 2 Sooo EE te BE ‘ SORTING DATE: 22,04. 22 'NASCENDING ORDER AIM: To exeute the sorting of numbers in gy ‘cending order, APPARATUS REQUIRED: 1. Microprocessor trainer kit 2.Power supply ALGORITHM: move the data OA immediately Jn the ¢ Reqidter. 2. maye the conkenkd of ¢ Register Jo @ Reglnter. 3. Load Tmmudiote he W Regliten wilh 4500 Nurnery Lecakion. 4, rave the conker in M1 de Atcumulaker. 5, Incwrert tha H Register Poly. f. tompane She Conkenky ta Muth Jhe Accumabaton ont 3. Tump carry to Loop d (L4). g move the conkenks in Atcunulaher ko > Regtdten. q, move She cantents in M do the A ip, move. the Corkants ta D peginker te M. I Deenamvant the Eackended ¥ Reginten Pair. 2, Decrement te B regioter. 18. Tump toot zerg ko Loop? (ua), . Decrement the © Regioken. Is, Tump tot zero bp. Loop (L3). dy Hole conmmond, y mlhise sonking of Nwmbenb in Ascending oder I erceaked , Found and Tabulated. ke PROGRAM: ADDRESS [LABEL | MNEMONICS | OP CODE | COMMENTS 4100 Hv1 C04 ok, om [mere te data OA, A tol Regibten . Atoz] 13 [Mov Bel 41 [Ree eee eT 4103 Load frwmediake 1 Rogisto, ies Lx | HyASed 1,00, 45] 0 ast 410s Lecakion. 4106 b2 Mov.A,M FE rng Ire Coens OG Fi j 410% | | tx [23 | trovemenk A Régiphin. yoo es ene hy [ee [acenae: tien } \Oq eet ‘ ! 410A TNC LA [D2 \i541 oan de, i "1 4loB eed luoopa (14) | A10C Nov 0,4 | sF eave Be EEE | 410D MovAyM| ge igre | [4\0€ |: Mov ay D/ 92 [mor Contents tn D | 4ioF [| dex [ae [hierar ty Seiad } 4il MOV. MGA] 99 |pmeite cients aan 41 _-|Tmx H | 23 frnewmenk the WoReginta] j 412 | Li | DeRB os Pewrart BS Rigiale 413 ; 4\4 INZ LD C2, 06,4) Sup Wet zene ‘bo loop2 | ANS i (12) z 4b el Deena He CRgia ANT a8 T.N2L3 |c2, 02,41 Tiamp. 1 {22.0 Jo Loop 3| ANG gy 4A HLT 6 [Pea Be code by Valktonmar 7 ZnopuT 4]4 ; 5 nie $|S1e $: 2 Zit ¢|#|4 aporess 13/2 |e |e ols 18 }3l3 ls sis 4213 1a |s /é6 13/318 13 ara |37|2#| 8227 [es [ts [ales [a loslon orgeyt a | 8% | Fl | 68 [5a fag] sa lag ha los o2 EXPT.NO: Se SORTING IN pj ESC pate: 22-04-22 a NDING ORDER AIM: ‘To Execute the sorting of numéé APPARATUS REQUIRED: |, Microprocessor trainer kit 2.Power supply ALGORITHM: Ne Be data "oA satay bp thégisto. 2, move Bu covkerts of CReqister “Uo Bi Regibten. 2 ‘ecakion. 3, Lead Tewwedioke ide ypagnin ah, Soo membry 4. move He omnbento in Asma ern Bee Regidbin Pai Bre conkenke iin" ik te. scalabn, Pao teok Conny fo. "boop (LA), g, mave the conkents’ tn cewek. 49 0 “et trove te cobents ino te Ase Acculab ’ ‘ move the: contenk in D Rugisten ie 1 Decumunt de Exkerdid A F a fly: PROGRAM: “| ‘ADDRESS | LABEL] MNEMONICS | OPCODE | COMMENTS ht iy aka Bly 4100 | Stork | Lx Hy 4500 2100549 fe money ation 35 Hh 4103 wid, OF [10 [Soa log Hi Ato [38,10 [osama i 410% out co |D3,c2 [oink oe i 4104 ~ [Mviajer [sesce | tm estie: | 4108 OUT ca |D3,c2 [ete eemuein I 10D MT 490 136,90 [oc Pe ate | 4loF OUT C2 |D3,¢2 | Gene “toon di 4111 | oop | Nova [ze [EE Bec He] aa 402 outco | D3,¢o | Sues aes | i CALs... |CD,IF, | car Me DeLay Allg « “peray: [4b ft 418 “ Per IS Drowmenk He D eigistal 4119 IN Loop |6211)41/ 7" m™worme & 4c TMP STARTC3,0941| “"? See = ANE [Delay! Hv} 8, Ao 106, Ao’ | "ere Sdets Ao Fernie 4121 |Loop2]/ mvt CyFF | 08; FF ain onde? 4123 |vooptlocre | op [Pret ee 4124 | | IN2 Low jez 23,4)| Se eg 4124 DRE. 105 Deownink He B yeglstr 4128 TN2 Loop2|c2,a1, 4? ease 4(28 RET CQ | Renn BD mone FE Endl oy, Subrostine s ee ee ea ee et o> oo EXPT.NO:6a DATE: INTERFACING OF 8279 FOR DISPLa o SOLUNGMEssagg AIM: SAS Tao | aN Todispleyarolling message ing img” 5 ¢4 fies APPARATUS REQUIRED: + Microprocessor trainer kit © 8279 internal board * Power supply ALGORITHM: 4 Lead the HL Paty inmmeclfakelyy taith peinken, 2.move the date Tmwediotely bo D ond A register. 3, Clan Be dibplay 4. winike dteplay and Aube newmunt « 5. Trenemank anc decremunt tk pointer. 6, Sump y fon zerg © dloo, 2. Display de ntock Chanacken . & all d : Qs Trenument He AL Poly 0 Decremunk Ae count - cai Sheps 6 tole "WY counk i net zens , TP (2, Repeat Steps [to (0. 44 INPUT DATA: cae MEMORY 7-SEGMENT LED FORMAT oe LE’ a 4soq | lojolt| t]olo lo] Gay H asoa [tfifilt/ i] ol] (Fox For a Common Anode seven segment LED a logie 0 is used to turn ON a Segment For a ‘Common cathode seven segment LED a logic 1 is used to turn ON a Segment 1. Display Mode Setup: Control word-10 H oo 1 0 00 0 to Lo 0 D [> K K K ] DD : 2 Bit character display left entry 1 16-Bit character'display leff'ettry 2.) f. 21. 10- 8-Bit character display right entry = I1- 16-Bit character display right entry By KKK- Key Board Mode . 000-2Key lockout, rb ho ye Oe ota he ry 2. Clear Display: Control word-DC H. 7 T o cD CF: F'ta BAe Gh e 1-Enables Clear display ! 0-Contents of RAM will be displayed”, ne . St IM , PFIFOStatus is cleared © 1-Clear all bits A083; Bod =FA) + (Combined effect of ‘Auto increment = incremented after each display RAM, 4.Read a Key: 1, the row %q Of read and vite Seleets one ofthe fg tows of display. ig etted Wil be Ea Peration of the a 1 A Eu E E x cNTL ‘SHIFT ‘ * 5 Indicates the eolumia tn 1 key was foun Intiates the row in|» Which the hey was found Which the key was found, . : § Read FIFO: Control word: 40H ° o o o 1 oo o ao a aL x x x x Resutr: oy 8085 with 8299 or Brut been Pererrmed, 46 PROGRAM: "ADDRESS COMMENTS move de dala oof Trndtakly te 4ioo Aceuasurakor: pulpal acowmulalen donk toco 4102 4104 mre de dake Cel trmidiakss bo AcemsmraLakOr 4106 Gukpak Accumnlabr conkenk Eo Cz 4108 rave Ee dake GoW tomediately to 410A Oceanlab oukpue accumulate conker bo C2 Atoc move Le daka 83H ‘tnmediokly & 4L0E eukput acomulaker amkent dp co 4110 nave Be deka FFA Trmdinkey £0 AcersrrassbertOr . 42 oukpuk acumulater Eonkink £0 CP 44 Gukpek accamalakr Emknt te CO 4u6 pupal excoralale| Conkenk be CO 48 oulguk Gztunulator Conkink & CO 4A eulput aLomudakA Cybern & Co 4c Grd He code by RE Commands MEMORY LOCATION ED FORMAT HEX | LETTER DATA 4i0c oO) en | a 54 eee eee EXPT.NO: 6b a INTERFAG, "ING | OF 279 FOR DISPLAYING 4 CHARACTER AIM: Todsplay the given cham er, APPARATUS REQUIRED ; 1.8085 MICROPRO, CESSO} : 2. 8279 KIT Rar, ALGORITHM le Clean ce Axcumlaben tondenk and move to tle suk ink Be pe Xt Ai! Aint cach Hine axconting 48 dle Rurmben to be displayed: Ee donald ale, Content -to tte output Port - As End th program: RESULT: 5 i : : Boss With. 8299 Te prgamn i | ech By diplayinr a Cranackr hab, ee Poxjprecal « 42 PROGRAM I: TRANSMITTER Memory | Label] Mnemonics [ Operand |Opcode (Comments 05 Hv | A, 36R | BEBE [tos out _|_¢& 03.06 4103 nui fA ye oan 3h [a 10s Out D3,C8 : 4106 uvi__| A,ook [2B — ro Be cet sotto [4108 OuT cB D3, ck eae ee 410A HVE | As 46H tt aie to cemmlales alec ooT | ez Da C2 ae = 410d Mul | 49394 BE — pereitae acomtak 410F Out ce 28,c2 [ftin ages 4\lo NVI Ay 414 Haire 4h dake 41¥ az “our | te [0s .co RRP 4113 Rst Tt CE | Me propa total SEES , PROGRAM 2: SNe 3 RECEVIER ¥ Memory | Label | Mnemonics | Operand Opcode Comments Address oth 1 4200 |START| IN) CO © _[SApak Ue Codent Grom Co 20! Sra [aso [2,8 See Ee coe 4.204 RST T CE Te prego Gobet ERPS | Dy Yovedsreddnad OBSVERATION: r ) OUTPUT ‘Address’ Data 4150 404 36 \Tnikiolize 9629) with date 4.6 alas a Chucks Hi eutpuk a chennl © ts conructecl to benbmible} lek and -reciven clock % gas 3, Coeck R78 wlth ats enc TxD urtth AyD, 4. Bocucuke HL program Stvanking from Lmakin qico pera Pragrom Stoniig. fom 4200; “St0P. ropes be a etalk the data a by deadeck , in He ieeh'on | 5 2 SEs 4inoe inte ea ts Sa eee so IN PROGRAM: SAW TOOTH WAVE GENERATIO! COMMENTS ADDRESS | LABEL MNEMONICS OPCODE ae 4100 [start|NViA,oo | 86,00 |e. a 4toz | td four co |D3,co | rth ave Troumank Ta ace ~ TR A 3c ae INZ Lt | C2,0%4)| Sup on No 2ee GS tepT do 4108 IMP START 3, 041] ne He eye PROGRAM: TRIANGULAR WAVE GENERATION “<:,| ADDRESS} LABEL| MNEMONIC! OPCODH -COMMENTS -; 7 Stoo _|grart [Hv L, 00 |2€,00 Fee canis OOF Tommy 4ioz [ia [Nov AL #D gaeites AO Eregoy 4103 OvT ¢8 | 93, cg [esp eS 4los TWRL [oe Trowmenk He L veqilta: 4106 TN2 Lt [c2,02,q)[ SF om wo sae oT 4104 AVL, PE [26 FR [ee are eG 408 [12 THov AL | 4 tage, UE contents ofp eginka 4loc OUT cg Ce eure 4106 DR _L 3 ee 4! OF ‘Inz2 €2,08,4) Size one tas eS 42 INP stagt | 3, on4i| Soe te panes Coe EXPT.NO:7b PAC INTER, DATE: "ACING AIM: Tointerface the given digital toanaign '°8 convert oh a APPARATUS REQUIRED: + 8085 mireP reson ine © DACKit ALGORITHM: Saw-tooth waveform: Iehoad Be Value (00) bo 2. Sead Bis arias bo Dac, > Rte 6 3 Trenement Accumulator . : 4 feptak Step (2) ord (3) ul accumulaker Valu, reads FF 5. Repeak de above procedure from Step” 7 ALGORITHM: TRIANGULAR WAVE GENERATION 1 J iv Triangular waveform: Vboad, dhe dou value (00) in dccumulaers : 2Send this acowmualaloy Gmbenk ko DAC S tnowmunk He occumulaken, aceumulaber each FR, dectment +h, 4: Repeak Step Band 8 untill He contentd DAG. * axtunmuslaler and Send. He ccowmuloker ca taltae. 5. Decromurking and Sending te accwmailaker contents : ‘The Square Waveform: | Send ou value, (00 ; 2Tnbveduce Sulbablt delay.” t}sd 3 Send high Valus te DAC 4. Inkveduce delay, § Repeak Hu above praocunt = i )b dhe Dae. PROGRAM: ADDRESS | LABEL MNEMONICS ‘OPCODE Se oon 400 |start [Mv A,00 | 36,00 PeG cy te aceumlaben. 4lo! : 4102 ovTce —_| 03,C8 eulent: wel & 4103 4104 CAL Delay [cd") 41] *. Te DELAY 4108 4106 ait Myvi A FF | 3€, FF sug a {o8 : ; 5 : Se Out C8 (D3, 8 SRE SE IETS 6 10A ace nl rr CALL Delay | CD, igi] cae He devAy (06 : To a 410d aoe Jup Stork [c3p0,4| = een & Lor 410 th D MvIB,0S 06105 _ EEE TENG 12 in fvaginten. ere La [MVC FF | 0€, FF Sa aFy 4115 |L2 | peace oD Daou Re GI ae INZLA | C215,4)| Sve NO Pe COLT OPCODE COMMENTS Dek 8 [65 ere] -IN2 Lt [ea gamer mses BHT], a RET eq Ta Bool % Sabrent | by RETRs5 coMMAWD* Model graph: mpiiowde FJ] in Volt Time in ms g 5 -2 > s4 PROGRAM: 2 ee ‘ADDRESS LABEL’ MNEMONICS ‘OPCO! E = 4100 NIA, 10 [3610 Pinan . = ae out 6 93:08 rat data at 4104 pvt A, (8 [3618 | ay 4106 out c8 |[D3,¢8 ouskpue Re Gonder Of Ozeorcaiy 4108 vase [38,01 ee 410A OvT Do | D3, do otrat Te embenIS & accomlain 4106 xRA A BR |eNon fachanive OF penton 410d xRA A | Ap | Poke Secure oo 4108 MRA_A ar |Pen on Been a 4\0F MviA ,00 [36,00 move He a a au ort Po | 3:90 ~ee & corked 4113 [LooP:| tw Da | DB, Dg | Zee doe = Aus ANT ol £6, 01 Pak AND Operation on accumulate with OH dato - Sy CPI Ol FE,0l tompens. O18 data Cuith ate 4M INZ LOOP |02,13,4I] Sexe o wo zen toLoop auc TN CO | DB, CO] Fryput th data from CO- 4\MeE STA 4500] 32, 00,49 St A, SHER 0 AS0E Homes 412) ~| ALT 76 edt ii code by Rall Goma Veulute EXPT.NO: 7¢ DATE: APC INTERFACING AIM: To interface the given analog to digital converter APPARATUS REQUIRED: *. 8085 microprocessor trainer it * ADCkit nae hng td tt Sh meve 18 bo A sd seat a at ere ts noe 6h avicond wane : 4. Eocelusive Of = wall aay S. Cuan A veg, with Ol 6. Ard Compan Ub ed em Joc 2 ta apart we rat Sead. & sou Ms digital lie % Slap He F aus RESULT: Value 2 peed : - at. givin Araig Thu sé

You might also like