0% found this document useful (0 votes)
32 views25 pages

Mci

Microcontroller notes for instrumentation students of engineering

Uploaded by

rajtanishaashok
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)
32 views25 pages

Mci

Microcontroller notes for instrumentation students of engineering

Uploaded by

rajtanishaashok
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/ 25
—— : — Block |, Proysamm | | —dlfagpam CPL memory | Dato ; mee sene-rnosy |_| —— De: ign use _ssime__patth to _foath Se peactte __commectos fo 2 tore data ancl _ take BAM and RDM Linstmuckon speed __|| Compare i 116 __slowwer ts faster i | Space| Comporeel to I le Space qmnoae _.spcice 7 I WW’ 3X & } = ~ ~_ CPU | eau Lit. | = pum pase Racy LO ra pag Lazer | com, _| aim = a . J | Tecmo BAL C.550; / | Caystal osceillator —> 1.0592 mie | demal intermiph L ETL counte imlewupt | ———l on cb tp On chie Timmer.o | up = Sel | omy Slee aoa al al eee, | AY l [eeu fit | | Wy Ww [| [ese] Laue cowteal) [ut |] gaial past Lat tt Ponts rt L H a oo DTS ee Noo clei = P._p, P,P esccillaton s H instyuctinn ~¢- \ AMON el L 3 bit goagistyy + Pa: dn os A. 8 y A+ Accumulator [ Aaithmetic operection ) 16 bit = pe C Poo ae Counter | Dete To pata Petnter J amo Qe, 4 3u 4H Ao = Bun Lm ow a OH Az dota from ad cow a Lm —_ mmov_A_,oc&h mov a, He 20S HH avaltd, pe g bih. emov__A_, _# la A= 1295 woaas 0 4o 268 a. |Add. Acd A, souwce mov A Bah ‘mov A ## BAH Imov 8, # 33h Adc A # 35h Add A,B y DpTR__- combincition of two bit clay (fepel Coed | Propyaeica _countes__;__default _—» och ooag_to Pere | | tncliterte tte __linne_excustort __,_16_Ioifs,—_ _ Assembly. Pro <> anachine—lom a Asseanblex. x _clep of __genencting file ; is oeKes dito Paogaam —— \ - Sr\e.agm —Pssemrbtes——faagy oo \ tevist CS a : - saps —_timker Prog bs a OH Pegg ———— an oie enti ee nee “hex” PSw veqistor tevite a py. to move st in RZ of CO ae 240, bit addressable _2 aegislen. ingle bi} can _emove_fa__crnanen place Laddeess— Mow _pstn.3 al dala (v, [>] Le ___! Ishow _etlectoa Psov.W bit asp psu Asg PSC. RS|_ __RSO Registax Bam Addze: [ Qo a o> oo ~ 07H t oO i I aStt - OF [t L o a lo f= eb r | 3 [ot - 16H Note li: irre avinhle fox go¢4 oO KR aon (2% Bye ARAM | V7 Rom > Code amemaay, RAM —+ Data _meanoay — poo 93,95 _oe 10a bg 1E| £0 el3o _3F Rea} ton 4 z 3 ark sae: sant i = Addxessable|__ pe oe RAM RAM OR a eer Role + Prone comes _potnts tn the dddeess of =the) mest _imstmuiction to the execnted — Assembler “Dizectiye Da pddzess. = Ne. thet _pevadectmal comes oy aftex_oxg can be ef trex deciyacil 4 END. Btn Souzre Egp equate Be inq__ sen zu J J Lica t 1 4 the assemble the end of she C.asm ) file Te location + Pq —tne_"B i Ove ys these OF bit ed fare fect gistex in olnich only _s:- hits ct Lemay ac C Auwtleray Cozy — eae Porites Jiond ov C avrtlou ] these ade ~\flga g, 6 ua 8 INC = intaement Ess ——_ mou _f o Aa eS ia Vv RO. 10 Ro = 10 att Add A 2 A = agains pay DIw Roca, “n Vv may p41, A He add 48" to naberaenl enuemlgors eon Ao, # | goatnk Add A gol s OFNLZ LRG again v I ow | omoy_go_,## 1a amoy RA, _# GOH Tere (et ADD A Ry DNR Oe ty EEE Concliti onc jump ere OE TAY 7 came Se NIC C= cern Flag aie “4 stack - temparasy clata ¢ address) stack) pointes — 0 Call mstruction Lca\| — — long call Ce bate ) _ A-call absolute call = __=Contoal ig tem ferred to thot cribermattina the __Lypaocess > _ sulbanittine ‘ — lame ie “tame! eit ly be oes the 1c latex ‘ontshir exe = of @ S +h: * | RET => Rebran _imsknictinn C comteol back 4a ee pusy Por ero | opencrtion —— | ee PoP tem Poaeay, =F PUSH (a) Rea doe wet has es Uv - rental ig. esi PUSH | == G = —} no Sp, # ven _ get 8 P51. 3 feq Rumk 4 lnm oy Ro ash PS0.3 —3 Rog lam. R #oct a ano y # os ol | Bost 8 E | pushy 4 p_push A PUSH % 9 of | aos” al 206. laa S aS zou 26H sp = ug 1 @ |Machme cycle = ced executing an _instouctinn takes 1 _ceaterinn mumbeo of —clacl cycle gas\ @) clock pulge fon G)) amcchine cycle tiqme —_-ba evn lou ~Lmmaich tne _eyete —____ L Fos fl psge mt faeq foe 4 machin cucle = {1.9592 (2 = @al.g kHe —— 4 " : ts | cat | Register —Tmdipect — 11cm foe = GVA, 4 ss — ies Senov _ Ro. ## ual Ro es Mov @ Ra, A Lied rnc Ro ltndlexecl A > quran, ote cabedes dG hit omems ae A, @f_+ PIR —— code wemary | SF —lxc._}. mov _A # OOH fick — mo _DPTR,_# 3004 . move A,@~p saa ; exteanal ome ALAIN y [ la boyts ] =movx #_,@ A + DPIR poepoesent _BCD_muanbex. TA IM hex, Tox. [fcetme that scp ms Ma me fp Mi mo nl +imex—O ——t loge —» \@_ dimer, a dlisclle |We/-ru == counter Oo as +ymer : | imi 10. MoDeE | ° a oO 12 bit were mach? o tess { 1é . l o a an bit outa onlsacl | x a re a zaop lo | [e]x [elite Talat Gate —» enable l =[ Sal fo) SS “ox, stimen seek —> delay counter: TMoD _~ _¢ bit P3_4 Timex 0 \_ Gate 4 23.5 Teme 4 J o. iomes_O fo 16 bit — Hiqnex_ameclos ole Lo | oolsonlen lan /aas 09 FOO 9009 9699 TRO = 4 times_on____ teat _pegistea o aoe) mer ott on) ai Freon = | te: | teil tro | tro) te +| tee | eo (arc cl ec ystel__oscillacto aco {ost A ee i { suid =| ahs nl ee A (Code 9- ___ een smou _Tmop, #ol # raciion si mo THO, # 00 H mov —TLO # a0 # SetQ TRA __Hene < NG TFO Here complement 1,0 a cp. 91.0 cuR RO poet fh cLe 70 mp _aaai u somnement: —_Golrtten— = _ sno = a Henne: qmop_# al 4 a |_Qepsal: | en ow p> of 4 = ¢ dint | apatm + |idovy THO. #00 look pnp LO, # G0 Ht FR [gota na Nexo 2 yh tro He: LR RO. peepee EO orp}, ogan ee Cl £3.) pore

You might also like