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

MPMC Lab Notes

Mpmc bio
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)
53 views

MPMC Lab Notes

Mpmc bio
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/ 35
AsKee ny Rage j TIMOR HOR Lo TAGE TODBA ALN BIET | PeoWan Hew manent SIDS Vfor aurbus the ‘very Simdiese aisemby language Pbadeans , | Ne POLIO Y Wat {USC OME LYRE Of micso ComPuICE AevCOPMENE FYFE AM “DHOAM —dLVCIOPMEM COOLS 40 Mmerier aug) WOBk Casey | \ Mast OF AMCSE LOUIS age wagsams which uk BUN I Pe fa%m Some {unceian OA (ne PxdgIAM We ase eusiting Ed 108 -— | AN GlitOx WS a psogTaM, Which auows US40 CoCatC a tive | Comalning gre assemoiy Language Sytem 4O¥ OU pagecey | EX> PC WILE sop Poogsam -- 5 B0B6 Program unsemur, age, 5 AbSHSACE’ ) engig mis to0go0H PEOFOIMS Unsigned mvitit SPCBSLOSS Yed » CS, S Abs AYUDY “MOR DATA SEGMENT: DATA Lt DB 2H, ia DATA 2 OW UZAFE] Hagar PES B Dw3 OUP (oe) DATA eups ASSUME CS* CODE LDS! DATA flow chaos? (ston! ) - pratur iward | eeiey THSIECTION | | waa oar Cas? W82PSTOE Wf yb TOstouesian | [_ ieoutenscarion Pie eT PL | snow in tacL ion ; ae ae peut] ov ins ; Otel! [ne (DVO LON ry ne pilose exeytion (ot) “, gol 9318 AF U3 8996 0000 : As: a0d8 0000 00 BP ,00)00.00°08 1) Ky’ 9000 CX 0000 dx 0000 y ‘ gi 0000 P20 ¢ te pojppartiieooe:y | REF 5 38 bP 0000 “lho ri se 0000, dro as Ba . cs udan AFics execution — eh ee Bs: 0 5, UBAe ds: 0000 33 (8 AE U3 81 26 uB 6)” ; a 0088 16 08 DE $8 00 00 00.00 at Yosg SOROS ‘bx 000 | €X, 000 dx OAIE gh 0000) bP 0000 Gi SP 00001) 3 b sy pind as Band es! aban © ss jHBAE ae cs su@ae 860) IU (p> 00LD woh (ODE SEGMENT grater .moy Ay Date mov OS. AF | mov At DATA L \ | MUL DATA Itt wav RES: AY MOV AX, DATAD DATA L$2 END SrakT Rae MEAP recap a ARLemeniatan oy ot On Unsigned BinasyeAumney was rt, ah reterene meederd VBS HG (ae EMO mathe mara agarysis = , 4, ee asscen ies gngisverion gned De sed fos OS! S0ggnat iv sonsce operand pinisor " pegistcs Lemony pocation, rt may be B-bit cay tO ob tbepit (wos) ra tne division opesasion: t e acfourt destinarion ope Ip-biE (wosd]-in, AX pegist ey Th word is dividend is Lyd 08) ie tag 3a-bt [o- word] -19 Dx. AX PEgpisteo, pak Ths Guy Examples | — ai ainacy, rK cere ovidend | owvso8- ovo dien? Pew oO) La iguoaitat EB-wrtJ, Loony enn tee (ogt?) sere one y (B-bit, is DIM malo" y 020001720 210 oy OH (6) AL Reg He south) 2 AH veg d ak Ar eeg DK.AX Rl U3224 0A) SAX R| 02264 (PIA dy “7 WwW) A 6100 nsigaca Divi) O' URsigA Ce ON ALD Of tebe mrngs atar AIM vO WHILE and OF i ua gaara Ginaay VurnDr eS of Bivisian On Appaxaus we ona computes F Aged $0fteu00 0 AIZOouRM 7 SUCP LL SawL SLC 2: Read Unsigned Binary dosafoom dato. Segment memos locastons. SLOP 3°- Peoform Division opesazion. SLCPU = $lO5e ine Besut @UoLicaAt Ond REemoinaer in SOU Segment memory locations. SCP S- srop 095. > pgegsan 5 8086 peagsaw ono - Asm Dy Apsteact {cthiS Pyoguak pestorms pivision on UNSIgNeER Binay Pead fom poosa segment Ewary Locations and Stose ane. Yosurt in pasa Segment memory) Locations: JZ RCGISLOES USCA *.CS.DS, Ab, AXiDY ke Ge Os. asl 5Tlo Boots wsed § NoAc jPootcolvxK used ) one DATA SEquent DATA) 9@ 20H DATAr Gh) 0260C, OF6ut U2B6Lt, 2000 t 31 flew ha Won), ans {CO znslave, Sot (vase piv rn seouc tion ' Capit hea e197 Tasty er Oq mov sngesucron . | y ‘ goo] ) lara HANS xy (0 s4i3Gs Yanmar | ougput nt pies \od a8 if aedore: veacceu tion YovO FPG Int 9 19> ynreoths) : las: 0000 10 06°28 \88 Uh bo § 4510008 20 00.00 0600 00 00 00 an uBad papi. @&: n0QeB» »yof) OVD LEOHDHOSY NF Yuneds DPR 4 oy) moo) 65 :04B@0" SS uBac, WERE es iP. 0010 a 3 ‘ yp 9G PCS DW »% DLP (oa) DATA enns ASME C6. CODE FOS. DATA CODE SC Gment START | MOV HX DATA Mov O05, AX ov ay « DATAL Div “Darar vou Pes, AX Mov : OY, DaTAL+2 Mov Ax, OATAL + (Ove evs ens sraeT Alie execution y Abe Ae als 9000 10 00 0? 64 O& 86 42 00 as 0008 10 © 00 86 Od 4F.3\0'0 2h axugre- BR 6000 e000" 1 gi) 0000) (810000, 0 300) DAGVEE UENCE AA ALP YBLeMmentation Of ehvicioa an, unsigned Binagy numbBcds, was WOIllOn AnA EXewted SUCCESS OUY : d rongide (wo -d ine Quin muainemavicas anarysis ert oS MD AMS AAAAA - oe etite 4 Decimas umber Cuan VOI a4) / ew “ai 9 quire ter, BcO and do tnt conversion int oe: cr: Gecienas aco BCD In MIadrrimas ya Our 1064 3atf CoMsesion psacess fonutesion Pearess yp Ceracticasy hey 1 94 1Q2 2x10 tax) telen-p TY OAH tay oe CHF) 16 COOEALE ho Agit in & ing PND opcraion ROBE his number ex g TN StSUCt HM: R04 _ TTUh kone. osition 4p 4 SPARE Gi9nt Using ton Stoosion 2M position O 3 position OSSERS wen resition OC O000 1. NUMbHeY Conveysiaa | | tind an ervle OM Aro of tenpiemeatasion| Of convession, af pw digit dEOME (O CQUiIe ny WO crimer) using 1 BoB6 Provessos AIMS xo cunile | ApNIALUS | TASM Software | ALGOsIINM, SLCP I. Siarxed | StLCP2 2 Bead Aco vaue | SUCPR = MASE Llowey Widdie. | SECPU S BRIE Left the uae Woir po | SLCP 5S. QO mutiPricarton with DAL Site 6: MALE URPES Nibbic SECPH; D6 Adaition StcP B! Stop PROIEGM -— 5 6086 Ps09AM ACD g 3nuens Asy FAM Reoforms tne convession oy J P6bleduse =. NONE USCC: DATA Sé€qMéE NT DATA! OB FAH Res 0B? u \ DATA Ends t n ont t yor qwith oo wis ve vey you MUM POf ol xoaul wb O° ooubl ni - Ary Take AL ony re, sede au payee ane 1aPUsF number 74 sepasare th diate tn “yng aigit position by using ano aPreatian: (lt Fal oMtoor - ooo 1K OFM OFFI i lay Addn go vod iow mana FY Tbidg 2 POY Aas Anis vole COOH) 10 the PaOdLCE AVOUALE ing UNG AM POMUAGL MYM OG LAL then it gives thas - Ub woqe doin NI Mon yz AHA RNG fiqw chast eron Bboy Se wry Uriy* 4yO9rGE ‘a OP OSA ¢ Jy 2Qyha UDR so00 8S DOA > Seki fama HEP BO ~ Asume 6S: CODE 105: ATA cone SGeMCNT START § MOV AX LOATA Mov OS) AX MOV ALi DATA t MOV BL, AL AvD AL, OTOH SHR AL, OW MOV CAH: OAKE MUL AH AND BL ofa ALD ‘ AL BL Mov RES (AL TMT 3H CODE Ends AfUe execution -— AS. 0000 2AQUF 0000 00 000000 dx 0000 Si 0000 ero dé 4000 dP 0000 iz SP 9000 ds Usa es u8an 36 UBAC cs aac 0020 | Rest = - uence an AP “mprementasion of ronvession of Py aigit decimar 10 eguivacent tWexodccima ved se B0B6 psolCsSO¥ Was wselicn, “execused UE ON Ts

You might also like