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)
9 views
Chapter-05 Arithmetic And Logic Instructions
Microprocesssor
Uploaded by
sawrav das
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
Download now
Download
Save Chapter-05 Arithmetic And Logic Instructions For Later
Download
Save
Save Chapter-05 Arithmetic And Logic Instructions For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
9 views
Chapter-05 Arithmetic And Logic Instructions
Microprocesssor
Uploaded by
sawrav das
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
Download now
Download
Save Chapter-05 Arithmetic And Logic Instructions For Later
Carousel Previous
Carousel Next
Save
Save Chapter-05 Arithmetic And Logic Instructions For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 12
Search
Fullscreen
* Chapter - s © Arithmetic and Logic ~ 4nxtructiom 1 ‘The contents — of AY BX cx and py ane acted +9-fmm « 16-bit ADD AX, BX App AL App = AX, PY 2) _Smmedicte_ Addie ——_(yhenrorcanlant oF Youn dot ame ddded) (i) bag 3H +284 * }2ng0t1 001 r [4.0010 0010, 2 ‘ ; 01010101 Wor pL, 33H nis 5 Sat oa 0001 0010 ADD Ly 33H OOll ool} 0100 O101 bo Ly ia! 5j 3}, Meme gi_sausn 8 va Ad two Conieutive byte of deta, Atoned at the data Aegment offaet Wncatiom NUMB ond NUMB-+4, +9 AL Register) - MOV OT, oFFseT NUMB Mov DT, OFFSET NUMP Mov MO ‘cae App = AL, Lor] ‘PibbA ae AD TOH) App Ab, [or +4] INC pr ADD av (00) : Ay cro tAmmay _Additiont —Suppoye thet an away of data (ARRAY) “Contain 10 bytes, Muunbened trom element 9 throug) element 9 A program Arowing how she contents oF anmay ate odled elementA 3,5 and FA a topetbet Mov ALO Moy 51,3 | eee App AL, ARRAY [51] Hei re) ua pop AL, ARRAY [$143] SEO Sy : I Hep Av, ARRAY [sx +4] Het wove e HEE a gaa 1clQ oots6A 6) Werte 6 procedure that Aum ARRAY. clement SF Fic get Sab: Hod yeas yp return the! eauHteiwi aL» and 10 - gees at Laasye Mov “ALyO nays avrlwatiiagd, sug lemoitipny ¢ gd sswetiet — ellearnet Sh S + gllowyet ‘Av, ARRAY i Aue 1] Ay Array (St+2} ay Aeray Grhes) 0 saave a@at A short Aequence oF inatauchins ADD ADD ADD s (that aubtmact AH frum RH en, 5 a ey ; sup (HAIR % (Biot): sisal oon 0010 RY ime baw Shino.) 0%s OH &©" Compaiiin:, Cone) —Suirmaction,.. that changer only the flag bits - - Destination operand newer changes - — Nowmally followed by a Conditional jump - Pree gnam nara SAE inmtmuction fortows the MAE SUBER Companion” 4+ Causes +h nthe prognay, Ao continue at soiq memory Toren SUBER jf the value in AL i« 0H Om above - o> (ompone and Exchange: ( CHPXCHG) i helt = cwpxcHe { Cydy iy) Oceys then AX =py t Ohenwit AX = Cy— ih ee 7) on ete program “She gotieies DX=BLX CL: aKUA yroaisa tmsin) Mov BLS if yet wh to pranieay 3 Moy ALCL we opt Mov DX, AX (@ ML ce 4 “5 > A in rmbtiplied bg CL: a th ianed product “ GA, uta. + 1 Undigt wed gaieds canmgong A 1? AY Syd babivib MBL capmpaxtt % (iy MUL j 5 by (Ky ath ~ cokto unsigned products in . ; alt 4... ae igo Daca Tha.orbarilgitt iq : Ao ahor program thet divider The aig x “OX Jdsxd— Mabompnge ad SUS ay tm unigned context edi Contents emony ‘ums by 3 of memory tocetin MUMBA - Mov AH, 0 __Witnragd pv NUMBSPeuprn! piled , : SADIIAES a6 lee MOV ORNST AE 39 UM) 4 vi haw baopiniy ani WO. ANSRE AR ees es 5 program —Ahowing how 2 x Program: 1B vided Wy a hPa iea ® Mide ¥ ee ae _seorbanit oui” = AG Ain, om SOiNOT LO + ED s(t ones coon pH Mowey pd owen > +a. GdgiAG}) bap GY wee o> or in two's omit ‘ rete ¥ Cai ea gy Lge te ~ gab gnaaj) sat Casey Hh number ; Apecified by a - wy ig erna Shift ® = Two direction: (tert abit, Mubtiplicetion by go wer of Z. and (i) Right abiFt Diviaion by prwent of a-n ut J. . i Rotate sewige Hamough) the Conny flag - Evommple (SHIFT) nT, (i) Ci) mubtipty (iit) Mattel Murtiply Ax AX by Dae a Iw: eat — ———— SS SHL AX, SHL AY (Mov BY, Ay Mov BX, AX mov BILAX SHE AXA She AX,2 SHLAA) ADD AX eY foo At, By App MY, BY Difference: ; — 4F Ch ia used for ag reotee Count, it doean’+ change . Aa with — yhifte, the Court in (1 iA molule-3 ounBASIC _Loauc_znsraperins_ f (AND, oR) ‘ ry l a ‘ ra | “operct ‘ s: - oR openction sets any bit | he AND | jon cleans ay aden Acs XK fey AND () fost Lito qoa Goon)” ep meg MD Sdll>e ys gy (J Sieh typ aT Pree XXX KA, X bon 200 Or TI Nae Bak Wan wp ig 0.00.0 Xxx ¥ @ eens ian “Te rth Hehe fi AME AND opeeciO® > Wirt out Ye, oe _ 4 = or Hegemon of an AND Rete : Adana Fo ati © yi’ COD- The operation vt tne aD anc”a irae? ¢ . Xx xxx X | Valo Numben ow a XKKX TP TL Oo Rewtt T i WwW oa “fa the truth fable fe yee of ‘pan (5) The logic Caymbsl oF an OF bate maf Sete Soth gy iste etka , i Ha OMA te tig (OTe operetn Of the ok functor Othiarh qua . BOM 4A sat ty ecitymoan og Ang, OY HA OF 8 vmunber qo sal 1 Ban Ria ~ AM td vied coi weda, ane ack 8 OMe * F'4 (6) cr Abpuipg how the OR gett yet (VY) ane pit oF 4 > binamy — nuymbert “The tight mott Fue bit? ret» whener he teHtmort foun. bit emai uinchanged one, iF in coaq thet OR operon 40% ee ee AND operation — cleans "4 vit.& ® Difference é ea Hoa] 1) Exclusive OR (¥0R) ya Wi) Snelasive- oR (on) ¢ tr ae iia op ear AAA Condition oF the OR. Function pmeducer a 45 tid fasarttar an, . Mt Hy —_— COnattien, of the KOR openation (See & MEbrHing } : mote 3h Crest“ es (ii) Pet (me: oi TEST inatnuction roumany ect a dingie bit Wheear TE CMP insinacion Feta he entime byte Word, om daubleunes - Se anol \. €49 219 pothd soda a re eal Me aa a es ag ATS i tid va RN D2 changer the oa reco, a aber! dot — chmge he destination apetane “ee eS % A Ahortt program ahet TEST Aly) qnz Rant Youth He mightmot! test lab Vas and, lettinert bi nz oLeFT puition oF tne AL register - at a : Khat giinarnew E ino Sted ait iE nommple - 5-25 i BTS aC Here, ars, th a al BTS O51 cep vogigi | BTR —D Clana bE im : BIR ux,0 : bao2ge -Avikouitapp.. oat : Bra’! out ye BTS0 125 Ge bE in OX mela ot 5 8m 406 "id* at Aaemb\y Langues ¢ > br — BT a bt — BTR nik js cred and prc —> Invent! bits in Cy Openehisn — tet a bit Woe dortination operand apecitied 9 = Ane dowwce openany - Teas and complement a bit ce NAHE deHtinetion operant agectie# by the Aource oyerms - ~ Tata and vete a ait ih the sekeutination operand azecttiod by aque oper, \ eet inthe destneion OOM aneonerrs ayet
You might also like
PPS Handwritten Notes
PDF
80% (5)
PPS Handwritten Notes
142 pages
Mic 3rd chp
PDF
No ratings yet
Mic 3rd chp
25 pages
Errola Dsa Note 21-03-24
PDF
No ratings yet
Errola Dsa Note 21-03-24
64 pages
Module04-Combinational Logic
PDF
No ratings yet
Module04-Combinational Logic
24 pages
Module 3 LSD
PDF
No ratings yet
Module 3 LSD
59 pages
Lab 2
PDF
No ratings yet
Lab 2
21 pages
STLD. unit 2 part2
PDF
No ratings yet
STLD. unit 2 part2
42 pages
Digital Logic Short NOTES
PDF
No ratings yet
Digital Logic Short NOTES
18 pages
mike 2
PDF
No ratings yet
mike 2
9 pages
C Language 1
PDF
No ratings yet
C Language 1
15 pages
110120104014-CS8251 (1)
PDF
No ratings yet
110120104014-CS8251 (1)
31 pages
DLCD Unit - 3
PDF
No ratings yet
DLCD Unit - 3
83 pages
cse-231l-lab-report-5 7-segment
PDF
No ratings yet
cse-231l-lab-report-5 7-segment
20 pages
8086 Instructions
PDF
No ratings yet
8086 Instructions
11 pages
MCES
PDF
No ratings yet
MCES
14 pages
DLCD Lab Practical File
PDF
No ratings yet
DLCD Lab Practical File
33 pages
Chapter_4_pdf
PDF
No ratings yet
Chapter_4_pdf
49 pages
AKU PPS Pyq 2019
PDF
No ratings yet
AKU PPS Pyq 2019
11 pages
ComputerOrganization L4 Arithmetic
PDF
No ratings yet
ComputerOrganization L4 Arithmetic
30 pages
Ade Unit 1 Notes (P.J)
PDF
No ratings yet
Ade Unit 1 Notes (P.J)
15 pages
Theory of Computation
PDF
No ratings yet
Theory of Computation
17 pages
DocScanner Mar 11, 2025 2-02 PM
PDF
No ratings yet
DocScanner Mar 11, 2025 2-02 PM
11 pages
Programming Keys
PDF
No ratings yet
Programming Keys
20 pages
QUESTION BANK UNIT 2 - Computer Organization and Architecture
PDF
No ratings yet
QUESTION BANK UNIT 2 - Computer Organization and Architecture
7 pages
CA Unit 3 (Data Representation)
PDF
No ratings yet
CA Unit 3 (Data Representation)
23 pages
Solution Practice Paper 2 DLDM - 11zon
PDF
No ratings yet
Solution Practice Paper 2 DLDM - 11zon
35 pages
Untitled
PDF
No ratings yet
Untitled
103 pages
Ldca Notes
PDF
No ratings yet
Ldca Notes
22 pages
Computer Architecture
PDF
No ratings yet
Computer Architecture
103 pages
Mic Manual 14
PDF
No ratings yet
Mic Manual 14
9 pages
assignment
PDF
No ratings yet
assignment
11 pages
Dco Notes
PDF
No ratings yet
Dco Notes
21 pages
Lecture 3 - MUX - 1bit Adder and ALU Design
PDF
No ratings yet
Lecture 3 - MUX - 1bit Adder and ALU Design
81 pages
MIC Assignment 4-5
PDF
No ratings yet
MIC Assignment 4-5
35 pages
Unit 2
PDF
No ratings yet
Unit 2
12 pages
COA notes
PDF
No ratings yet
COA notes
15 pages
Adder enhancement techniques
PDF
No ratings yet
Adder enhancement techniques
20 pages
Adc 1
PDF
No ratings yet
Adc 1
19 pages
Digital Electronics I
PDF
No ratings yet
Digital Electronics I
65 pages
Bhavya 4th February 2023 Notes
PDF
No ratings yet
Bhavya 4th February 2023 Notes
16 pages
Digital Logic D-WPS Office
PDF
No ratings yet
Digital Logic D-WPS Office
19 pages
DigitalLogic ComputerOrganization L13 Arithmetic Handout
PDF
No ratings yet
DigitalLogic ComputerOrganization L13 Arithmetic Handout
37 pages
Co Unit Iii Part 2
PDF
No ratings yet
Co Unit Iii Part 2
11 pages
110120104014-CS8251
PDF
No ratings yet
110120104014-CS8251
29 pages
Assignment of MCS 012 - IGNOU Semester 2
PDF
No ratings yet
Assignment of MCS 012 - IGNOU Semester 2
27 pages
Table of Contents
PDF
No ratings yet
Table of Contents
7 pages
Mod 1 2
PDF
No ratings yet
Mod 1 2
20 pages
mic manual 15
PDF
No ratings yet
mic manual 15
7 pages
DS C++ Record 1st Exercise To 6 TH Exsrcise
PDF
No ratings yet
DS C++ Record 1st Exercise To 6 TH Exsrcise
22 pages
CS Part-1
PDF
No ratings yet
CS Part-1
28 pages
Data Structure Using C Hand Written Notes
PDF
No ratings yet
Data Structure Using C Hand Written Notes
70 pages
Lecture 7-8 LOGIC GATES
PDF
No ratings yet
Lecture 7-8 LOGIC GATES
38 pages
CTP Unit - 1
PDF
No ratings yet
CTP Unit - 1
18 pages
Instruction Sets in 8086
PDF
No ratings yet
Instruction Sets in 8086
82 pages
Assignment 1 .pdf
PDF
No ratings yet
Assignment 1 .pdf
9 pages
CA-Unit-7
PDF
No ratings yet
CA-Unit-7
12 pages
Digital Logic Basics B
PDF
No ratings yet
Digital Logic Basics B
120 pages
CP CIE-1 IMP QUESTIONS (with answers)-1 (1)
PDF
No ratings yet
CP CIE-1 IMP QUESTIONS (with answers)-1 (1)
46 pages
EEE 483_Lecture 1
PDF
No ratings yet
EEE 483_Lecture 1
34 pages
EEE 483_Lecture 8
PDF
No ratings yet
EEE 483_Lecture 8
21 pages
Chapter-03 Addressing Modes
PDF
No ratings yet
Chapter-03 Addressing Modes
16 pages
Chapter-02 Architecture
PDF
No ratings yet
Chapter-02 Architecture
13 pages
A Single-Phase Bidirectional ACDC Converter For V2
PDF
No ratings yet
A Single-Phase Bidirectional ACDC Converter For V2
15 pages
Chapter-04 Data Movement Instructions
PDF
No ratings yet
Chapter-04 Data Movement Instructions
11 pages
Chapter-01 Introduction to the MP and Computer
PDF
No ratings yet
Chapter-01 Introduction to the MP and Computer
9 pages