0% found this document useful (0 votes)
38 views17 pages

MPMC Assignment

i have

Uploaded by

Rajesh Bembadi
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 views17 pages

MPMC Assignment

i have

Uploaded by

Rajesh Bembadi
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/ 17
A (mip-F &, Trloface 32k Word of memory to Gore mic¥opyocesOy system. Available memoy chips are (eer RaM-Use Guilable decade oy generating chip geléct logic. Ans) Shep -Li- Total memory =32k word = 22 ak=6uy Ac available = 6k ; — hence; number of RAM 2c vyequive d= 64K x¢ [Io kxe= SO) Y Les EVEN Bonk = 9 Ics of le kxd RAM ODD Bank = a@cs B I6 Kxg RAM Even bank Odd bank RAM_4 ClokK) RAM_aClek) RAM _aCl6O | RAM—4CI6k) Step 22 Number of adders lines Yequired= 15 add-yeu lines BR Addves decoding lable Memory Hex Bonary ADDRESS | ac |Addess Ava fig fa} AiG FAls [Aig] Al P A \ekxs} 00000 | Oo Jo O/O{olo}o}o eneasefo[ofofol Uefa | a So cS Lekxs}G 000 0)0]0 {0}! |v RATE | OFFFAO Folofopt Pur ueyabeyudebade dad ay Mo tek Sc Shep -u- Generation of chip select logte. 1s AQ. M/F 0 Of €& € €3 [2% te So An 34 25 Yn B Decoder re c 449313 4S Ns es CAVE OT en WA Ny Hy Big [ug O90 ye BO Ky Pa-tq TRY BXAI] — (9878 ge a a nap. J ai J 2SU0K basig PPP Ieysiay hi | FSiy-s5} 9 Tay] (exazy Pes] ble ; 3 cé oy] cdeed Lo) 3He a a ee cee ‘ | avd 7 a3 ack am a3 5 ae mqeng y «VSO ca ee | ese 25 Fle 9 a3 a TIT ae Lopot2uah, PID hes = oe — = Oudline tthe pin diagram of 054 snicsopio cy and explain. pips Q:O9ROU1 EINicoe! 4 Po. CAD) po.) (ADID [5 po.2 (f'02) I po-3 (fibs) 35 2 po-4 Cady) 24 £5 pos. (FDS) 33 pos (ADE) 3? (2 po? CADDY (RxD) 'P3-0 Ho 3 enlvpp cae ia tity 30 [5 Ace [PROG (inTO)P 32 Ef 12 oo Bees (Tyree 3 agi p13 (ars) oe aa p26 (atu) eerste a¢ {2 p25 (Ars) ((5R)p3- SCH 1g ae 2 prs (Ar) (©) patect 17 | ay LS pe3 Caw X TALI 19, 23.15 p2-2 Caro) X TAL tq - of 22 {> pa-t (Aq) Grortae IP POD Pind 8: port azcach of these pins Con be Cnt ured as an inpuk oy an ow Ip | pins ~ResetT= A logic one on “thes Py quale the rnicxo Controller ‘and clears the Contents of most vegiclers @ | Pinsiote arai-ginilay to port 4 = hese pire Con serve oF generat ope OF Out | Besides, all of dhem hove allevnative actions. | pin dor RxD Sevial asynchronous Commini i ul oy Sevial aync yore us Commun Co: 'On) Ou | | Bo AK Serial uy nchiones Commute pufpul ov geil gynchiore® Commun cation clock ouput’ pin dar Tutor external inferupt O input ternal interupt 4 inpub Ti Gunley 0 clock impub: ley 4 clock inpud Jy external Cadditronal) Pinas Inter Ex pin Ayi- nee pin 15a ie Gun yw | pinde> Be uit e init Rd; ae PORTE Read from external RAM i019 YARED KTBLAaolermal gel i ub and ouput A quarts Cr va oa Spectie operasing trequun ee th Connected to these pins: 4 us usually ae GND Ground pinatcas pet ar df qheve ub No tndention to use external mwa Y then these povt pins are Confiqce as general input. loulputs. an Case external enemy Ub Us dsthe high et add-vess byte ee addyes Ag-fis woill appear on the port: pinga per jf extevnal RoM us used for atovi 1 OGram then @ logic zero Co) appears on every fime the nic ro Controle yeads @ Lyte Prom nemo V4] , = ALE prior to reading fyom external Pre: memory, the gnicro Cont volley puts the lowe dactivates the € (Av -AD) on [Po an addy es b | ALE oul pin 23-8 By applying. logic zero to tha pi, pe and pe are used foy data and addres ee wrth mo-vegard fo whether there 43 inten mymor oY not B lyin loge on tothe EA pice mnie only lies Uae ° both memories, first inleynal then external Ci exists). ms | Be Pin 3a-3a- porto gimilor do pri exlernaf | jose pir Con be used — dio. olher val ee, po wD pul (No-fa) when the | wlpat memo ud nol ured, /@s aeneval j bsoudpu Conkig ured as address ovr } ALE pir us driven hiqh (D oy dala Oo (Data bud) when the ALE pin ws driven low(o). “pinyoryses toy puoet ppl | 3) Lisk all the ari . arithmed c ;’ ; | gost with suitable sang ue? aa Anes J | : ee Pan addition, subliacton | Mulpli co: ivigi ; ‘ ererbes, on and divigion operations on sbit Appi Tion = | dn the group, we have instructions to | ip Add the Gontents of A wilh immediat e dota with ov withoul CavrYy. (AbD A jARYSH tioApp ¢ AythoRyH th) Add the Content! s of A wilh register Rn with ov without Carry. UD ADD A, RS | } nfm app c A,Ro iil i the Contents o A with Contents & memor Dither alfal ty wing deel ond inde a vexing. (appa, ott ui) Aone A,toH Gi sADD A, @R1A tv) App c A,@Ro CY Ac and ov logs will be affecled by “his SUBTRACTION = dn this Group We ave ins uclionsto (i 5 subhioct dhe Content $ of A with vnmediate dota with ov without Card ti Supe AH 4s ii 9908 A, HE OBYH- wy gublvact he Contents oF A wrth regi with or vorthout Carry: (1) 9UBR AIRE Gi SUBR> AIRE ti gubbioct the Content of Ausith Cotenls of momo} wrth or without Cony using direct and Indirect add vei ng. clee Ry tinsuae A,StH wo sven a, tsH Uh > SuBR A, @RL Uv) Sua A,@RO Cy Ac and ov-flaqs wil! Multi plication: Mut 48: hus enstrucdion mult plies tise ¢ bit Unsi ned numbeus which ane Stoyed in AandB ication the lowe byte ob ve «ghey. after multi pe yesult will be Stored 17 accumulatoy and higher byte of vesull ull be cloved un B yegigte™ Ege Mov A,HYSH 5 CAI =ysih Mov B,4or5H 5 C8) = FSH. ea 5 CALEB) =4S% FS =4209 5 CAT =09H,C8) =40H piv AB. dhe tnablyuction dividesthe bit ‘pnsigned mumber which vis etoved inf by igned number which eis gloved the gbit uni ml in B register Ada division the yesult will be affected by this Avision | > = EOS: H'\ B fim be Stored in accumulator and yemaindey will be stoved in B vegialew EQ> Moy a,H¥sH 5 ca) = 08H Movs, # oF SH 5 (8) =18H Div AB 5 CA [ce = €2 1-084 worthyem ain lot! (AJ= 08H , (BJ =l0H- Analyze Abad the Following o)RS-a3a b) Max aga Q) R8-a32- allow! Compst bili-ty mon dato Commer cation Equi ment made by Vanrous ma actures,an inter faci 9 @landay d Calle aet by the clectyonics [ndusl¥es Reasa ed \Q60- Since the Standard =odion CELA) Un Seace bed bepoverthe advent of bic family, ils inpul and ouput voltage evel ave not ttle Compatible. an pgaase, alegre one? ds ve vesented f —2 bp -as V val yeferred abs MARK while logr ¢ Be¥ (ous vrepresented by 1av -}o lasv and ee... 4 Yefered as Space. Pn RS 23a standard We Use tu dupes of Connechrs: 284 Connecly OY DBAS Connector. : pema male 6¢ + 74 Connector: Bas Male Connector. MN 13 2 4 678 lo ia oS OOODOOOH OE e G OPO O94 MI Hill i 1 mA 15 lo 19 18 1% 20 24 22 23 2y 25 Ww uw © © om dhe pin description of bBq and DBAS Connects ave a below - i : DBs-85 Pino DB-4 Pinto. Lab bevialal Full name. | Pin 2 | rine To. [Transmit Pin 3 Pin RD Rece’Venala pin4 pin + PTS Requrst do, d tine pind CTS Ieleav +o send | ping Ping per | Pata set Ready Pind pin 5 8G Signat Ground pine Pind cD ConvieY detec Pin Qo Pin Y DIR Bata terminar a Pim 222 [pia RQ__[ Ring indicator bMAX 232/— 1 a — + dhe 805! Connection to Max 232 us Ad folloas~ fhe 90S! has two pins that ave wed speci tically for lyansterving and vecelving odo- gevially » Shese too pins ave colte d Tp, Pyhe 205! (p>-Dawigned to Ixp Rep. pin io e e nie, And pin to (pa-c) us designated A RKO Shee PI’ TTL Compatible ;thevefove they vequive line drivee CMayvaza) Jo makethem R3aga Compatibles one advantage of the MAX 229 i thect i+ uses atey powe Source Lo ich us the Same asthe gouvce voltage -orthe 2051. dhe typi cal Connection dio warn be loced Max 232 and 9051 Us Shown below. e054 T22N — Ro Sor T20UT nt MAx232N Wivite an ALP to disploy o-4 decimal mumbers on Seven Segment” dieplay. Trterface o Seven segment LED dicploy 4o an gost micro Controller. + segment LED digplay vs v opulay and it Conn disply digits from o+0% and quite oO few chavacters like. Arby Cy HEN, oy, wit, etc knowledge abot how to interface a even Segment displayto a micro Controlley us vey esertial um designira embedded gustem qr, Common anode type, the anode 6 all LEDS ave tied together a8 o single terminal and cathodes ave |¢4 alone as indinédual pins. She pin out scheme nod pichure of 0 typical 4 Seqment Led disphy us shown inthe Image be bw. q 4 Gno b LIL Q + Segment lep 1 “1 display. si c dot we Ane] J igi t dyive atten — ea dyive pelle af o- Seven Segment led f i ly the different loqre Combinas ub SI or leandnale a’ toh 1 dp ord et to display different digits and chavactes: Aigit}a fb | ¢ dle |#1/4 0 Lit Nl en lo | fot it lol oie O° 2 fifi jo fl yr fo ql 3 Va i tlo loll 4 boli fa fo lo Heda s}ifoft fi fofuy ¢ lL fot 1 Vi a i I olo lolo Ppt pubs pupepep TT hhh lol h a iim Prorat Fors, pool Iintliat olavling oddyes | {START > Mov AHO pool oo lB Have liad abu al, | Mov BA accumulator : Mov Rd) fFO AH (I Regisler Ro inilial’zed aL County which Coun!S 440m Jo to 0 LABEL. Mov 8 Tic & Mov BOA Move a, @ Aatpe Il adds the byle vin A 40 the proquarn Counters add ress Mov P4i.A ACAW DELAY Il Calle she delay of the dimee pec Roll Cound Ro decrement ed by 4 Mov A,Roll Ro moved to accumu lator to Check f2 “Lig Zero in next frshucton. Tz erarT II checks accumulate y for eyo and jumps fo START Lone to check Courti has been finished. SIP Lael pe ani digit chine pollern for 0 pp ostll digit clive potlesr for A a it DB 58H JI digit dhive pattern for 2 < pe 4FH II digit dyive patleyn fov 3. paééd I digit chive podtern for 4 dB ev I digit drive paste pace De 0H II digit drive pattevn tov 6 pe OFH II digi + drive aller for + pB TFH II digit dyive pattern for 8 bp 6FH II digit dvive pattern fov9 Detay saw Ru, + oH /| gubyoutine Soy delay, WATT {2 Mov Ra, H OOH. i WATT 2: Moy R24 00H WALTS* DINZ R2,WALTS DINZ R%& WAT TA pnw Rywastt RET END:

You might also like