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

Microcontroller

Uploaded by

B38 PRERANA.M.C
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)
22 views

Microcontroller

Uploaded by

B38 PRERANA.M.C
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/ 9
Asbagomul - 1 G} whet 1s otatas piston (at) 7 Duce the fpnion of wh bit SE Prout 0 Msp4so mivio tonbnollnn, >The slolus wplor umloing infgnation about ‘The Stole, gy te procuior Thy contoid a sit nf Hogs 03 shown bdow) 6’ &B WN pg g 1 ¢ . i 2 a | Resoved Cc Cyt V | sour es Joscorr \(puorr IE N | ze lc ) Cony $84 + Ce) ib a St whin 9 cong A bonnow Gy gurated phn onsignsd aud tion OL | Suotradion 4 por gamed . 93+6 operation with 5 -bit ™ Caomy 11100 VIL900 porro | 100010 Ue | -bit rout | °) 2m0 Hog: | yok dy st yoru Te 4 | => usd to duk ussthor qwo Voluy one tap. tt of an opuiatien 8, 20 | Ext Mov 40x09 24 R= 0010 ool | Mol -B 40x09, RO ag = 0 00) o oo) KORG MRS oO 900 0000 21, Th two fog at a Nagatrte Hey (i) sot to 1 the yayutl oy aagoht son ony vignad eruthaen! odds tinny B dablyatio HV Loge oporahion ‘0 00001010 rrr’ yoo) ¥ Sign bit mougalle . a Signed Over Hows pogo). > Te uy st when The wat al a Sign opnation hay over plowed > mt computoy un oi) wmplmuth to epreuct bigsd Inbao (le 10) Ovuploo appurs e- + Positive + Positive = nigetive | Ngalive + negative > positive. 5} yond intunupt woble (ure) S>YyPE =l , mable morkable setvnuet cothoutse disable al markoble ixtemugt S Nonmarkeble intonyst cannot be diabled with Te. 5) ua |> whn sb to 1) tam off th, cpu Bu. in malt -de prowual, 4) ose bb oun sek BT, tem off The LEXTI oystol follatB »wh dt ws aot sal fT MCN BT SACL 1) SCQO s system cock Ysnenoldt + ohn at lo 1. 1) Scyl : gyylum ode gqueaclal Lun obj the FLL + Loop amtnol > cht St to “T', -bumns off, OCU qunela a cA wud MCLK ® JMCLK Cpvore + OSCOFF Soyo, and ScYl om obo wud to intro] bow -powur midis, 4 Oporalion . 3} wmtont qual: > goth Qr ond B ot CAO 403) “Phy On nuded . wy yenvral porpds Banister. atid to provide Six comnrn orb wd emt $0 thet Thay ntl act be fikuad pom rrenBly whuuvur ee Oe wud 0 guiwal working nqstr 7 thy enoy be ead [pL Uthe ato 4) gmuntion “the duygovart bebowen _enplein the future 4 srs ay > apped fille endian, Ting a i randian “paring. FT bow mdr byte af stored at The towur adden ond The hgh -Bdu bye at te Ngtoy adden . > Thy 4 used by The Msp4so ond | the moe common nat > Addy neroty 10 axwnding sau | “thiy mors L5G 8 AiSplaged fire tL -endian ond si ~ endian mandy - input ard outpet The Nigh - ado. bb ay sored ok the four gddiws and Low order bats dy Stored act Ligh addi . 2 Thy, G wid my te Pusole HC SO. Ken vaskone ae Msg ib ylayed freak fotlowel by Lsb plowed py mse Le Oxlgs4 => 0x3410 = storage, ofthe value, (W34I 5 | We Oxlos4 ~y 041034 ~ Skoog. of “the Vols. (asa), mud proces £80386. Pantin ule. motnala pnovrB4: 63000, 62039 yy Ox000! | 19 | 0x OS! | a4 ae ES] | 0x0900 P| “= dala 001000304 + pata 0210003048 Addie 0x10 — Oxtol Oytoy ous | addres Oxi00 Oriol Oxiod Oy103 x01 [0x09 | x0 | oxo4 | Ov04| 8x03 | nts | one Mumsy -Magped gat and ag > pumsyy mapped Tlo | a cpu aod priiphnal. drier opbahed ao dt. > mumavy moped Tlody pe whe the PRCT) tie same minByy Jow.tion . = puny voppd Tho WT some cadres ws ry duvity. y I pl ee —_Addmess Bus Data hus to mashonge dato. and inbowibions bebe andthe tlo divic thane | bo addres both Mundy ord many | Pant vis | —p} Ceayboand) Sc rptain tne funtion af pu npslus prank in Msp430 mivovontnollur ty bity 0 | eoloe pm grarn wade a Ri [sp Stele point 0 fer Toe lCmi —— salyy regietoe Ry [eur Gombynt JunuakdL 4 guna pwyoe ie youd, outer, ‘} Program count. (pc) , |= a cntaiss the oddny othe aun jaknuttion fo ee vided . => Gulmuckion; oe composed fis words. whith Ore alignsd 1 wen adder Ar THe Value 10 The PC I8 outomotically Intwmenhd oy O14 16 afte wach flch Sonat it is rasy with tha addi of nuk wakrustion 40 be vheuted whenthe Gunudt one hej boon secuuted . Thuy idk Uctlony ont ealouted Juqponaly Urlin Thuw ay an aaplidt- jumb Bl cot iathnuton. = ror jump IEE nud addy jy wnitten over the value 19 The OC => cuonoutinu and intunuph or catted using CALL wwitowtiom and also modify sie pe tuk in thse Cows «addres of Habu wat fo AL anddome vgister, Conk used by main program WW Saved onthe stouk ond rwkRW tater. A) Stas pointer LSP) => TE poinks to ‘tm +0P syrthe steak ond dk automat cally adjusted oy the Stous, grows opwand a doonword > stouk 19 LEFO @ FILO mumdy and dk Ws 0 Spuific arta. of RAM. * usd bo store unpslany variables awsiing erogrosn exeustion «passing panamiters fo Subnoutines and ayn g The wut + Sousa to Store nti addieyy when submowine uy colle Lath fartion | subyoultae call ‘pushes data prawt ia regs wu hy main pmo am WoT stalk. “the doko uy ‘poppud whin the funtion dy nu, 5 An M6p30 TIRE Sauk olto ated at the top of PAM and rows down towards low adihiies — futl as carding Shawk WY Makud vaguler (52) > The Status rgisle contains infomation about the Slate of tht procuigy, hig contains a sel of flags ay shown bi.ow. W) wostant guierato ng: - => Goth Re and R3 amr usd bP provide six common usd) ontonly Cri 9e4.2) So thect ty nud not be faekthd from ey Whintye- hoy our nuded . ¥) Yyanural purple Qagisty 10 MGW RE RIS ore utd ox quinad workiog reaister Stay may be usd fm either dato B addron, 9. whak is aatd easing mote 2 uqite with vpmple , alain He ‘plowing addruning, modes I> Baise addressing mata ond sP—ruobve adidrensiog mote. os cca | | Adding moduys The wang v9 WS operand or swig da © | gddiusing Mody . ; pare at ol, spyrow ¥ Coal, aye onamisuy acd an opuard by sing infprenatton bald sn register. wy Dndyeed adie ting mode. ‘ii} symbole wbsoluli Fequter ast ssing mode; - >This addressing mode uses ons 3 two of Wt regis > +4 Wp available, [Bl both Sous and darfinakion d fom b5 to Re syn Te cpu 4 move | topy) WOK t mode ard tok \ ye od preter sows dutioatton bd Haye ERS mov.w RarR6 >This addressing mode dy Sarles = Oy pte 6 vgite can be US cat Sons Spuiad Cay 4 the pC is incamled by 2 whl, Ha wbrucion is bung feload, bye TiS Wud af o JoWe oe the womtont gustan cay wads “0! a4 0 oun ¥ pcard sp must be wien bigause Thy addin only words 30 Fut 58 uy discarded Sh they ou wud asthe dtaction $e can be wad a1 0 Sour and durhaakion . 4a bbe instruction, *% operands ou take brmrthe tower byl 5 tnt uppoc byte Ws not affected otha youll w unit othe Gwar byte ef tREuaiston and ha appa} Py W sand nda) addvaing eo: >the addeuy oy famed by cpu registor ste value 10 “Hee. register Ws ast chang Thy adkdessiony rode, 10 be wud fA The Sou, duatination & vsth . => with Trdeted mode The pc sacemued auomotially 0 that program eau on Wonka With Thi muah iadrution . me bk 05 =4 DAB auton of bilow jab mow:b 3(05)1R6 7 toad byt pom addruu 3+(05) = 3t4=4 , odsing atonstont bare addruy fo the anton of o hit o byl 6 loads prom audtay TL iato RG. The value, 10 B54 Unthop, ti Symolic mode (KC rative) cyan tig cafe pC used to the base asldnar - hn ut op calli pe ~ what aula 1 53109 > rt uj used by coming “tha symbol fa, ana Jowhon withoud thy pris. HE Aka pmogram use “the variable Looper, whith umntain, 0 word. Coad ws) , Mov-le Loopén Rg; Joad he Cordeat 9 Loopitn into RE PTE axtumblir aeplates above “wtrution by jhe indvaed om MW VEO 1 AG CL X=Lnopetn ~PC to the office that nad to be oddtd to pe (bin addry + gee The odie 9}, Loop dn. Thy Colaulation a perpmed wy-the aaumbled whith alto attounte BL The cuttormatic ‘ocremuatiog Of pe. ‘solid ada 1? am trig type ookdry of the date Les ene emit wrth camels oy rep, Jo dk soul bo odd to | raise Shake, 0 => mspago minted tue by (> poste odwatng fy nnn fy the Pp and shay side bE bd fo SFR and priphoal registers, whe addy coe fied ithe, aumay mp. |S win obsobitr mods . pe inurumented auto mals cally 1 So proprana erocution comntiauus with The nunck tacbuation indused addressing mode. the wrt btu absolut using SR (hig 16 one of oh rou o (yt) tae EL: movib & pith, R6 1th tordat of port input agiske aa R6 >the amlemble replaces tids hy Tne indveed AM a4. mov.b pit se) RE 5 eonknk of (pit FSR) iS Move bo RE SR= Rdative mode : =} gp ig usd 04 the rugister in this = thy type of iadwdton oh und Tas + content of Los 6p) mowed 0 26 type of indwied adder a ubratiat and intonap bs Si mov. tsp) RE Draw the block diOgrdm of Hoswond and vod Nuuminn Aruvbuture. Epler

You might also like