You are on page 1of 12
| 4 Abdullah I7IZmMEeEcs!76 Question wot | ANIWER :~ To Wu vite ASS Crmbhy Longuage Programe in ovelen te exthanye Lo bytes A Dake Addhess masde lobe. Mrmemaries Comyn ovb5 Fece | al | XT HW, G2ccu) pom First block Aclebress el 00 He eu; 4a | e3| uN (LXT Dy 4 Zook Paint Second block Acledrey 4 | G0 | er) 43 66 | 6E MY, ¢, DAH| Load Count o7 on o# | U6 LOOP) Mov B, mM | Take elerrent “frome Yast block ef 9A | LDAX D | Take element fron Seccmsl block tom on 77 Mov M, A | Steve fee contemt to et black of. 78 | Mov A,B | loc Rito A ot) 2 | STAX D_— Stor Ace Into Second bloc 20) 23 | INxX oH Pomt o neyt add A iest block ef) 13 | INX Do | pomt to wert add A Seamd bleu oF oD) Oce c Decrease se Count voviedle el C2. TIINZ LOOP when bloree 41 not eopletedd Jump te hep | og | 2 Fo 1 (3 76 | | HLT Terrrrimele 4uy Pre frome ace 2 (2 IZMECO!TG Question #6 2 ANIME pron Bute matin 48 Signe A Wwe Dwe +o Ge an AdSembhy Lormpusge Pre free Piddren Heol, Mnemonics Comment } VU a8 PANI—9H Xx 00] 9 & |MVI By 4H] is Loach bie Patou din in Rejiste B él qt 02] 0 | MV G 87H]; load bit Palka BT ih Repiite © o3| 37 as easton oy] 73 | Mov ALB |; mee dla ® irko Rec os] £6 | AW! Ol | 3 mos a) bits 4 Vnexcept Po 06 | of 07 | 47. | Mov BA] 3 Save De From First byte 02| 79] Mov ArC | 5 move Second Pettey te Acc ot | 26 | ANT OlH| jMusk at biKS A RTH excep Do OA! ol 08| Ao| ANA B J AND bits DF TH owe 874 6¢| P32] OUT ofn| ;Tun enfopp connecter! te Do oP) ot oE| 76 HLT jomd Pre Srawme., Poo tye Question #02 ANSWER Adebress, H-code mronemanitt Comorremts xx00! 34 |Ux! Sp.sroa] ; Snitiafize dhe Stacte will, Sven xx oy | 02 | Xxor) 5ST XxO3) FS |PUSH PSw fj pust she vole 4 Jays inte STooe xx ol) 06 ieee B, 0011] j Load BB With ootl For reset 4 Beds XX OJ) 00 | WR | X¥06) 04 | INR BR |i Rest a Flags except Cory Flag KOT STi Ste Lj Set ony Pag Xx 08) BF CRA j Complement cawy Fla} xx 04 | 4 HLT | Ene dhe program Ex pleneti on. Comtents om the Abie the PUSH BW dnetyuetion. sFol STor Stack Nam ex y location SS00e SP 4 Dbl hich 12 qzme corr. Ques tion # oF An swéR. we fe fe wivite Ge adlemmbly Dete between Langage — pregram te 2 xe hope Reyt dew Pew vo rth Crk Lking MOV jug true tio + lAgires, Fe os, Weyer Cred yao] 34 UXT SP.Xxmy jf dnidivige FP | oy| Xx on XX o3| Bes, PUSH & |; Push Bt int PUSH D \Pus Dawe inte stack ad Dec Sheets) a o Statk at Dec Stack oy! ps or ae PoP A i Pop Stak mJ place aU ing col Dil) | Pore DE |i pap Stack oul Sete 7 ocied re 07 76 | ALT send Praga | 08 | S Pbolutich IDT2AWIE C0126 —__| Question#os ANSWER can ase HE Pay Hawe; We Register becaute dhe ime Pelaby Mm awl ore Label — mnemonics Comment s Te LXI B, Count} 5 Load Be with she Reysired Cams |! ? lao pP ocx B i Decrement BC by one 6 Mov Asc j Place content 4 © in Ace~ |4 ORA B jOR BR with © £0 Set Zere peg] NZ LOOP je 0 Ren js 2. ot Ay result wot eyeet ¢ gee Gs bade to, A Simee; Clock “Preponey of the System $= 2 STMHD So; Chock peviad T= 2 = L yee y ar [T= otuc¢] | Time to execute LX! nctuctio ‘ie aut lo T Slates ¥ Tine pertod ér) = e Pllautletr (QT2ME Col76 => Ture lo X oY [Tas = 4s] Time oudside 4a lwop 7 eat Ce ee ae (eop Th = Teel T stetes A the loop x Time period x Gaunt = TL = ay x of xGount Since Tote) time 40 execute tHe Deloy He program Troan FTE Tae = Troe = 9.6 CouTyio Sy axis’ ap Tater og ped No 02 Spee > o-aF= 9-6 Coot x15 6 4 ux 9.§ Coot x15° 0 dY 99-796 ppm held lids 2 A IP yr2mecol7 Hamee She catauletec! — Comnten FS im folzevreral roe hove to cemvert into Hey -clecimed im oder te aye a ate in aatermbty danse] So, [Count = 65 BIN Reypuredt a hs dhe Caleutedion we iqne dhe Last JNZ instruction exectiktion becuate Which ff" oalf 3 Stade te animes Pom dhe Loo time 3T State my Nippewenst SX 04 = 12S bIbick — amach — Paneer > Wher INZ imstruchu ex ectute Fired time in Camt TT-Stete ad woe Ube le T= Shete sw ev Gekecteadoun. SsSsSSSSsSSSSSSSSSSS————— SF 176 aA [pJZzMeco 2 deers fled Question Ho? port (v ANSWER Give Sirasoicref Singned pit)= dim at +$inbt +O When A=fHz ofbz 6 Jatin Sobudionsx Oz Fuye Sinst + Bin (oA)CSit 7 [ro - mst + Sin ai | Then to Sample dhe Signal Be) pre port dhe Sem plin) — rate must be rove dham “Livice dhe She Oeghert Pesponcy Me Snel Fis fm . | Yoa=a J $s > 2a } J free a MOMS Gaye ts >2 C5) [3s > tena] PA bobie tlt 12 J2mE los | Wherefore chime intewep — by Samples must be ata tL ts Ate i ° USS pate | [se 2 cane —> Raperres| The: Time intewyeD meadt be lets thee ot Second. Question #oz pat b So Lution:- =— Gmnce Lsp=t¢ puk Seale Voltage) ae peur Scoke Volkeree V= Sv = ID TAME Cot FB A belelleer So, Uses Ls) a? MS = Death 4 ute Scale Voltage =? MSB= Lys eo (Res) Since: Gul Slate cut put = Vp => Vaw = ute Seale Voll — U6 => Vga = S— o-oig yy pap ed | leroy ti corde deco | 35 zeor oo dor! ay 2003 | xx too] XM Zoos! o8 2006| 79 2067) 130 zo oz! C2 22 ey] oF 100A] ge 2e0g] £6 20 0c 20 zeoop| C3 20 6g) 0° doer] 0° gelel 76 Questions PNSWRR: TAN emery ees STA teop MUI A, cot LX! B, doll Ocx Mov Aye oRA | 22 bee IMP sta HoT p T.0 Con oS fr Move 60H We A 1 Skok detey q rsems ee jp Move j check QC + F TEMP KEN Be wet Jere ANI BOW schok j dem P ve Exe a Jewo Bhs emergony yw Piss # bee Pre fram, To5 hades £ path LLIZME Col7t $ Count Cebcutedion tae So Te 6-Sus Te = 1 Tstede x 7 To = ime pevioe} lexo > TL = Totutt T-stetes x Time pertocl x Count rr <& TE 2 12 Cormt xo Te = TL + Te Foe 1D Comet v1 oH ruc’ ees => [Ceud = F434,) |

You might also like