0% found this document useful (0 votes)
33 views20 pages

AMEE Insem 2022 Oct

Uploaded by

ornaphade2003
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)
33 views20 pages

AMEE Insem 2022 Oct

Uploaded by

ornaphade2003
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/ 20
oa fe —] AMEE Insem Oct -202-2 Explain_in bref the Program ond data: memory ovgani'zaton in PIC 18 | | 3 \ oO. se Pxog vero __memoxy is also. Known as Flash nemory., The —_pxagren counter! (Pc) is 2i- bil long, Which + enable, the sey __Pxogyern. to acess UP to 2 _ MA Progxam memory After powes On i+ Starts dp exerude tne (ns txuctton from add toes O intersopt Sexuite Roosine 1 The Locahen OnB is Yeserued fox Low - prroxity | inkewopt Sexuire Rauh'ne ‘| Up +> 127 ke of Progrem " mermoyy is in. rde the Ma Chre Rest pant OF Pog sum memory i located Ourdrsinle the Mev chi? The Ptogxom Coun bes Cop\e rice oe Pea eenegictey Yat _Poini's 4p Ane eat jnstivelion to _be executed In Progra rn ernoxy, i 0 Cec ty 7 1 +o nett to sdxvcttn locahon, Ti ' Ssom _. pkogran memory ond. executed sequen Maly © scanned with OKEN Scanner ey XC 20.07 ne6 == gf Stack level 4 u Stacks level 3. cE a —000000h Reset vec |} te —0.00023h! hgh Psiociy Service faope Au 000012 b || [Low ——1\ — On Chip ened Px\xnal Pxoqyern ft Un imp lom ented fe 1 FPEFEh Rsoyson Memaxy 1 © scanned with OKEN Scanner Dato. trmemory sty tad A ey a ie) ree A T+ consist of thenexal Puxpose vegistes ond spe ca) funckion xeqister both aye xefewed tp as Data Yaister’s PIC-i9 bas 4kB Data memory has 256 bytes Genel Purpose yegister's ave used da bold dyneensc | data d 1 operation pf Pexi Phexal fonction only on enk 1's achive. T+ _imP lement!s _arec uw Sob I caused by beni sunicling Acess bonk consists of the lowest 94 bytes ond the highest Ifo bytes of tne dodu memory space © scanned with OKEN Scanner g) S| Compare CES ond TSC. \axchitectsves sii) Ie li RISC Crse 4, |t+ stond's fox Reduced __|T+ stend's fox Complex Thstychen Set Computer. Instruction Se4 Computer. 2 [Tt is a microproce csex “orchil ‘This _offer's hundyed | teche that —u. Small lof Tnstvuctens of diffowonk instwetion seh of unigem. | Size of tne weed user Jengtn : roN 3) These simple In struchen's | This aechelechre has a ase _eveute) in one Clock [set of special! Puypose circu! cacle h i inge- Yecttan ab very high speed . 4) IlThes. hips are yelabively | These chip's ane ramp ek imple ty le caine. to_desgino SS|They cme cheop in cost | Theu axe expensive 6) [Evemple, of Rose Chis ase |ExompPley of crse ave SPARC Powers PC Totel architechre , AMD DiT+ hos less po of Tt has move number's of Tostvcton's Tnsdouction ~A_|T has Fired - len ghh H bos vaxiable = length encodings Gs _tostrurdien onc cing's pf Tnstyuch'an D_|t+ doesend support axrax's| Th Suppor amvay's ond and Condition, Codey... st condition, codes, u © scanned with OKEN Scanner © scanned with OKEN Scanner Chaxa cher $= 6 } ict The thax data type isi used du_Sinxe singly Chara cler v4 Such ac xX 4 ch looking paint s- : | 3) The Float dah ge bed hee @alh nombe, tith deaimatl sich 9 oul 2.2 Diack 4) The si of dowble daby type | is Phyle This daty dupe ac capabile af hal ting abou 16 to 1 EE both afts ond before of decimal of debay tute | *. | | | ! = ae | © scanned with OKEN Scanner t= Ure 05 Z_Now Co ; the reso oOccowd « Ad © scanned with OKEN Scanner Su yabton 2eo7 eGQI2{ © scanned with OKEN Scanner © scanned with OKEN Scanner LPoRT A=. PoRT A Pata) negishere The PoRT A yegistex Conkaials. the: vachal Bead Loxm ox _Wwy'Hen fxm tn the individual Pin's of Post A. | Reading fm this_mgiser pres thy cea Walting from set's the Ovtput Valuey of pia config scl as 0 tpot, Simiiay 30 Pokt A Port ® hold’s ne digvtal vabuers fox PoRT B_ fin Porte holds the digits) ualueas Soy Porr ¢ pin! PORTO Vnold's tne digital values for PorT D pin's © scanned with OKEN Scanner © scanned with OKEN Scanner © scanned with OKEN Scanner (PAGE HO. Dare: © scanned with OKEN Scanner han oN ox of f timex 0. 41 = Probie Timer 0 ae 2 StoP's tivner ToR sIT 2- This bit Selers's whether Timer 0 nverasey in Lbvt 65 Is bit made 42 9 bit = \t bid OCS 8- Timer 1 Clociz “Source bit. This : ‘bit de lexenines whether tne Clk Source Js in Kx na) instruction C4cle Clocle oy External source ow. the Tock pin att uN ‘nol ki__ pin \ O= Intrenet Tnstyuctin cycle Cloak (Uke) | © scanned with OKEN Scanner A © scanned with OKEN Scanner page) gal Wale pre ie Progxom to blink \Lfp's connected tn : Poxt cof orc \f HB indude ~< Pr 12 € 458-h> = Nox ‘ vi terse = 0400: If configure PORT C pin's as cutpot. PorTc = Oxo; I Tritilize PORT C pins off while (1) DE PoRTC = OxFF) a id's 0 +o ) Porte: ox00/ /I Sebhng all bits of Pogrc moa (off), 3 a © scanned with OKEN Scanner if a \ Sa (PAGE WO. DATE © scanned with OKEN Scanner “wb Continushy Hindude < Pic 1PF458.h Noid mon Cua) c TRISB = 0x00 // tonfyusing PORE 04 Outpt Pogic= Oxod I p' while (V) @ PoRTB = Ox fF | setting all bid’s High Portc= 0x00 I Setting all bits low 3 5. © scanned with OKEN Scanner

You might also like