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

Embedded (Ekta)

Embedded system
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)
38 views

Embedded (Ekta)

Embedded system
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/ 65
S131 1 1 1 4 49 i 1 Eis not upwondl compatibl 1S eit : Plc. aonity rmumbera Picioxxx ” 1 _So the Fae bus is_g-bit may PIC iaxxx __/ | Anaad hit ol PICINxx J __micnoconbollen Plc 16 x | Pic 1xxx a = —_Tintruction width voniee with the -family mmembov:\ =| One Time Paognamobe (o a Flash. —elucnically enaaing the contend oes a > Masked _Ropt = dn the pnoqraming the letter F eames q 7 fey One Time Phogrammable Pici2c508 “Smashed Ror Family Picio. Pici2 Picié | Pici2Fox PIG xx Basic_vensions_ Enhanced PIC a 28-bit ADC St SPI Trtennal ose | rt companatms UBRT. erie fos} PwM - sO bre ADC 2 ——-- — —o a a Be Memos Osrgonisation _ ! | memory Code_ memo iro vot rn | ae) a (om) - ss ee | Read | waite Paiogsiarn memoy J NOsre Volatile.) wonoanr All eb Cann Baer! es ; ! ! I fam | File SER File Sapo ranks Lagi Size ef PIC I8FI220 512 bi | 256 2560 PICIBFUS2 }392 256 1536 PICIBF2220 468_hi 256 “512 IC BE USB 139 256 | 1596: —Tpicigre322 | oa ‘bytes [ise | aagg sf Ram Genenal Pgpose sesisten / Geran ie 2) GFR Sec pai igen & Haswand anhitectune se cempuden pa Cl jon fon Bored on bus cise § Risc cafmpzened | ict Moy A,B — | Bote irct s io ie e 8051 —> Honvond onchietectue kb 1024 bytes (2) ykb- uc — alien vensions_ of Plc ie. Picia unc PIC 161 Sas regs ee ee ot pu Gepar. 4h LKB = 524 bytes (2 102u bytes (2") 4kB = 4096 bytes r ' Y He equivalent FFFh M * Fil esate 096 _ 11 bits Gne-snequived ‘tovsolect banks — Bank election Repiston (658) S-bils nepisten a 8 E x P thant ( ee SRS TC Ole ft gooh| | Banh IH 3 Bank 13 + Bank 12 =a | Bank tt yes Bank IO oe ! Bank 4 va cs AS: iF. = Bank 8 a Bank ¥ Bank € [ Banks [a] on Bank 4 ee »| Bank 3 7 200h, Bank 2 ‘ \ \ | ent tbo ren i le ee ee (Holo Bark Is 128 bytes Wi For Ac {iy man cei nya a8 256 bi Se GY) FFFAT He ) 1 ee : [28 2g a | | = E iu Cats) (Gerpm) J rr . ras up incor. the ro: Gy bons the z , , a pednon a : oe pb NS ita st a Piov|.w 8h a. tena immediate const) | move litenal value-to wRe ( working seg.) |_—_ wre [82h] Moviw 36h —-wreG [36h Pov WE _O8hing: ‘ \ 1 t Rare Keaton soe of default bank 0 | Moviw ish —> wea [wah] | ADD WE 08h ,0_ = " = [ores] + [oh] — su y{—__] eh aa aq j mov We Woh 8 Ta at 4 is i cree rk Yoh afte | aie « Defautt Bank, Bone oh O-ilitenal data @ File regi: Faansfen Teigrvfen 7 (actual deta) (Grrart) w_ysh_ —> |wREG.! | Ush a fish) | moving ity WREG | lietisnal eee rea cin y Peet _— pon Tall aan info bank 9. lignal eg ee) det 1 _(Coutof (bonis) ov dy be - ———— tls Te ithiscts not giren than it is Cpvwe sh Ta 2 Teplial considered as Bank 0 I location , > Bonk ois a deauk bank § & abo brown os accew bank Lanning. ¥ 1 ov h.@) Mov Ww) Fit is xe10 (0) irrespective Fy it one () than aloo it wil the BSR vale it will always take the BSR value (by take. default Bank 0 = sR value is enabled ~ BSR Value is disabled j @_Eo. App tw uth Specifies the Banks Selection SS ree ley + bah SeStnatin OF selection na adie J ; — = data | OURS Level faith de ithlls con be stored: in WREG ow weli as in file MOVLB oth —> ase [ooh] PAP UG MovLw_ Bh ——> Wrea [38h oh OT hove sh. ime ong cokes fle gy. Sth of Bam Prov tw 3% ——> wre [3¢h i i ADOWF__Ysh 4 WREG corrects ane ods of sh § thy cwutts a7 App we _ush Teena Aes ADDWE Sh, OY _ADPWE ysh_w —> sesutts stmed_m WREG . ‘ApDWE_ush,1_o ADDWE _Hshr £ = emus! stored in fle’ locaton. RODWE. £f af.0}} — options ° —- Taal ection te OCR au va FH Vie send [My or bers 2 asa ABS | necesz £f. 4.404 Bas MoviB oh __8sr_foah] Povw 27h __wreg [aah] i pri a, penne cis ge a i 2 Cuphe sth) ia yn mow gh Gi veat aml : MOVWE_USh,o move contents of wREG tp 4sh of bank o WREG= Sch {wo = Poon, Een eh s,s Poywe sh N ———e T a 11 Movi 20h Wis 3 alee movwF Heh 4 Movi _FEh | movwe 4sh loop 1 DECKSZ Uh. J 10s) slit GAG av “coibogol a “goto Loop’! q wise \ J chat _——_leop2:_DEcEsz uch 4 {)2) yiey ( Wooo 4 Vst. Weal . Sa gin Loop ir ae | setusin te __Movwe Us ——loop:|_pecrsz us. __RETURN T= ¥3 usec Tinfe_cyele oo lisec Loop usithin a loop { a eens = Hoh 9 uth ¢}_GipRam connists\q, dada_oub ——______and_FFh sesp- (site _ ok j-pacyzam_using loop uasthio_bap 4 ! Calculate delay, cpguanty.is Fac. i N S x MOVLW OU 4 Vg 4 | pxar =0 = 5 Movwe Woh 1 > yt | isin et = 6 ! #0 ouiten: moviw FEh vf or egy = 140 Ss ¥ Drove Ul 1 TW Luxx =4 = 169-3 innen: Decesz uth.) 255x4 Fax SY | } 4 location | 3fr) Gom timer bose aswiey asus yxoxs ao MoM Decksz Yoh ti fic '2 twas | yxoxr=8 7 PAI G01 outen 2 igi xIXxI= 6 Ts. RETURN 1 1 Ixix1=t {iol #0 7 es i + | 10 5 { Retunn N-channel masfet conducts at: agie | — P-channel most conducts at Iagic 0 x, Parallel. L a 18 pins = Q 28 pins. | Picigia20 how. pats nalaige ai |_Post: R i Port B _ ! “ iis Posrk Gh wins ciis lis 9. Yo pin vensian O64 pins tension © 60 pins vi pol | pen at 525, ICIBE8S: Pombo (oy 2. posts 1 t Pont B= 1 ae Pont: A weil Post ct 4 Jolt Suattar we sin veel Bank pn amber “Pot \ | Pont E Ue Suen i xf” nes Hxee Lusi 30 f uk!) pope 7K, stens.fpy 0 PORTE) eons ar { TRIS.AL Adu s23530 TRI L Lar A ho un Vel or Gate is oii LEP "o iy Mov WE Pant A +i SD Povily FFh TRIS A = fth %_LED Blinking Cod: | || movuy_ooh a ee MOYWFTRISA id A roca rupee os _ continue: Movi Oh - ance ML - MovWes PORTA - CAI DELAY. — Mmovuw Fh PMOvVWE PORTA _—Sen_Continue Output pots!" : " O_ Assume thot the buzzen is connected to Poxt-A_bit I - eo . Pic h as ap PORT A, 0 Pa a eI — pin dodint sense pin ate z i fai ‘ Co @ Assuming thet byzzen is enabled when we hare high -to low signal On_posre A! pin Higy ath ony aig Fen veneit \ %_Bit Set Tnstructio pila ae _BSF le location Aa ee | 5F TRA O Corhiquae panitAbfL_0_a9_inpud:-pin __¥_ Bit Clean instruction 7 eee) ACE TRIGA, gene a bik 0» oxdpuck pins 8 i a _ ; clascoute. f ios ’) . : i - _— pall paisaritp Oe pobwah) \ trond & ee eee = —___B¢F TRisa1 —> Configune post A bit 1ad output) Vs = ; S fo Ne el 7 GarTD loop + we eh 32 1) ar —. Ber Post A,1 Zz pam CA DEIAY sore es neve - BCE Post A, apis Et MMOH corm toate : AC et _ _ a es is done wort tering frequanuy Eb %*_Timens Time curt to system clock Counten = Time wrt: external input paescalost— | aT 3 1 Sypass presealen 0 Prescaian used Eh paola ine Tse [en Taxese_[txe51 Ltxpso | { a __1=Times enabled _/ ‘ ___0 - Disabled - 8] 16 bit Tren Courter __1=r8 bit : Om 16 bit Select | pets, Ta oo 1—>extennal clock 9 > interinal ose ret Ae katt eye eres tarde 8 _ fy Tesi1=0 f K = sc => YH = Imsec 4 \ ‘ Timer ="! hit Te z La j bxi0® : int = 955 ‘ hs 250nsec count count __| __— 500 xJ0°='165535 — ae Wiratan!esunt nla ah | Times gunt Rec en_oendnys » Stop Timer : as. : BTH_PORTB,_t > Bit ay 1 Gf- f= UbHZ t | eke ' UbHz —_Uxio° \ “Ts 250.us¢c. : Ton = 0-4 T= 100uIsec Tore = 0:6 T= 150.usec Tox Torr abel Jom ———— vs Woon 3 fose = 20 MHz. Fe su) 1 0 _ without. pnescalon_= Ftimen = fose_ i = SMH H ! Himen_= 200 nsec u —____ Assuming _I6 bit it_mode, Tenrinal_Cowrt = 65585 1 it ai aa Teta count = Devived casio 2 Hihen ee > For Ton = = b jooxi6*= [65535 - Desied count +] X 200X101 Desired count = Feoch <= in MoywF _TCON BCE RISB 1 . BSE _PORTB,1 > ee —Corrtinue :_MOoviw Oxoc ait Hay MOviwF TMROL + : = Piovity _OxEE x MovvE _“TMROH sou OF) a r RCE _INTCON , TMROTE } BTESS INTCON , TMaGIF GOTO wart BCE TOCON , TMROON BTG_PORTB,1 Poyuy 0x12 uthneat = = ue + 9 Movwe Tow. load dunt pvisi= = i i Moviw _OxeED. \ Tose : MovwWE ‘TMROH' __ wait! _BTESS SINTTON , 7 8 GOTO wait __ BCE _TOCON, TMRO ON _ ee pr Pore, 1 61 cu — GTO _Corttinue \ ¥ Ei Cosa eo 7 Extennal Clock —> Sn Tierer_0. cantmol_logic_in.8= bit -timen mode Theor TOSE Toes & P52 50 (0) (0) FR THs is mode 0 tb wall g foram internal 1 (ap path = FH Toes is made | it will gy fam external (byte path) — Courrten se it od0-C0! _ amine ofa. tor counfen SBA cit f>pyescal @ Beta ypom the = _2 Fon 16 bit SF ay, aH) | TROT A | I-rmron_f—&— clocis igure o-trm gout wa oe Assur the Rise = 20M and pmeatalor_of 1:2 a 8 . TON wet apelt vole Ty tire cade > © - 2 ' © c? c 6 G c _—_() | amaroon | Tar ocs Tose __ PSA: RSt_{ASt_{ R50 eae a Keone SE Su 1:47 009 he _ Ai Be | Time = 1 = yoougee _0 ss a 26x16 a) as i ~~, oT je Tdlesived = 100.1uSec i Tdetived =| Texminal Court = Desired count +1] x Timer = $ looxi0°=[ 255- Desired Qurt-+t”] x 4ooxi0" = won? = (ass - oc +] 4ad'x 10" c “px = [255 -0e+1] mt 5 0-25 X10°= 256-0 ig 0:25 x10= 256 = -Dc like. be £6 = # Desired count 1 et hi “+ Desired count = 6 ; ee f oes Moviw oxuo A. Movwe TOON BCE _INTCON , TMROTF Moviw 0x@6 s MovWF TMROL, | i BSF _TOCON, TMROON wart: BTFSS INTCON, TMROSF Bs Bit Test / GoTo wart Bie SCF _TOCON, TMROON. Ss I BCE _INTCON, TMROTE | i ile .S} P52 P50 PSA SS hi Fn axe et el yee Port A_bit 4. ___ = Tose -the timen_1.a9 | coureen, we conneet-the extectiol signal to PORT.¢ bit O- nosy nt __ Be _Configuu. Timen_0_oa a_counten eo! een: Dapay-he Court___ _____volue_on_LF0's connected to_ ms B: b 7 CIK a rr rar powescaiay (ora) = of noacs 0x00 | Cantigure 7 ae DMovie TRISB / asp ee ee - Split? pane TOCON Ce TOON ‘ mci re :___POVE _TMROL OL Disploy court _PIQVWE _PORTB Bede ___GoT_next (Serial Communication inkenface Se es _ Rxo_nce CRnt cbt 4) TO Re C Pork ¢ bit 84 el Baud na gai oor “Desired Boud orate = Fase x desied court age s u(x)+ eu boud sate 4600 = 1oxJo° Hyoteb = HOR eh veyGd+eur 14 a4 ae deiel — 1 GUx = oxic’ - 6y ilqcoo BUNBE. eexierean a - X= 15-24 iy oaeeh oir) Hisoss = DP BRect Ms Denied band mate'= Fé = 1h Lae pint + SAG } SpBRG =! 11h 1+ tid \ fee ates ech TxA a 2 1 2 8 4 5 Ly > [espa | Tea TREN | SYNC | =| BRGH | TRPT | 7X0 | es ee O tm Agyne —__This_bit_ i fpessynchsnonous_count_mode_anly piememuiersisanamicemnbie =) : errmeeceripe crane Oe 7 bit includes —> 8 bit data + additimal bit W'. RxD _— communication in TED B05) qoaar neh SBuE |) 1 ; ; oa is Wgertial i _soricllet ougk panallel in a 1 F Be ebin Ah FERR —> Foaming Eso =1_, No emo =0 in lois “of oy wot ey -OFRR = Oven exiom = 1, No oven ernigy = 0 | _Rxan—> a git. sneceiven eg ee eee [ah Lar [ar | pa SS BcREG —* Receire Ri = Ae a —__SPBRG —> Senial_porrt baud sole, grenatn + Fansrnitting dota sexially eee | fe ait a. i" — ae me 4 a ay eS Pari ; ee aan y fh message * hello” seni i hand smite of ceonas erst lt 1c ? pas 0 —- Fon ise = 11-0592 MHz, SPBRG = Fip=ilh, = ap | | I Tx STA 1 ees] ctelon tee lice) a _ an OMe Sd SA Be Suarrseiteros x [esac [xq [ren [ome | - [erg [ror [a0 | June, a5 __ BOF! BSE TRISC, 3 —* a odiput 'W! Poviw AL Cau! TRANSMIT. Movin ATL CAL TRANSPIT +16 SY Band siete clock T0592 RT0° 6 SPEN:}; 8X9>] SREN | CREN OERR RxqD. Tne z = c Resta = aoh r >{ pow oxqo =: a SPBRG = 8 MOVWE RCSA” ae {mov “oxog 3 3 4 cnlpenacta] a { pioww 0x05 —» value of count eT Uptowwe oxio —> count loc. adkhess x! —— MOVUWIE TRISB. 2 BIFSS PIRI, RXTF GOT wort > ACE pIRL, RXTE : pidveF (ACREG)(PoRT §)=destnabt DEESZ. Ox10 1); sowice @aT “wart > File Ipeartan [ i = = = — _ i Pg ico Thkefing — ——— — a 18FXXXX | PORTB.O | f *anady TB > 21 bit nenioten Table pointer S bits _—_——_— yg le = =e (EEL of of] of ‘Tol eleistele eee eee a is —7 ° ren Painted by the pomter > Read -the cervtends, perréad by TTR a, ; © © ReRDs + Sead contents OF Rant le nthe: MELA ps CC Seed Dect: | Feeep* + Reet TeLADT+ MOVFE “TRBIAT, WREG oe CAN DEIMAY? 9 6 ANDWLoxfF - 139 st RETURN cali-send data _-@oTnest-- = | > stoop: movi oxfo idle: GoTo idle i UL amoywr 10xfe_ = Y loop: pecesz oxfe niet GoTo loop =. x DECES2 OXF sacl Jee Ea 4s _GOTO_loopl = Ht hina r _ RETURN as a 929. Ox500_ wr LL ~ — rs a _O8 0x33, 0x0! , ox, Ox0s, OxSl), 0x00! i ee de“ Emgepped", 0x00 i apy | ree | pes | Rey Xx x x x . a + => Steps sequunce which corresponds to oth 1.2 Yxp 2° => 4.8" 02h 24 Devired wotation - 5° oh 36 count = (+ ee oh us 48 —_————Repeccting the itt Step Segue, 1 Cea IS times Olea us 48x15 => 72" 1 Balance = 45"- 32° =a L tt Hilltop ri f.2" aD: 4.2 (01h) _) —__me moe full Sep 2-4 h — — 06 = 6cieD e Jn ‘i “ws = i PORTB= Ol” Movi) 0x02. MOvWWF _PORTB. CALL DELAY ‘Movil Ox0Y TMOVWE PORTE CALL DELAY MOVLW) OXx08 oF MovWE: PORT \_* CALL DELAY DECESZ_OxFe , | | GOTO wep: | Movity oxo! MoVWF PORT CAU DELAY |__PORTB = 02 leaeoeraye oo) PORTB= 06 _ ] —__ Mov _9x02. —- MmovuF PORTE. na CALL_DELAY ___ Mov Ox0G __MovwF PORTB eArlnplnye. se ___idle:_Gor_idle SE vw EsOxeo ee loop_: DECFSZ_OxFD,1 GoTo loop aS al *CIRF WREGHrricy cits __Continusl: CAL DEY yr DECE_PORTB; 1, i ; CPESEQ PORTB» be GoM gertinue) -- t GOR nevis vivid 2 oli om ariie Hott tap fale Angle csanesp cp wage EO. Sv. 30___5+(15)5 = e¢v ! go’__5+(2)3)5 = Bav | ty > 2552 Fhe Bbits Se Te | sv — 124,.= Fh= thits 0 whic 4 go | 5+ ()5 = Bev t | j50°_| 5+(a)5 = e6v 54(1s)5 => 20 (30) a ay =e 1) aio''t 5*(ya)s ='9:3¥ 28 x 956 "=> 190-66 = => 170) +t vou | 5-(9)5 = Lev vs eee” ea ~| 930" 5 -(a/3)5 = ov tepineimy al | 300_|_5-(2/3)5 = I-6v : ——=— vi) hago) 5-(a)s = gav ‘ ____|_3¢0'_| s-@/s)s="0v_5v : %_ADCONO oe at Sa G\isen ca) [aves [ace] cise [ois [oo] cHis2.| csi | cHs0 | G0/DoNE z= Silat On = 51> channel cela bie = 151 /- 1="start = =| j- = 000:- Selects channel 0 conversion 0 1 = ppc on yA. 100K =.elecls homme 1 COVETSIT 1s — a B= alr wa In_paogress. O= ADC OFF 20> fe chs (ana) = convension_ é 2 ‘ oe is complete Fei LF orF-PFEPT- pb Fose / 64 Tatennal RC ose used a ADC clk 9.1 Assuming Fase = 20 2Miitz_cetemmnin the camensinn time cf the AD spina he eee are ee = Bonese! | piciae [63 Digital olp 4 ; l ANO 4 , sight aligned , ae 1 » Pott B i i i? | al a mand eae ‘ 7 i = 1 v : = 83H eee sll Tas Sa | Apcon 0 => I rns o | ies tralge = oe — ° I oO ° = [ADCS ADCS ~CHS2 CHS! CBSO. Bone, = ADON pny 9 = a Ss 7 __ADOON 1 = 00 ADCONI => CO ni —_.\ TRISB. = 00. TRISD =O cae ie: ADFm ADCS2. - PCG PCFG2 FCFGI PCFGO pli @ channele ane anaba ~071 000 _CLRF_TRISB loop: | DECSZ_OxeDI1 | + we GD. loop. aca) a 7 snetunn na |end 1 sme’ 94 \ % Thtemupts Is _——_,_1-level of cress. 2 levels, Enable TRO Crmone fngguunt) Dao vata DIF —iate_— : then, ——2 Bs Peripheral ~interrupres or HO PEE——— a 1-? GCF INTON _PIOVWE _TMROL load count value POV _OxFB = a POvWwe_TMROH “3 im MOVLW _OxAD. Enable Timer 0 imtenipe Move acon -—BSF_TOCON ,.TMROON —> Start Timed ——idle:_Goro_idle _ n Some Hep ani 99111 thu all the he Preved | cs 3 she hye eee = Riis swadi — So) ground al the sous tend column | | masts uppen 4 bits | H o-iS. il 16-31 K fosistens associated with ports 0 9 pinsei0 fp Pam. 0 eee s IN: = 000000 ra ts Tp zeno direction oom t= output a @_oocin #1 Begisten asscriated sith Port) ay zero Cleon @_PINSEL 2 —> 0000 xxxx SS GipID___not available ® yin Sew 9 _siser ES Ol ian coe — = _# include < UPcaixx.h > 1h Wid deloy —— 2 __vaid_moin C DIDIR = Ox OOFFO000 —> « _—while (1) ¢ Le LE Anithrnatic shift left > 158 = * sight > SB logical shifting = vacorrt spaces axe ‘filled sith zeroe- 8i¢ ~ Bit E _ = nao 0 Ont yo —______* a Sooo. 0000 Fay x Dou (0000 0909 Ca.0920..0089 98% Gifs 01.10 0000 0000 000 CHM, 0009, 9900 i775 0 MiiO>rO-19 0 4 dertinector operand 2 Vegmplement Ct 5 operand | 4 op2- 8h - 00000038 ; is L comp. 6 Sh — C2 - FFFFFECH i opi = 6000000E Reverse. Subtrack Pov R0, # Ox4s 6 ; (tei (olmOme0 0. 0 0000 O990 COW Hm oo sag cid CIOl) 0004 100 CWO C000 Coed COKE EteE = ! 4 0 5 2 (0010 1000 cco ¢ i ~) EpieHingsesi 1S corp: SBB COS _ ———___+ | SaBACIDS 98 yi * snight msB logical shifting = vacant spacer axe ‘filed usith xeroe- ‘BIC — Brt Clean a = {60 09 0 0 0 Om SHEN cate Go i_.090 0990 a@9 01.10 0000 000P 00 GAM ¢ Ro, #%bh, 4 60 Beno x 00000 F RO, RO, ish Ht, Ro [6000000E : hy +: ood Hdl | coo0001C_ wh baernior sd foro pene ShiFE : — ogi : low : 1g. an i” complernent 5} and 2 andad logically ust openand 1 icp, Ro, #6) Hex value - 38 pay eptinabor operand 2 Y complernent C# operand | rs | op2- aah - 00000038) ss comp 4 seh — ca - errreeca J ™ Dare Opi: 6000000 E Revere. Subtrach = Pov RO, # 0x45, 6 nore nomsOe.0 0 0 0002 0990, COD_%H oI _G9Id ae 6004 o100 CHE C600 Gace CCG0 060. ! y 0 ¢ 0010 1000 0cno cKO cot COCO < Supiakan ALYS 282 h 7 as i | __!S comp. 58BR CUS 7 — _—*comman_cethos pe a a [a eet es | t i Sana Vv M a a aa ve} eee {¢&—— d po (Ponto) (92 gelert Hines) PINSELO 7 PIN — sed tp comgiquie Po-ig tp PC po.24 tp PO-31 feloy leila + PO SPINSELAW— PINSELO ——> x I Po-24 tf) PO-31 3 ° Pi.o to PIs Pl x —PINseL2 —>'5 g %* TO use as_GiPTD PINSELI bit SbISeS [xx xk Ix x|x]x]x! x]x]x|x’ x}0 within xfxfolol afi]: x] x] x} ¢] | xc] x] x] | pie ° ° 2 ? Soret oe bap ° Hinclde p0-I6 tp 0-23 Ouetput Gem { e Pig output. \ alg pui2 En Pls oR = ooFFO00oh XXXXIK XXX! LLL 2 XXHX x XHLX KX Xx xX XI ° es 84 sae nk Sle oe se elle sea ee kia ° + TopiRI= 0x 00070000 5 canfiqune_Pi-i6 tp Phil 0x06 OxBY 70X00 re = Ox FEFFEFFF Toseto = com) fi] << 16 ; Tock) = 0x FFFEFFFE, ee TocriieeOmcooo0co, delay (); OCIA} = Ox 000140000 ; , delay (loo. Ds Fat cond AIO—> 69 afochunye ys Tu condition > 59 orrtidsce - Moodie de Guth 9) then mote — ~ : ob 130 yall ran in? one direcban uk is 0 then rity ——Fuk a 64 ud in the opp. dnecton eae ARV trom ero eae — | xe! phen hele ea be. | a J i uv. Me Vet upc Bigg | = V5s1 Ae Mis2 deol or a eh C ; [oe v re O= clockwise ae I= anti~ clockwise |_po-o Grr Me po i i PO.2 ee | 00.2, PINGELO = 0x 00000000 ae Output GPO —__Po.3 => Tiput pin Til today ~Gr-2) portion ig Copa f Inco. INO § 1< Risk Tifevupe (— High ) a N= Negative T-Thumb mode =| = 2 F fam ode =o \ 7 overflow Flag ™M— modes of insbuchons SS a | mT Ta Tors modes fee las |r| 5 wi OF Fro TH ORIN FQ ie oto | egal il M1 jo} of} i ji Sits [gin {Pai edged aes ty | | ee a ee 4 | peclfrigs Ft i undefined (a) eens ttt fe system % Saved Rypgnarn Ghats Aniston Cspsr) SPSR_ FR oth yd = zOR__ SVC Bak Eh Gir og Race 7 5 i uy)! . 0x 0000000 3). Dain alot | pina Dx-c000ld 9) Titeawpt request TQ OX .0000018 ——3)| Fast Thtenupt ET. 0x.09000)¢ halaladalaballaiiiiaale eps in handling exceptions ‘i a = uc is executing main¢priogriam nd soy Fost Thternup! “ occuns ig |, a i lolnem i in I Fig + 1 G 2 1 2) cpap value is saved in paacifig 1 \ 2) casa bit utp o hod ale aanspoaig tothe re ! 4) PR Ni s), E —_~ia ! cpse bit 6 3 3) ae veetor acess tart] tanskemel handle “th \ #temany Brotecon at ee Ee a * 00 No access No acess : Col} RW. No_access. 10 AW. Read Only * [i 2 i Rw RW alt -wegians- Bae sapging- yom Kee Gn B# _Accew Remission Bits =_cletines in CP Is Fegisten 5 + bit 0 t bit 15 APE APT APG HPS fiby APs AP2 APL 2 oenable diva nu P z mamay_prakelin __% PIS Registen_| bit 0 a dishbie - 0 J ehoble -* I A= o- mernoy_ puatection disable _ ss esa cotection_enabl 7 ry_pmotection enable — Enable / disable memary_paotection_bit ee | cPis Reyiter 6 — are pe caniquniing size ond stonting peel a =| hor each 65 -the 8-memoay cregisten _§ oo

You might also like