0% found this document useful (0 votes)
28 views15 pages

Intro Micro FIN August 24 2017

Uploaded by

adhdtest
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)
28 views15 pages

Intro Micro FIN August 24 2017

Uploaded by

adhdtest
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/ 15
| teteorscnow TO WICLocounmTERS Five EXAW Node Eur PLCWESAY Daly Sheet ov | PECALEB XX mica gs manual Can le ured Guta Me exci Nothing should be. wake on Ha data Bt ov manual, Oy. Aeod. 204% Do Sabbh Fadie aa GE BA) Consider the Lllotating progiaur pavd wit fy 9 PECILE RI wlenotohollay snd We havawant Connechas, BDANUSEL ADCon{ Movil Oxo Mow ADCON4 PANILSEL -poT_H Clee POTLH | POT 4 POT-L ave Usey dehied Clee PTL! Ges PANISEL -THICE BSE TRISE, PSPMODE AAD MOVLW 0x80 P syle ouDWe TRse, Ww Cis ——j PLC F844 BESS stamus, 2 | a Soro Be j Sor AA | Bei BANLSEL = PorTD BCr Stns, ¢ | Move Porrp, w \ Avowe POT-L, FE | BIess STATUS, C | coro ce | (Nor Por_H. Le ail gael cc; Nop Nor 2a: No? Goro AA 4) Explawy the fanchen of Te prgvam Shovily- b) Determine He pi nines af questen mavked pas of Hu 69x Shon He Liguee fi r s sds Hu follovnis 2) Assume that microspore saoten 4 5 date 46 Ae wicrocton tyolle— 285, +120, +200, +50, AO, 1240 After sending Hae last ule, do Ha Wwigveanholles, What ane TM Contents af Port aud PoT_L vag stevs ot point BR. 2) Consider tie Following progiai pavt uitlin for a PLOALERIY micwontrlle BANKSEL = SANA movuw 0x00 Aefned Mouw & SMA LSA 4% SAn-D avk Ste afc MouwF SA1-D 4 Cees NoP NoP. Ber INTOM, GLE olmad; Nor RANSEL Pree Ber PLeg, eele NOP nor RANKSEL SAa4q ae Move S12, PANKSEL EBEADE Mouwe BEAD RANKSEL SAy_D Move S-Di w RANKSEL. EEDATA ~ Movwe EEDATA, Nor PANUSECL BECO Bor EEOONA, WEEN Moviw OxSs MovwF EECONL MouLw OxAA MOuWF EECND BSE EEQN4, WR BANKSEL Pipe Loop; BTESe Pez, bere GoTo Konto | sorp Looe Nor konto: RANISEL EECONY BCE Eecous, WREN) Bsr BECO, RD PASKSEL say_p Movr SAT-D, Ww RAN ILSEL EEDATA SuBW E EEDATA, w BrFSc Status, 2 Soro oldy Gord olmad olde, Baneser SAD (ner SA4—p INCE SAD INCE SALA PTF Ss Stems, 2 Sem olmady AA ah a) What is the Fonchon of Me pregraus ? Explan Shoda. , not hat by tine Pear , ») Whin te p as Ab, PEP ey, dete Ne Lived orem Venda Aw Lint Lataelod 25 bate fa the daly 1 ot]. HED) A PECARFRID mMicwantwile, has a 4 MQ ogy Congidev Na Followsidg praqvau part. PAMKSEL cur clne our BAviseL T2con cure T2con) cUne Wreon PAvESEL prey cere Pred PANICSEL Pre4 Cia Pres BAMSEC por Movlw Ox AO Movwe Pez PANLSEL — Tacpn) Molt LION 4004" Mouvw T2c0W Bsr T2coN, TML20n) sbngu: Mor Bless PLOY, Teo te GoTo clongy INC ene BTeESe Stans, 2 Soro Aria ber Pre, Tme2re ere dongy Ata? How mmiich shine does labeled os b Atha Jo Vecel the point ATLA Wh He gen Pregvauu? #4) The following assemble prosvauy is waver oe a PLCALF B23 Micmtonbelle, with 29 wi oprsts). ORG ©x000d Goro main CLE = Ox 2004 Soro tsk Moin: BANKSEL Tyisc, bse Teisc eg bse TRSC, Moulw Saye y decinngl Mouw F SPaee MovLw b' Oslo o100! Movw = TX STA BANKSEL Resta Moviw 61004 0000! Movw F Resta PANKSEL prey tse PLE4, TIE BSE Pled, Rese RSF TON Prez Bor DTN, ore Gumms. Nop Nop Nop oT Sern, Nop Ist’ BANKSEL prey BTESG Plea, TXT Soro vey BIese¢ Pres, Ree Soro AL : GoTo Son Ver! vovew Oyama BANIcSEL Tx BEG. Movwr 1TxREG Goro Son Mor ALi ANSEL LCSTA Blesc Resta 4! Goto hapis BTFSC testa,2 SOM haps BANUSEL bevEG MOVF = _Beeee, wy MovVWwF Boheg 2 Beheq is q useydehwd GPL son; NOP RETTIG hepis! Nop No? ser hagis a) Suppose Prat aye yale used in the see) Columunia~ Aen is 44200 bps. Deleware ssayp (deGe) nutnber) volt Aan Wy fle Pr, & | I Gite mh. mechs! ee PXATX In tas TXSTA rey “a 2883 cde one, BA Cons das Detevone He otter °893' 5 bend vale ana also He mutuber Cu decimal) thet should boo wit4tes we Da Srere vy. 2k by IE He onote, 89% seras two's Cotap Leman + ot He dala, which is veered b ih what voll be Te Content 22 Boheq SPRL No trey delays beh, tno niga Controller - =f. Y If a framing ervey octis Shug Te Yecephon of dels ° . by YM wicrocntelle Under consi divas , doss feaphen of dete Cnhng? Qh. Wheat is Ha bene feason & Framing turer, Cau decHeudring bend vet be helpfull Ma Anis Cone? Shy? 45) Corsa He fallovoring assuu bly Pregtaur pavt Watts for a Pecdbreny Wier Contro!'e ith AD Wait xT coyrstell BANISEL COPACON clLr COPA Con) BAN KSEL ™ RO cure THRE fMovLW ovoo it OUWE T2CoN Mov blooaa any! Movw. BANS EL Peo Movwe Pee Ber THSC, Pinay Movew says ! BAPNSEL — Copay Mouwr Cera cluer Pre, BANYSEL — prey Clee Pre4 MovLw OxKxoc Movw CEPACon) BSF T2OON, TwRroOW) . alk a 10 ms toty Sgle is deawa dh Me PWM Sonal taken Frou COPA me ot Wa Cro Con to lL dade ne Saxe as byw b) Draw Ht mgnal sear on He cory Po of fe wnleroean palle @ (WTROBUCTION To MICLOCOMPUTERS FINAL Exauy SoluT oa) ManuaL Di Salih Rape Augot 24) 204 AM) oa) The followings ave dove ik tat Gun presen * (cco ) = 6’ cc00 010! 5 all PIs of pode (pez, pay, PEO) ave configuigd as Le td pris * User defies Cres ave clearea, (Pot) 0x00, (PoT-L) = 0109 + Fovallel Stove Poa Mode (PSPMODE) ic Selecled Oy pol D by seth PSPuwODe=( hy Thee (Bee mi 6 > * * Pas 4. —— + 4 0 0 6 o #5 ° 3 1 Ter TRF bit ig checked. TL ibis cet (a new deka is avaved ) Abs cede is copied Ondo Wana Hen ibis qdded ks PoT-L Gee, IL Cany bat Octane th this addidan Caumy 256) POT_H ib nctementea , |b it is vot, + program teh bo pour (2bekd ay AA ena do He sone Anis, 3 Ps In shovk, this pregren eens tw data set ba OP Splew end dd hey. Te MSB of fle sum is siwa In Poth GPL ma Lo of Me say Is Shel 1h PoT_L Cex. uP spl, PLC IGF Sty 9S ) 2130-5 Bah ©) 255 FEU 1200 —» CBh a0 22 > Bab : >, FH SEA a Mh eo 3 Bh ae oh 75H * ReEh € 25h Gort) aay Gor-4) 22 Gor =2 (porW)= 3 \ Go -ere (oreeri, [Por-cy = 25h 2240 — FoW _ 25s 25h (Sum) = 443h = ous), tos \S ae / 4 4 . os 428 (por- A) sa : ae oe + 249. * Ol - - [__ ont) nas “fF port C47, #2) The followings ave done in tw gryven progyan * Use defrid GPs S44a, ena San ave cleaned a AN intevrupts ove disable, GIEZO, BeIE =O x (BEARA) = SA4-A s00h (ee0aTs) = SAy-p = 00h EECOWA 2waewd =| Netasec prepevaton Cy wow thn § (unhug OxsS ma OxAa +o BEV 2) is dou 9 x Wahny process ts inthatea bs vraleany BEGNIwe>=!. ‘ 1 \ * by clecluins POUL 2EETES iy, the wring pouss ected. If ib ts Hailed, Ae contol job ds Sys, In ths ype tHe conlenb of He ERPROM loceha is Med aa Compened with tH sata Pets walle. |f tue wahhs Pred is not cueleles Sutton fill, Mua senv je > Mpealen. If Bee eS potas SC Gerofull | Said i nce mended 5 ke End Sak is women. on tothe On Bau) = 0x04. Alley Aut warhing PW is Kaleo mh malous (EeData) = Sen-9) = 9x01, (Ge are) =o). THe ‘S L ‘pe le Yepeatea Until saya opt i> Oey Pou» ee all EePRow loceha,s ane Walter, DATA EEPLow CPA] coy » eth oth oah {2h d6h ds 08h 04, OAL 03 och Ob_ VGA [224 { i ! Terry #2) Beo= 4 Mik. The followings ave dot i the ger preg # User defied GPE cnt is cleaned, (cnt) ooh * Timer2 is sloped ba maluing Crem)s 00h * All in Bane diseblud by enaliaing (wren) = coh # (Pres) =00h, (Pay) = 00% * (a2) = AoW s 4 2 Soe 1 1 1 9 — _ _ _ p pestsealy = 4b Timey2. is off. — Timy 2 is wade on, —(€ Tmeerr=s | CNT is iMCtmendedr ~\f£ Stems gay Hy thel i>, ‘james to Ana label, is CNT is ovey Plows al Praga 1f eNT 15 ny ot Over flouxy el Me2ce = Wade Sve 4M progeny jumps to ° chug, The bmne frou Sterhing f (exeerhon hint of TK presen pave ue de la Song is ignore ) + fe Pelut ATA cay bag, calenlade a a> Lllsws { 4 vax aon x 46 ]xase = 4 13" 400) » a 4 loe (<2 ) G65, = 2.62144 see = 262445 meee #2) The felowid, S ronan IS GML dong fh Tow Puen Pray, * \nterrupt Is Urea Me the 2 * 5 * Wise orp ne fen) Tnpat + is wecasca sc ee (Ne 2pr ) y te ure Usa * (sreee) = Saye TX STA « 4 s __ 20 a O cane a see swe Bee | TRUT TxD ° ° 4 ° ° 1 3 oO x v t Wish spece (xv) Br Meme Bobet Asani : ane moae Desai, — drensmisn, OP? Lest > & s 4 z x A Oo Spen bxd Sten Ctew - FERO Oren 2asp a ° 3 4 °O 0 O° oO seat | “ t poetic salt - enable — epho'y Con kiraus, Ace TA (eae. 2cR Ex x Al necassary piegevahons ove core $97 feagnifon of trenemit era eee Idtevri pl PLEA CTXLES EALRCIED =], ITN to OxSo0uh Be Teen "yuan pe 42 se, * Wade He Ise; 1g a tenemit lndempt evans (PiemeTetR> =1) WY yunee to hit Tkeeled ao Ver one it Senos Oxaa Lo Tee otee nico Combate, M66 Veit IWdeviup) avis (PERAcecre > =A) Hb “\uups te Lin lebeledas "Ag! Betsna teceivin Cleds Oem e.a FER nb. if on Dron I 7 Ot, he Covi sponding bits ave set), it joa ie te the eo laveled aa “hapis” sity. Seeing Peree Wath, Te prigrous Shage apis” ens Looe. |) _— \f ne enor Odes ca le Vicaa hoy, He Vece nea dale 1S arb Orbe Bokeg’ GPL # TH Preeraun (eon lo Ae pot it ebb DY Sine BEOH =( aya Foxc= to MIR & 6 19209 = —22_'0) xe 2910 gy Ne Caray lox A920 v io a) Actus! bend fale e 20 I = 192304) = 4b» bs Sear 2 64 | Sime beard vale mcd be He sene far both micweratyelleys w asnchys nous Duan ohyy ene BRU I] ¢ 6 1b Io) x10 = Aw ote Ly es 34,02 43200 qe (ea) Sex datos ; ae 108 Ls Af Acts] beua yak = Oa = 19280 te xsp i I * Beal bend vales one te senna | Good, by Aono roro — > Anctre micoanbelle- 10194609 + o101 O10) C101 O11D Bone = blolorolio! 1 Ore Clol one 1 ) \E a Lrauning ever The progrey Jes dS He Nhe labeled as "hapisl and Sys msde the endley, x Stine He Prova umes Le Hae Ling ebeled 45" haps” Without Seeing tw RetTeEre . Mshuchs, Hhe mioopoussa- " Can net Yecoumie ary Vndeyrg pe 9) 3 Pr Ciktan Sted <0). @ Theve ore no dale is Set ov tenued. Te Duunnicahon is Gat. The bane feasen or Frauniig error Sening ths Vecephon ef cede is Ha byyavete mismeteh between tro fideo, Decreasing ta beravale used da te Colutinicedhsn Cen ke Helpfall, 16 He mismateh vale is me} Ho bis, Deeuaan We bendreale wales He periva Whine He Samm plug job is ae levee This mans Drat & Ingher misuretoh valus Cay ne tolevoted \t, hls Caza try The fe@inkgs Sr de, HS) Tay followings ape dow iy te gheen proqtau, x Ger coo) = 0x00 fe CCPd module in oft, x (mir) made On. The Pwr Borel bil be Seen on prs CPt pin ’ @ a) 2Fh=k),, Tawa = COPA) x Ge Tore Liman Prescaler Value} ory Towns, = Gh ¥ Gx £ ‘ Pwm = %OCBS0b25 jf h 47 64 xy ~6 ——— x4 = = 256 ns 1D \ore {o ° t = 39,0625 Lia. RK Ude4 a9 » Pcimel x Tose x Cmte prescaler valve) 101588 2, 4 xt ke 4 10 1h 00 = Cah de = Pwm duty &y \ = b! OlI9 O100! 6 lO I we ley (SossSrae te ) yt Ce sa tection og (2) cceeae CoM Con S445 ae ee pee Dots nctea ocrea ocrae PBS KY DES KARL P-L. peIRO *K x \e 4 4 } ° 1 Q ° _ ~ aes this is oleaday $9, -sayi= bloooy toy! [ wien, rs Oe ey (cre cemrcons) 10 4s ka b) +2 x(900 239% 256 5 25.6 Sty egele |

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy