Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
13 views
MPMC Unit 2
Btech materials
Uploaded by
nanisaginela
AI-enhanced title
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save MPMC-Unit-2 For Later
Download
Save
Save MPMC-Unit-2 For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
13 views
MPMC Unit 2
Btech materials
Uploaded by
nanisaginela
AI-enhanced title
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save MPMC-Unit-2 For Later
Carousel Previous
Carousel Next
Save
Save MPMC-Unit-2 For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 23
Search
Fullscreen
ables | x ~Assembiy lever language Prgaam Developmens Tools'— > ALP progam tools ade Sofswase developmen Aools which ron in +WO -Assemyy TASM Tube Assembler , | MASM Cmicadsofy assemier ) — Jools inctude's editoy, assemybley, Finke, 10Cator, de buggey ana aemu\ator- (3 Edtoy!~ > editer is a file which contan Assemby language Statement fey the Peequam- Hi> the Ste general by elites Contain input fey the pyngaam- | 7 shod be given with an extensions asm FS the command used -Ro the editor is CBTASM? cat Alename asm | % ~Assembley:- SH is Used to HBuNstote Assemby level into Meachine level. | > FH generaie two files. the 4 fie is Called objet file, which Contain address aM dad Ky the Comvesponsing inghwclon ; > Tk Shovld be ven with Obj \ S the setond fle is Called Vist fle which +s Usa to om Memon: Mnemonic 3 is Called Sdvyle Fle which Progam in TASM Assembles generate the progsam < Soon . Ls CeTAsM? TAS 7 Sry Shoull| be coed iN & Linkes:- vabf 23 Fh object fies inte (arge > | Sie used +o ajvide large ‘Program moavie Mo smaltes Modules. > syne cB Taser ink Hename =e: Sa is eRdenty1 i X Locators Say is used te ASSN object vawes where the Joadeg wrto the Memory pugrm code ‘Ste be > 11 genewte + BIN Carnepy Mle which Jenetates — Cach gy, eueny value in hexa -Toymade: ). tee es > TH is @ tool Which ONow debugging — Nd change, the Comem of vegisiey and memory location, it Allow ~“bdeak Ton > whose the paogsam Can be 2 Symax is CH TAS DLA Ble name + exe exe coted - A -pavessing mode - > the differen ways The paocessoy Can Alress dat rs cated Addressing mode: Is Tmmiaiate —Addsessng mode - S an lems doin 1s ¢ Sheches, Pa ths inshvewon seit. > Sypax 1s Mov destination, Sovyee Gye MOY Ax, HSaEN > & seeifle dota 2. Regstes -Addvesing mode’ Day this mode Sovace OMY deshnaton se spedta “Hugh segiss ers: ioe ey MOV Bx, Aly = de gisheye 3B. Regisies TNATECt ~Aadvessing Mode is Spetfea Indioecty Thaovgh He | Sap tis 1 -Bit dao Degsrey using Memory tolalon, DCJ invicotes ment tye Mov Ax Cox) 3 Nan iin enc aeu Dace -Adagessing Mode ‘= a In tis mode —Addsess locaton » OF the. CPextnd 1 Siten ' nope, A Me ¥ MstwGien ah sa ne Ee Mov Ax, (a3) S Implied —Adaxessing mode- > CoMons omy op Code of the instsifen- Eg Ste Set nrg CMC Compiemeas Gaey RoR CRetare wisht wsing Accumolatey ) 6 Base segisiey Using Sisplacement -Aaddess. : the content of a >t ss obanes by oaaing 3 sesow iS Move segss43 and displacement Odazess ‘Mo Accumulatey xegisses- SB- Mov Ax, (8x) (e000) > Tio -adressng mode: - : Se Consits & -fved Ho ana’ variable“ tlo aaay ess. . >) Bag zip he Por adésess is Constant Using In & out dectasaton. - “SN Ags Cord gut one, AK he Fiabe ¥ TNSWHON ger of O36 —- > ca Conshe of deta Jaanefey inswucion iy also Known as copy 2) Aransfey inshyuchon which iS vsed to Move the dora Sym Sovwe to the destination. now: >i copes a word @) byte fam destinakyn Begster Sowle MAY be memory ,Fegsley, oN immeacde date, ; i‘ ~> deginakon may be Sonce and Yegstes but Mendy mearrnny dara *eansFes |S nor Possible ne Flags are Ckredked Using Mev Anstouch on - > Syntox ts) Mov DestinaWon, sovsce,_ ource segutes to theFP > ES- mov Ax, 123n0 Ummetiae data Mov Ax, 3x C Regstes) MOV Ax, [2S00} (memory) 2 XCNG> ( exchange :- > BH exchanges the coftas of 1 segsies fo the anothey > SMlax is xcuG Desinalun, Soute - > Br xXCHe AY Lene 5 this Msiuction, determines the offset add8ess Pointe, 4] printey Yegister AN 104 We Whe Spec 16 UY degister | > Syntax is LEA Reg, Souste > @- LEA Bx, (oz) os eas > x push ofestid > Syrox is Push AX [Soi tre ee ae & 5 pe deta fam Stack Segment: > Symox 1 POP AX as is Yvo 16 Bit this instyueion Spesty the valve : : . & Tegister ahd tora into the uo 9 > Syntox is LDS, Reg, Sovace P T , D> Fer bps, an, (RVCsEP 1 states ote 7 = XLATI- ° ‘ J S ai orig 0 byte in Memoay Segment with ,e. Ht Poria by By segistes- 2! eae ae - 3 in ‘en ee Brae. + mn 5 Ras Rag? eg AP HAT ha rtcy ze wisiah bo ape ea Sea Lowes be of Fag Fegistey to A ye" t Saw oe COPY PH tO Me touch 1Owed byte of, fag weaiies-islajos » aonb Aone = (-Aadi on | Aaa op with S74) > boy > ada a Number fom sourte to the, destination with efFea of cowsy fiag., \ > Syntox is ADD Destnation, Source 7 &g- Ady y3an, FESEH ‘ oo Mov Ay, #8564 Aop Ax, HB21K A256 = ot 1000 oto! otto H2a2r = ‘oioo oo 9010 “000!, | Baa" voy You" OVIy | ONNA 2) 3 3 a a Ine (engeemeny: - > TA ads one to the spedBes destnation. > Syntax is TNC Destinavion > eg - Mov Ax, HaW . Adjust aftes addition): - > the numbers fim 0-9 dbe epresented 1 o-aq the vesulk Will be, YNFACKed Ascir oS Ben foamnat: > Syntax is AAA > &- 3h = 33" oon Gu = 36H Ole = yo . q Mask upPes Nibbte = OF4"- Ay DARE Credmal -adjust ARer Adaition)- 7 IP the vesuth “in .AL7g) add s-60 to alhe | ae wast Wadd 06" +o desu, Sesu + > xf the eso AL <9 57 ia Spee vans teaejs. greater rons a 6 te the veut > she xesvly will be i” packed sep Rema. > symax 1S DAA > &- Sir 3B BUG WH OO 1000 190 oo 100 1001 49 HQ WH = 1001 1001 wat ew TiTormemO ro Cham oLOOnn UU aaa’s’ 6 V0 hg ’ Awe Ch overt, 009! yoo! ota x ie 10. Bh Ve Vo wu iv i * Rolote Thshsuckon’- aol due a4 consists of — Ror, ROR, RCL err! 3 ovate tefs)'- aon bit frm LBM) > 4 roiate the “> Syntax “9S Ror. - Deskinavon ae i ' © aww t émen 2 Eye ISSN e RAN ett mss 1o 2 eae awe MW. % . ar Ne tae ise sig2+ Ropi- C Rotate Bighs )"- > TA wiate the bils from Msp >Lse > symox is ROR destination, > Ey 4a Ms 'oo\ om oO Sy PSs ne RCL (Rotate ef using catayy > Ty wlate the Li From Lays Mince Las > symiox is REL DeSNAOn i > Gyr Rev l23nh = 2Mbat ‘ 2 uf ee (roigte Bight YSing Corey): > sy Rolake The BH fm Msg —Lsg scr PSs RCR Destination > Syntox 8 > Ege RCR \a3 KR ‘ rg one an we : M&B 000) 010 O91) ‘OL0O ye 8 PI SSIS Ay SSP SS fen r a oool |; oro Ae rye) “Bh; * PY Ce Ssoy on: _& Pagtesso¥ mpsiautons 2 the Ingavnciion which rectly efher Flag reQeister 5 Catiey The paocessoy Gontaol inshyuckon. g HuSTC C SeT Canaay Fog = Cre _C Compbment Caray Fag: cle ( Ceny carsry Frag). 3 4 STD ( Set divettion fag. F erp cueas disetton fag). 6 STI (set Wrerup Fiagy, % CLI ( Geax inkeramt fing >, + % Banch insbeuckon '- 2 these inshucion Teansfey, contyel ty the, S2bvk'Ne + some Speufy New Odasess: > consils of ot \ unconeiiona) Baanth instwution > Conaitonal Baanch ingksveon. ~% unconditional Baanch .~ > without checrhg any Conaton “Ap oansfex Comal | caw the new addvess: tb NEAR CALL’) if ‘ 2 FAR CALL NEAR CALL‘ "e 4 > TH is also Called intaa Segment: > when the imesavre OCcUTS AP Seng ACensioledgement “Sy 7 . which decrement by sexing vp gasses: fo the stack. which een slack pomer *3 > * Par CALLS > at is caved WCE Segment when Farcare i exert Wp ve Care Semen Addwess + TP addvegs. to the SHOUden 3 NEAR REV is used! to Aansfor — exectohon Lyom Aub TINE Ay | MAN program. . (es wmen near per oCcuEns i pop rp address fom the SlacH. A yCVeMeMd Slack PAMCI by 72’ 4 FAR RET! >a pop code Segmen ana 7? cadavers from. the Slack by Incyementing ponies by 9 ® conaiavonay B20Nch'- codition Sap addaess jo the Spesfied valve. 7 By cheeving Ye be Be] az Covmp iP equa | sump if zex0) » 3h] swer ( ump if greater | sump 1F Not equal oy lesser) + SA ( Dormp if Above? , scxz Lsump if Comes Begist ev ts zew) “oe sp [snr (sump iF Faatty | sump af Odd Podra) 30 ( sun iF aehow) * ot sp (oom if is BH) oe Te (aump ie COBY) ao, _ shift on ' : feat 1 sae Cshity vet) > x1 shigys “BHs Tourn oe Nye Lop te maa ond replace LSS, ba ith gy pestinavon MB > 1 2. SAR (Shi) Pathemere pay sax shifas Bike Shor MB 42 LAB and deplace Netw with ot MsR bi _ : > Gynar is SAR Desknakon. s ysGan (a MB ovaq gray Ove oll) S 33 Winn im | ‘ Vy vin “| -~"tatal a 3 SUR Cshity Bight), ‘ana BePtate MQ 3m sktrs Bhs fom MSR te ISB Ba wih Oe ; > s 4s syr_ Destination. a a! * log: cat “InstwUChon :- instwaion —Cons': sis of AND, OR NOT OM X-OR > logicar y pwn: ‘ : aah wets VF 5 xt is user for Pertssming AnD operahny both inpurs ase sy, olheswise T+ Pons: = . fx > Syrrax is pwn destinavon, SOULE 6 O03 u" +36 > Br Mov Ay, 328M cgi AND Ay/ 56238, us 0 Col! 9010 1000 * cate S£22 y101m1to O01 000!" Vr oofoors str Opee Ts yooh 2 fe > u2208 % Rr “> 4 pelvan “1” iP any one of We’ ingur is “17 oherwise ® S Syne 38 OR sestinaton, Source. > Br Mov Ay, H326H fst OR Ax, $6234 : o2: tuga3. 010. ON 0010 yo ono 9010 001 5623 0!0! oro O1Vy | covelyore” BT] PHY] covey sy 53284
You might also like
MP&MC Unit-2
PDF
No ratings yet
MP&MC Unit-2
15 pages
Mic 3rd chp
PDF
No ratings yet
Mic 3rd chp
25 pages
Spos Model Answer 2018
PDF
No ratings yet
Spos Model Answer 2018
14 pages
Microcontroller
PDF
No ratings yet
Microcontroller
9 pages
MPMC Lab Notes
PDF
No ratings yet
MPMC Lab Notes
35 pages
Chapter-03 Addressing Modes
PDF
No ratings yet
Chapter-03 Addressing Modes
16 pages
AMP assignment 3
PDF
No ratings yet
AMP assignment 3
23 pages
DCP Unit-2
PDF
No ratings yet
DCP Unit-2
22 pages
System Software Notes
PDF
No ratings yet
System Software Notes
16 pages
MI Notebook
PDF
No ratings yet
MI Notebook
18 pages
Microprocessor8085 Except Interfacing
PDF
No ratings yet
Microprocessor8085 Except Interfacing
25 pages
21CS43 M2
PDF
No ratings yet
21CS43 M2
49 pages
Assembly Language and Systems Programming For The IBM PC and Compatibles
PDF
No ratings yet
Assembly Language and Systems Programming For The IBM PC and Compatibles
222 pages
Programming 8085 Up
PDF
No ratings yet
Programming 8085 Up
19 pages
MIC Chp 4
PDF
No ratings yet
MIC Chp 4
23 pages
CA Unit 5
PDF
No ratings yet
CA Unit 5
17 pages
DocScanner Mar 11, 2025 2-02 PM
PDF
No ratings yet
DocScanner Mar 11, 2025 2-02 PM
11 pages
Microcontroller 8051
PDF
No ratings yet
Microcontroller 8051
29 pages
Microprocessor and Microcontrollers - Unit-3
PDF
No ratings yet
Microprocessor and Microcontrollers - Unit-3
9 pages
MPI Gtu Win. & Sum.2022
PDF
No ratings yet
MPI Gtu Win. & Sum.2022
65 pages
SS
PDF
No ratings yet
SS
40 pages
CA Assignment
PDF
No ratings yet
CA Assignment
52 pages
Doc
PDF
No ratings yet
Doc
29 pages
Note6 DataMovementInstructions
PDF
No ratings yet
Note6 DataMovementInstructions
15 pages
MIC Manual
PDF
No ratings yet
MIC Manual
47 pages
BCS402-model-paper-set-1solution
PDF
No ratings yet
BCS402-model-paper-set-1solution
41 pages
Assembly 3
PDF
No ratings yet
Assembly 3
19 pages
Scan 20 Mar 24 16 01 07
PDF
No ratings yet
Scan 20 Mar 24 16 01 07
35 pages
Microprocessor 3 (Including Interfacing)
PDF
No ratings yet
Microprocessor 3 (Including Interfacing)
57 pages
Microprocessor and Microcontroller Notes
PDF
No ratings yet
Microprocessor and Microcontroller Notes
52 pages
Image To PDF 20240330 18.45.17
PDF
No ratings yet
Image To PDF 20240330 18.45.17
8 pages
8086 Instructions
PDF
No ratings yet
8086 Instructions
11 pages
ES Notes
PDF
No ratings yet
ES Notes
64 pages
Coa. 2
PDF
No ratings yet
Coa. 2
16 pages
Passing Package Iipuc 2022
PDF
No ratings yet
Passing Package Iipuc 2022
18 pages
MALP Assignment 1y
PDF
No ratings yet
MALP Assignment 1y
9 pages
Untitled
PDF
No ratings yet
Untitled
103 pages
C Programming Language
PDF
No ratings yet
C Programming Language
55 pages
C Language 1
PDF
No ratings yet
C Language 1
15 pages
SPOS 70% Insem Notes by DK?
PDF
No ratings yet
SPOS 70% Insem Notes by DK?
18 pages
ES Module 2 Tiepdf
PDF
No ratings yet
ES Module 2 Tiepdf
43 pages
Microcontroller Assignment
PDF
No ratings yet
Microcontroller Assignment
16 pages
CTP Unit - 1
PDF
No ratings yet
CTP Unit - 1
18 pages
4SO18CS110 Simonne
PDF
No ratings yet
4SO18CS110 Simonne
16 pages
امتحان logic
PDF
No ratings yet
امتحان logic
3 pages
Assembly Language
PDF
No ratings yet
Assembly Language
37 pages
I P Unit-1
PDF
No ratings yet
I P Unit-1
19 pages
SPOS Assignment 2
PDF
No ratings yet
SPOS Assignment 2
14 pages
Allen Bradley OS 9 Assembler Linker
PDF
No ratings yet
Allen Bradley OS 9 Assembler Linker
89 pages
Co Unit Iii Part 2
PDF
No ratings yet
Co Unit Iii Part 2
11 pages
LP Assignment
PDF
No ratings yet
LP Assignment
10 pages
20cse74 Ajeet Yadav
PDF
No ratings yet
20cse74 Ajeet Yadav
35 pages
digital electronics 3rd sem rg
PDF
No ratings yet
digital electronics 3rd sem rg
48 pages
Computer Architecture
PDF
No ratings yet
Computer Architecture
103 pages
Mi Chapter 5
PDF
No ratings yet
Mi Chapter 5
31 pages
Chapter 1 Part 3
PDF
No ratings yet
Chapter 1 Part 3
17 pages
Mic Paper Solution 22
PDF
No ratings yet
Mic Paper Solution 22
17 pages
Unit 1 (B) Computer Organization
PDF
No ratings yet
Unit 1 (B) Computer Organization
13 pages
Coal Labs
PDF
No ratings yet
Coal Labs
16 pages