<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5822823688987998362</id><updated>2019-10-07T19:44:28.071+05:30</updated><category term="ns"/><category term="ns2 AODV"/><category term="CN"/><category term="DS"/><category term="AI"/><category term="B.Tech"/><category term="ECE"/><category term="Java"/><category term="Islam"/><category term="Personality"/><category term="Tips"/><category term="Trickz"/><category term="COLAB"/><category term="Linux"/><category term="OS"/><category term="Unani"/><category term="Android"/><category term="CSE"/><category term="OU"/><category term="Student Loans"/><category term="UML"/><category term="ns2"/><category term="GATE 2015"/><category term="JNTU"/><category term="Tipsz"/><category term="Apps"/><category term="CSIT"/><category term="Civil"/><category term="Cs-it"/><category term="FREE"/><category term="Networks"/><category term="TipsnTricksz"/><category term="UGC NET"/><category term="Career"/><category term="Cyberz"/><category term="DB"/><category term="Ebola"/><category term="Forensics"/><category term="GATE 2012"/><category term="GRE"/><category term="Jobs"/><category term="NSA"/><category term="Techz  Out of Wrold"/><category term="B Pharma"/><category term="B.Tech 2-1"/><category term="B.Tech 2-2"/><category term="CCNA"/><category term="Health"/><category term="Hkzr"/><category term="MC"/><category term="PHP"/><category term="SPM"/><category term="ebooks"/><category term="Airtel"/><category term="Aptitude"/><category term="Events 2012"/><category term="FacEbooK"/><category term="IBPS Banks"/><category term="Linux z"/><category term="M.Tech 1-1 /2012"/><category term="MIni Project"/><category term="Microsoft"/><category term="Syllabus"/><category term="Symbian"/><category term="Training"/><category term="Ubuntu"/><category term="WEB"/><category term="WhatsApp"/><category term="Adobe"/><category term="AfteR BtecH"/><category term="B.Tech 3-2"/><category term="B.Tech 3-2 /2012"/><category term="C"/><category term="CAT 2012"/><category term="CDACZ"/><category term="DCCN NSC"/><category term="Games"/><category term="Google"/><category term="IIT"/><category term="Info JNTU"/><category term="Info tech"/><category term="Interview"/><category term="Ist Btech"/><category term="J2ME"/><category term="M.Tech CSD IA32"/><category term="MBA"/><category term="Maths Tips"/><category term="Mobile"/><category term="MySql"/><category term="Security"/><category term="Softwarez"/><category term="Viva CSE"/><category term="Windows 7"/><category term=".Net"/><category term="6"/><category term="ATM"/><category term="Auurveda"/><category term="B.Tech 2-2 /2012"/><category term="B.Tech 3-1"/><category term="B.Tech 4-2 /2012"/><category term="Bio-Technology"/><category term="BtK5"/><category term="CBSE"/><category term="CISCO"/><category term="CN LAB"/><category term="CSE III"/><category term="Cloud"/><category term="Communication"/><category term="Course Code"/><category term="DES NS"/><category term="DSGT"/><category term="DWDM"/><category term="Database Access"/><category term="Driversz"/><category term="EEE"/><category term="ETH"/><category term="Engg"/><category term="Ethics"/><category term="FEST"/><category term="FLAT"/><category term="FTP"/><category term="Flash News"/><category term="GMAIL"/><category term="GRE Online"/><category term="GRE prep"/><category term="Good marks"/><category term="IDS"/><category term="Indian Polity"/><category term="Info"/><category term="JNTUH"/><category term="JNTUH exam cell"/><category term="Journals"/><category term="Labs"/><category term="Laptop"/><category term="M.Tech"/><category term="MATLAB"/><category term="Martial"/><category term="Maths TET"/><category term="Mtech"/><category term="NCERT"/><category term="NPTEL"/><category term="Novels"/><category term="OSI"/><category term="Objective"/><category term="PSD"/><category term="PhD"/><category term="RSA"/><category term="Res"/><category term="Research"/><category term="SDE"/><category term="SQA"/><category term="SQL"/><category term="SSL"/><category term="SWSN"/><category term="Scolarship"/><category term="Sem"/><category term="Social net"/><category term="Students Counter"/><category term="Study Tech"/><category term="TOWER"/><category term="Talktime"/><category term="TesTinG"/><category term="Toll free"/><category term="Widgets"/><category term="jntu mid I"/><category term="networking"/><category term="w3"/><title type='text'>GNIT Students E- Learning Point</title><subtitle type='html'>You can emulate US for a passion for acquiring new knowledge, and disseminate it to as many as you can.&#xa;&#xa;You have great potential. Work with dedication and get ready for the challenges of your career!!!&#xa;&#xa;Dedicated to- Our students,  who are bringing glory to us and our Faculty.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://imraan-prrec.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5822823688987998362/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://imraan-prrec.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/5822823688987998362/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Imraan</name><uri>http://www.blogger.com/profile/13029977933710149084</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>1524</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5822823688987998362.post-3338337834914613380</id><published>2019-10-07T19:44:00.001+05:30</published><updated>2019-10-07T19:44:28.025+05:30</updated><title type='text'> C program for pyramid</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;h2 id=&quot;logic&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: white; box-sizing: border-box; clear: both; color: #121213; font-family: Bitter, Georgia, serif; font-size: 30px; line-height: 1.3; margin: 40px 0px 10px; overflow: hidden;&quot;&gt;Logic to print pyramid star pattern&lt;span class=&quot;ezoic-adpicker-ad&quot; id=&quot;ezoic-pub-ad-placeholder-132&quot; style=&quot;-webkit-font-smoothing: antialiased; box-sizing: border-box;&quot;&gt;&lt;/span&gt;&lt;/h2&gt;&lt;div class=&quot;star-patterns&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: white; box-sizing: border-box; display: inline-block !important; font-family: &amp;quot;Source Sans Pro&amp;quot;, Helvetica, sans-serif; font-size: 16px; text-align: justify; width: auto;&quot;&gt;&lt;div style=&quot;-webkit-font-smoothing: antialiased; box-sizing: border-box; overflow-x: hidden;&quot;&gt;&lt;/div&gt;&lt;pre style=&quot;-webkit-font-smoothing: antialiased; background: transparent; box-sizing: border-box; display: inline-block; font-family: Consolas, monospace; font-size: 14px; hyphens: none; letter-spacing: 1px; overflow-wrap: break-word; overflow: auto; padding: 10px; text-align: left; white-space: pre-wrap;&quot;&gt;    *&lt;br /&gt;   ***&lt;br /&gt;  *****&lt;br /&gt; *******&lt;br /&gt;*********&lt;/pre&gt;&lt;div style=&quot;-webkit-font-smoothing: antialiased; box-sizing: border-box; margin-top: -10px; overflow-x: hidden;&quot;&gt;&lt;a href=&quot;https://www.blogger.com/null&quot; style=&quot;-webkit-font-smoothing: antialiased; box-sizing: border-box; color: #0054d4; display: block !important; margin: 0px; padding: 0px; width: auto;&quot;&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;-webkit-font-smoothing: antialiased; background-color: white; box-sizing: border-box; color: #121213; font-family: &amp;quot;Source Sans Pro&amp;quot;, Helvetica, sans-serif; font-size: 16px; overflow-x: hidden; text-align: justify;&quot;&gt;&lt;span class=&quot;ezoic-adpicker-ad&quot; id=&quot;ezoic-pub-ad-placeholder-118&quot; style=&quot;-webkit-font-smoothing: antialiased; box-sizing: border-box;&quot;&gt;&lt;/span&gt;Before you read further have a close look at the above pattern. The pattern consists of&amp;nbsp;&lt;var style=&quot;-webkit-font-smoothing: antialiased; background-color: #eaeaea; border-radius: 1px; box-sizing: border-box; display: inline-block; font-family: Consolas, monospace; font-size: 14.4px; font-style: normal; margin: 3px; padding: 0px 4px;&quot;&gt;N&lt;/var&gt;&amp;nbsp;(for this case 5) rows. Each row contain exactly&amp;nbsp;&lt;code style=&quot;-webkit-font-smoothing: antialiased; background-color: #eaeaea; border-radius: 1px; box-sizing: border-box; display: inline-block; font-family: Consolas, monospace; font-size: 14.4px; hyphens: none; margin: 3px; padding: 0px 4px;&quot;&gt;2 * N - 1&lt;/code&gt;&amp;nbsp;stars. In addition to stars the pattern has leading spaces. Each row contain&amp;nbsp;&lt;code style=&quot;-webkit-font-smoothing: antialiased; background-color: #eaeaea; border-radius: 1px; box-sizing: border-box; display: inline-block; font-family: Consolas, monospace; font-size: 14.4px; hyphens: none; margin: 3px; padding: 0px 4px;&quot;&gt;N - i&lt;/code&gt;&amp;nbsp;spaces (where&amp;nbsp;&lt;var style=&quot;-webkit-font-smoothing: antialiased; background-color: #eaeaea; border-radius: 1px; box-sizing: border-box; display: inline-block; font-family: Consolas, monospace; font-size: 14.4px; font-style: normal; margin: 3px; padding: 0px 4px;&quot;&gt;i&lt;/var&gt;&amp;nbsp;is current row number). To count total spaces per row point your mouse over the above pattern.&lt;/div&gt;&lt;div style=&quot;-webkit-font-smoothing: antialiased; background-color: white; box-sizing: border-box; color: #121213; font-family: &amp;quot;Source Sans Pro&amp;quot;, Helvetica, sans-serif; font-size: 16px; overflow-x: hidden; text-align: justify;&quot;&gt;Step by step descriptive logic to print Pyramid star pattern.&lt;/div&gt;&lt;ol style=&quot;-webkit-font-smoothing: antialiased; background-color: white; box-sizing: border-box; color: #121213; font-family: &amp;quot;Source Sans Pro&amp;quot;, Helvetica, sans-serif; font-size: 16px; margin: 16px 0px; padding: 0px 0px 0px 40px; text-align: justify;&quot;&gt;&lt;li style=&quot;-webkit-font-smoothing: antialiased; box-sizing: border-box; margin: 5px 0px;&quot;&gt;Input number of rows to print from user. Store it in a variable say&amp;nbsp;&lt;var style=&quot;-webkit-font-smoothing: antialiased; background-color: #eaeaea; border-radius: 1px; box-sizing: border-box; display: inline-block; font-family: Consolas, monospace; font-size: 14.4px; font-style: normal; margin: 3px; padding: 0px 4px;&quot;&gt;rows&lt;/var&gt;.&lt;/li&gt;&lt;li style=&quot;-webkit-font-smoothing: antialiased; box-sizing: border-box; margin: 5px 0px;&quot;&gt;To iterate through rows, run an outer loop from 1 to&amp;nbsp;&lt;var style=&quot;-webkit-font-smoothing: antialiased; background-color: #eaeaea; border-radius: 1px; box-sizing: border-box; display: inline-block; font-family: Consolas, monospace; font-size: 14.4px; font-style: normal; margin: 3px; padding: 0px 4px;&quot;&gt;rows&lt;/var&gt;. The loop structure should look like&amp;nbsp;&lt;code style=&quot;-webkit-font-smoothing: antialiased; background-color: #eaeaea; border-radius: 1px; box-sizing: border-box; display: inline-block; font-family: Consolas, monospace; font-size: 14.4px; hyphens: none; margin: 3px; padding: 0px 4px;&quot;&gt;for(i=1; i&amp;lt;=rows; i++)&lt;/code&gt;.&lt;/li&gt;&lt;li style=&quot;-webkit-font-smoothing: antialiased; box-sizing: border-box; margin: 5px 0px;&quot;&gt;To print spaces, run an inner loop from&amp;nbsp;&lt;var style=&quot;-webkit-font-smoothing: antialiased; background-color: #eaeaea; border-radius: 1px; box-sizing: border-box; display: inline-block; font-family: Consolas, monospace; font-size: 14.4px; font-style: normal; margin: 3px; padding: 0px 4px;&quot;&gt;i&lt;/var&gt;&amp;nbsp;to&amp;nbsp;&lt;code style=&quot;-webkit-font-smoothing: antialiased; background-color: #eaeaea; border-radius: 1px; box-sizing: border-box; display: inline-block; font-family: Consolas, monospace; font-size: 14.4px; hyphens: none; margin: 3px; padding: 0px 4px;&quot;&gt;rows - 1&lt;/code&gt;. The loop structure should look like&amp;nbsp;&lt;code style=&quot;-webkit-font-smoothing: antialiased; background-color: #eaeaea; border-radius: 1px; box-sizing: border-box; display: inline-block; font-family: Consolas, monospace; font-size: 14.4px; hyphens: none; margin: 3px; padding: 0px 4px;&quot;&gt;for(j=i; j&amp;lt;rows; j++)&lt;/code&gt;. Inside this loop print single space.&lt;div style=&quot;-webkit-font-smoothing: antialiased; box-sizing: border-box; overflow-x: hidden;&quot;&gt;&lt;span style=&quot;-webkit-font-smoothing: antialiased; box-sizing: border-box; font-weight: 700;&quot;&gt;Note:&lt;/span&gt;&amp;nbsp;Iterating from 1 to&amp;nbsp;&lt;code style=&quot;-webkit-font-smoothing: antialiased; background-color: #eaeaea; border-radius: 1px; box-sizing: border-box; display: inline-block; font-family: Consolas, monospace; font-size: 14.4px; hyphens: none; margin: 3px; padding: 0px 4px;&quot;&gt;N - i&lt;/code&gt;&amp;nbsp;or&amp;nbsp;&lt;var style=&quot;-webkit-font-smoothing: antialiased; background-color: #eaeaea; border-radius: 1px; box-sizing: border-box; display: inline-block; font-family: Consolas, monospace; font-size: 14.4px; font-style: normal; margin: 3px; padding: 0px 4px;&quot;&gt;i&lt;/var&gt;&amp;nbsp;to&amp;nbsp;&lt;code style=&quot;-webkit-font-smoothing: antialiased; background-color: #eaeaea; border-radius: 1px; box-sizing: border-box; display: inline-block; font-family: Consolas, monospace; font-size: 14.4px; hyphens: none; margin: 3px; padding: 0px 4px;&quot;&gt;rows - 1&lt;/code&gt;&amp;nbsp;both are equal.&lt;/div&gt;&lt;/li&gt;&lt;li style=&quot;-webkit-font-smoothing: antialiased; box-sizing: border-box; margin: 5px 0px;&quot;&gt;To print star, run another inner loop from 1 to&amp;nbsp;&lt;code style=&quot;-webkit-font-smoothing: antialiased; background-color: #eaeaea; border-radius: 1px; box-sizing: border-box; display: inline-block; font-family: Consolas, monospace; font-size: 14.4px; hyphens: none; margin: 3px; padding: 0px 4px;&quot;&gt;2 * i - 1&lt;/code&gt;. The loop structure should look like&amp;nbsp;&lt;code style=&quot;-webkit-font-smoothing: antialiased; background-color: #eaeaea; border-radius: 1px; box-sizing: border-box; display: inline-block; font-family: Consolas, monospace; font-size: 14.4px; hyphens: none; margin: 3px; padding: 0px 4px;&quot;&gt;for(j=1; j&amp;lt;=(2*i - 1); j++)&lt;/code&gt;. Inside this loop print star.&lt;/li&gt;&lt;li style=&quot;-webkit-font-smoothing: antialiased; box-sizing: border-box; margin: 5px 0px;&quot;&gt;After printing stars for current row, move to next line i.e. print new line.&lt;span class=&quot;ezoic-adpicker-ad&quot; id=&quot;ezoic-pub-ad-placeholder-137&quot; style=&quot;-webkit-font-smoothing: antialiased; box-sizing: border-box;&quot;&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;h2 id=&quot;program&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: white; box-sizing: border-box; clear: both; color: #121213; font-family: Bitter, Georgia, serif; line-height: 1.3; margin: 40px 0px 10px; overflow: hidden;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Program to print pyramid star pattern series&lt;/span&gt;&lt;/h2&gt;&lt;div&gt;&lt;span class=&quot;token comment&quot; spellcheck=&quot;true&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; color: rgb(155, 160, 165) !important; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;/**  * C program to print equilateral triangle or pyramid star pattern  */&lt;/span&gt;&lt;span style=&quot;background-color: #f5f2f0; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;token macro property&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; color: #990055; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;#&lt;span class=&quot;token directive keyword&quot; style=&quot;-webkit-font-smoothing: antialiased; box-sizing: border-box; color: rgb(0, 0, 255) !important;&quot;&gt;include&lt;/span&gt; &lt;span class=&quot;token string&quot; style=&quot;-webkit-font-smoothing: antialiased; box-sizing: border-box; color: maroon !important;&quot;&gt;&amp;lt;stdio.h&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #f5f2f0; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;token keyword&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; color: rgb(0, 0, 255) !important; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;background-color: #f5f2f0; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;token function&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; color: #dd4a68; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;main&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;background-color: #f5f2f0; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;background-color: #f5f2f0; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;token keyword&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; color: rgb(0, 0, 255) !important; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;background-color: #f5f2f0; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt; i&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;background-color: #f5f2f0; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt; j&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;background-color: #f5f2f0; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt; rows&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;;&lt;/span&gt;&lt;span style=&quot;background-color: #f5f2f0; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;     &lt;/span&gt;&lt;span class=&quot;token comment&quot; spellcheck=&quot;true&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; color: rgb(155, 160, 165) !important; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;/* Input number of rows to print */&lt;/span&gt;&lt;span style=&quot;background-color: #f5f2f0; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;token function&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; color: #dd4a68; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;printf&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;token string&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; color: maroon !important; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;&quot;Enter number of rows : &quot;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;;&lt;/span&gt;&lt;span style=&quot;background-color: #f5f2f0; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;token function&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; color: #dd4a68; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;scanf&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;token string&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; color: maroon !important; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;&quot;%d&quot;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;background-color: #f5f2f0; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;token operator&quot; style=&quot;-webkit-font-smoothing: antialiased; background-attachment: initial !important; background-clip: initial !important; background-color: #f5f2f0; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; box-sizing: border-box; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;&amp;amp;&lt;/span&gt;&lt;span style=&quot;background-color: #f5f2f0; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;rows&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;;&lt;/span&gt;&lt;span style=&quot;background-color: #f5f2f0; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;     &lt;/span&gt;&lt;span class=&quot;token comment&quot; spellcheck=&quot;true&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; color: rgb(155, 160, 165) !important; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;/* Iterate through rows */&lt;/span&gt;&lt;span style=&quot;background-color: #f5f2f0; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;token keyword&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; color: rgb(0, 0, 255) !important; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;for&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;background-color: #f5f2f0; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;token operator&quot; style=&quot;-webkit-font-smoothing: antialiased; background-attachment: initial !important; background-clip: initial !important; background-color: #f5f2f0; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; box-sizing: border-box; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token number&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; color: #990055; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;;&lt;/span&gt;&lt;span style=&quot;background-color: #f5f2f0; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt; i&lt;/span&gt;&lt;span class=&quot;token operator&quot; style=&quot;-webkit-font-smoothing: antialiased; background-attachment: initial !important; background-clip: initial !important; background-color: #f5f2f0; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; box-sizing: border-box; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;&amp;lt;=&lt;/span&gt;&lt;span style=&quot;background-color: #f5f2f0; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;rows&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;;&lt;/span&gt;&lt;span style=&quot;background-color: #f5f2f0; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt; i&lt;/span&gt;&lt;span class=&quot;token operator&quot; style=&quot;-webkit-font-smoothing: antialiased; background-attachment: initial !important; background-clip: initial !important; background-color: #f5f2f0; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; box-sizing: border-box; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;++&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;background-color: #f5f2f0; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;background-color: #f5f2f0; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;          &lt;/span&gt;&lt;span class=&quot;token comment&quot; spellcheck=&quot;true&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; color: rgb(155, 160, 165) !important; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;/* Print leading spaces */&lt;/span&gt;&lt;span style=&quot;background-color: #f5f2f0; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;        &lt;/span&gt;&lt;span class=&quot;token keyword&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; color: rgb(0, 0, 255) !important; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;for&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;background-color: #f5f2f0; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;j&lt;/span&gt;&lt;span class=&quot;token operator&quot; style=&quot;-webkit-font-smoothing: antialiased; background-attachment: initial !important; background-clip: initial !important; background-color: #f5f2f0; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; box-sizing: border-box; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: #f5f2f0; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;;&lt;/span&gt;&lt;span style=&quot;background-color: #f5f2f0; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt; j&lt;/span&gt;&lt;span class=&quot;token operator&quot; style=&quot;-webkit-font-smoothing: antialiased; background-attachment: initial !important; background-clip: initial !important; background-color: #f5f2f0; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; box-sizing: border-box; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background-color: #f5f2f0; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;rows&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;;&lt;/span&gt;&lt;span style=&quot;background-color: #f5f2f0; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt; j&lt;/span&gt;&lt;span class=&quot;token operator&quot; style=&quot;-webkit-font-smoothing: antialiased; background-attachment: initial !important; background-clip: initial !important; background-color: #f5f2f0; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; box-sizing: border-box; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;++&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;background-color: #f5f2f0; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;        &lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;background-color: #f5f2f0; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;            &lt;/span&gt;&lt;span class=&quot;token function&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; color: #dd4a68; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;printf&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;token string&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; color: maroon !important; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;&quot; &quot;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;;&lt;/span&gt;&lt;span style=&quot;background-color: #f5f2f0; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;        &lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;background-color: #f5f2f0; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;         &lt;/span&gt;&lt;span class=&quot;token comment&quot; spellcheck=&quot;true&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; color: rgb(155, 160, 165) !important; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;/* Print star */&lt;/span&gt;&lt;span style=&quot;background-color: #f5f2f0; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;        &lt;/span&gt;&lt;span class=&quot;token keyword&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; color: rgb(0, 0, 255) !important; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;for&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;background-color: #f5f2f0; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;j&lt;/span&gt;&lt;span class=&quot;token operator&quot; style=&quot;-webkit-font-smoothing: antialiased; background-attachment: initial !important; background-clip: initial !important; background-color: #f5f2f0; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; box-sizing: border-box; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token number&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; color: #990055; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;;&lt;/span&gt;&lt;span style=&quot;background-color: #f5f2f0; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt; j&lt;/span&gt;&lt;span class=&quot;token operator&quot; style=&quot;-webkit-font-smoothing: antialiased; background-attachment: initial !important; background-clip: initial !important; background-color: #f5f2f0; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; box-sizing: border-box; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;&amp;lt;=&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;token number&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; color: #990055; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;token operator&quot; style=&quot;-webkit-font-smoothing: antialiased; background-attachment: initial !important; background-clip: initial !important; background-color: #f5f2f0; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; box-sizing: border-box; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;*&lt;/span&gt;&lt;span style=&quot;background-color: #f5f2f0; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;token number&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; color: #990055; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;-1&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;;&lt;/span&gt;&lt;span style=&quot;background-color: #f5f2f0; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt; j&lt;/span&gt;&lt;span class=&quot;token operator&quot; style=&quot;-webkit-font-smoothing: antialiased; background-attachment: initial !important; background-clip: initial !important; background-color: #f5f2f0; background-image: initial !important; background-origin: initial !important; background-position: 0px 0px !important; background-repeat: initial !important; background-size: initial !important; box-sizing: border-box; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;++&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;background-color: #f5f2f0; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;        &lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;background-color: #f5f2f0; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;            &lt;/span&gt;&lt;span class=&quot;token function&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; color: #dd4a68; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;printf&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;token string&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; color: maroon !important; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;&quot;*&quot;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;;&lt;/span&gt;&lt;span style=&quot;background-color: #f5f2f0; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;        &lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;background-color: #f5f2f0; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;         &lt;/span&gt;&lt;span class=&quot;token comment&quot; spellcheck=&quot;true&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; color: rgb(155, 160, 165) !important; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;/* Move to next line */&lt;/span&gt;&lt;span style=&quot;background-color: #f5f2f0; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;        &lt;/span&gt;&lt;span class=&quot;token function&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; color: #dd4a68; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;printf&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;token string&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; color: maroon !important; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;&quot;\n&quot;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;;&lt;/span&gt;&lt;span style=&quot;background-color: #f5f2f0; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;background-color: #f5f2f0; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;     &lt;/span&gt;&lt;span class=&quot;token keyword&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; color: rgb(0, 0, 255) !important; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;return&lt;/span&gt;&lt;span style=&quot;background-color: #f5f2f0; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;token number&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; color: #990055; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;;&lt;/span&gt;&lt;span style=&quot;background-color: #f5f2f0; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #f5f2f0; box-sizing: border-box; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-HK1JxwJL8EI/XZtIMh5DIFI/AAAAAAAAAt8/PdxTiQ3WVdEJNFEKgNXNOxJ0dfrWJf7-ACLcBGAsYHQ/s1600/pyramid.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;554&quot; data-original-width=&quot;1026&quot; height=&quot;172&quot; src=&quot;https://1.bp.blogspot.com/-HK1JxwJL8EI/XZtIMh5DIFI/AAAAAAAAAt8/PdxTiQ3WVdEJNFEKgNXNOxJ0dfrWJf7-ACLcBGAsYHQ/s320/pyramid.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imraan-prrec.blogspot.com/feeds/3338337834914613380/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://imraan-prrec.blogspot.com/2019/10/c-program-for-pyramid.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5822823688987998362/posts/default/3338337834914613380'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5822823688987998362/posts/default/3338337834914613380'/><link rel='alternate' type='text/html' href='http://imraan-prrec.blogspot.com/2019/10/c-program-for-pyramid.html' title=' C program for pyramid'/><author><name>Imraan</name><uri>http://www.blogger.com/profile/13029977933710149084</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://1.bp.blogspot.com/-HK1JxwJL8EI/XZtIMh5DIFI/AAAAAAAAAt8/PdxTiQ3WVdEJNFEKgNXNOxJ0dfrWJf7-ACLcBGAsYHQ/s72-c/pyramid.jpg" height="72" width="72"/><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-5822823688987998362.post-4950768707533001666</id><published>2019-09-24T16:02:00.003+05:30</published><updated>2019-09-24T16:02:20.200+05:30</updated><title type='text'>Knowledge bank</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;h3 class=&quot;post-title entry-title&quot; itemprop=&quot;name&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 18px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: normal; line-height: normal; margin: 0px; position: relative;&quot;&gt;&lt;span style=&quot;color: purple; font-size: 13px; text-transform: uppercase;&quot;&gt;CHARGE YOUR SMARTPHONE BY MAKING THIS COOL WIND TURBINE USING A COMPUTER FAN&lt;/span&gt;&lt;/h3&gt;&lt;div class=&quot;post-body entry-content&quot; id=&quot;post-body-2165706996844940183&quot; itemprop=&quot;description articleBody&quot; style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 1.4; position: relative; width: 578px;&quot;&gt;&lt;div dir=&quot;ltr&quot; trbidi=&quot;on&quot;&gt;&lt;div&gt;for details:&lt;a href=&quot;http://wonderfulengineering.com/charge-your-smartphone-by-making-this-cool-wind-turbine-using-a-computer-fan/&quot; style=&quot;color: black; text-decoration-line: none;&quot;&gt;Click here&lt;/a&gt;&lt;/div&gt;&lt;h2 class=&quot;hP&quot; id=&quot;:k8&quot; style=&quot;color: #474747; font-size: 13px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0.5em 0px; position: relative; text-transform: uppercase;&quot; tabindex=&quot;-1&quot;&gt;&lt;span style=&quot;color: purple;&quot;&gt;26 INNOVATIVE IDEAS GIVEN BY SCHOOL CHILDREN.&lt;/span&gt;&lt;/h2&gt;&lt;div&gt;for details:&lt;a href=&quot;http://www.thebetterindia.com/11596/ignite-innovations/&quot; style=&quot;color: black; text-decoration-line: none;&quot;&gt;Click here&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-family: arial, sans-serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: purple; font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;b style=&quot;font-family: arial, sans-serif;&quot;&gt;&lt;span style=&quot;color: purple; font-size: medium;&quot;&gt;Google unveils &#39;computer-on-a-stick&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;font-family: arial, sans-serif;&quot;&gt;for details:&lt;/span&gt;&lt;a href=&quot;http://m.timesofindia.com/tech/pcs/Google-unveils-computer-on-a-stick/articleshow/46766124.cms&quot; style=&quot;color: black; text-decoration-line: none;&quot;&gt;Click here&lt;/a&gt;&lt;br /&gt;&lt;span style=&quot;color: purple; font-family: arial, sans-serif; font-size: medium;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: purple; font-family: arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;Art-ificial Intelligence? Algorithm Sorts Paintings Like a Person&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;font-family: arial, sans-serif;&quot;&gt;for details:&lt;/span&gt;&lt;a href=&quot;http://www.livescience.com/51277-artificial-intelligence-program-sorts-paintings.html&quot; style=&quot;color: black; text-decoration-line: none;&quot;&gt;Click here&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: arial, sans-serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: purple; font-size: medium;&quot;&gt;High-Tech &#39;Smart&#39; Cane Helps Blind People Recognize Faces&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: arial, sans-serif;&quot;&gt;for details:&lt;/span&gt;&lt;a href=&quot;http://www.livescience.com/50796-smart-cane-recognizes-faces.html&quot; style=&quot;color: black; text-decoration-line: none;&quot;&gt;Click here&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: arial, sans-serif;&quot;&gt;&lt;span style=&quot;color: purple; font-size: medium;&quot;&gt;&lt;b&gt;Pocket-Size Drone Can Fold Up Like Origami&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: arial, sans-serif;&quot;&gt;for details:&lt;/span&gt;&lt;a href=&quot;http://www.livescience.com/50866-tiny-foldable-drone.html&quot; style=&quot;color: black; text-decoration-line: none;&quot;&gt;Click here&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: arial, sans-serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: purple; font-size: medium;&quot;&gt;Over-Unity Reaction less Generator Invented In India&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: arial, sans-serif;&quot;&gt;for details:&lt;/span&gt;&lt;a href=&quot;http://www.collective-evolution.com/2015/04/15/breaking-news-over-unity-reactionless-generator-invented-in-india/&quot; style=&quot;color: black; text-decoration-line: none;&quot;&gt;Click here&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: arial, sans-serif;&quot;&gt;&lt;span style=&quot;color: purple; font-size: medium;&quot;&gt;&lt;b&gt;Save the internet(net neutrality)&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: arial, sans-serif;&quot;&gt;for details:&lt;/span&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=rz4Ej3IVefo%20or%20https://www.youtube.com/watch?v=mfY1NKrzqi0&quot; style=&quot;color: black; text-decoration-line: none;&quot;&gt;Click here&lt;/a&gt;&lt;/div&gt;&lt;h2 class=&quot;hP&quot; id=&quot;:u0&quot; style=&quot;color: #474747; font-size: 13px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0.5em 0px; position: relative; text-transform: uppercase;&quot; tabindex=&quot;-1&quot;&gt;&lt;span style=&quot;font-family: arial, sans-serif;&quot;&gt;&lt;span style=&quot;color: purple; font-size: medium;&quot;&gt;5 WAYS THE NEXT 10 YEARS ARE GOING TO BLOW YOUR MIND&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: arial, sans-serif; font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;FOR DETAILS:&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small; font-weight: normal;&quot;&gt;&lt;a href=&quot;http://thespiritscience.net/2015/04/09/5-ways-the-next-10-years-are-going-to-blow-your-mind/&quot; style=&quot;color: black; text-decoration-line: none;&quot;&gt;CLICK HERE&lt;/a&gt;&lt;/span&gt;&lt;/h2&gt;&lt;h2 class=&quot;hP&quot; id=&quot;:u0&quot; style=&quot;color: #474747; font-size: 13px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0.5em 0px; position: relative; text-transform: uppercase;&quot; tabindex=&quot;-1&quot;&gt;&lt;span style=&quot;font-family: arial, sans-serif;&quot;&gt;&lt;span style=&quot;color: purple; font-size: medium;&quot;&gt;10TB SOLID STATE DRIVES MAY SOON BE POSSIBLE&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;FOR DETAILS:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small; font-weight: normal;&quot;&gt;&lt;a href=&quot;http://www.futuretimeline.net/blog/2015/03/28.htm#.VSfN6CO6Ywg&quot; style=&quot;color: black; text-decoration-line: none;&quot;&gt;CLICK HERE&lt;/a&gt;&lt;/span&gt;&lt;/h2&gt;&lt;h2 class=&quot;hP&quot; id=&quot;:u0&quot; style=&quot;color: #474747; font-size: 13px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0.5em 0px; position: relative; text-transform: uppercase;&quot; tabindex=&quot;-1&quot;&gt;&lt;span style=&quot;font-family: arial, sans-serif;&quot;&gt;&lt;span style=&quot;color: purple; font-size: medium;&quot;&gt;GARMIN VIVO ACTIVE : GPS WATCH REVIEW&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;FOR DETAILS:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small; font-weight: normal;&quot;&gt;&lt;a href=&quot;http://www.livescience.com/50428-garmin-vivoactive-review.html&quot; style=&quot;color: black; text-decoration-line: none;&quot;&gt;CLICK HERE&lt;/a&gt;&lt;/span&gt;&lt;/h2&gt;&lt;h2 class=&quot;hP&quot; id=&quot;:u0&quot; style=&quot;color: #474747; font-size: 13px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0.5em 0px; position: relative; text-transform: uppercase;&quot; tabindex=&quot;-1&quot;&gt;&lt;span style=&quot;font-family: arial, sans-serif;&quot;&gt;&lt;span style=&quot;color: purple; font-size: medium;&quot;&gt;THE WORLD&#39;S MOST POWERFUL ATOM SMASHER RESTARTS WITH A BIG BANG&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;FOR DETAILS:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small; font-weight: normal;&quot;&gt;&lt;a href=&quot;http://m.livescience.com/50383-lhc-atom-smasher-restarts.html&quot; style=&quot;color: black; text-decoration-line: none;&quot;&gt;CLICK HERE&lt;/a&gt;&lt;/span&gt;&lt;/h2&gt;&lt;h2 class=&quot;hP&quot; id=&quot;:u0&quot; style=&quot;color: #474747; font-size: 13px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0.5em 0px; position: relative; text-transform: uppercase;&quot; tabindex=&quot;-1&quot;&gt;&lt;span style=&quot;font-family: arial, sans-serif;&quot;&gt;&lt;span style=&quot;color: purple; font-size: medium;&quot;&gt;SALARY OF GOOGLE&#39;S NEW CFO PORAT REVEALED&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;FOR DETAILS:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href=&quot;http://m.timesofindia.com/tech/tech-news/Salary-of-Googles-new-CFO-Porat-revealed/articleshow/46713358.cms&quot; style=&quot;color: black; font-weight: normal; text-decoration-line: none;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;CLICK HERE&lt;/span&gt;&lt;/a&gt;&lt;/h2&gt;&lt;h2 class=&quot;hP&quot; id=&quot;:u0&quot; style=&quot;color: #474747; font-size: 13px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0.5em 0px; position: relative; text-transform: uppercase;&quot; tabindex=&quot;-1&quot;&gt;&lt;span style=&quot;color: purple;&quot;&gt;A CHAT WITH DR NARESH ,TREHAN, (HEART SPECIALIST) AT MEDANTA-&quot;THE MEDICITY&quot; GURGAON &amp;nbsp;ARRANGED BY WIPRO FOR ITS EMPLOYEES.&lt;/span&gt;&lt;/h2&gt;&lt;div&gt;for details:&lt;a href=&quot;https://drive.google.com/file/d/0B0Iu53N1FUy2ekhzNW9mWFE4TW8/view?usp=sharing&quot; style=&quot;color: black; text-decoration-line: none;&quot;&gt;Click here&lt;/a&gt;&lt;/div&gt;&lt;h2 class=&quot;hP&quot; id=&quot;:u0&quot; style=&quot;color: #474747; font-size: 13px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0.5em 0px; position: relative; text-transform: uppercase;&quot; tabindex=&quot;-1&quot;&gt;&lt;span style=&quot;color: purple;&quot;&gt;INDIA INCHES CLOSER TO GETTING ITS OWN GPS&lt;/span&gt;&lt;/h2&gt;&lt;div&gt;for details:&lt;a href=&quot;http://www.skymetweather.com/content/weather-news-and-analysis/india-inches-closer-to-getting-its-own-gps/&quot; style=&quot;color: black; text-decoration-line: none;&quot;&gt;Click here&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;h2 class=&quot;hP&quot; id=&quot;:w9&quot; style=&quot;color: #474747; font-size: 13px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0.5em 0px; position: relative; text-transform: uppercase;&quot; tabindex=&quot;-1&quot;&gt;&lt;span style=&quot;color: purple;&quot;&gt;INDIAN NAVIGATION SYSTEM GETS EXPANSION WITH PSLV LAUNCH&lt;/span&gt;&lt;/h2&gt;&lt;div&gt;for details:&lt;a href=&quot;http://spaceflightnow.com/2015/03/29/indian-navigation-system-gets-expansion-with-pslv-launch/&quot; style=&quot;color: black; text-decoration-line: none;&quot;&gt;Click here&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;h2 class=&quot;hP&quot; id=&quot;:vz&quot; style=&quot;color: #474747; font-size: 13px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0.5em 0px; position: relative; text-transform: uppercase;&quot; tabindex=&quot;-1&quot;&gt;&lt;span style=&quot;color: purple;&quot;&gt;MIO FUSE: FITNESS TRACKER&lt;/span&gt;&lt;/h2&gt;&lt;div&gt;&lt;span style=&quot;color: purple;&quot;&gt;for details:&lt;/span&gt;&lt;a href=&quot;http://www.livescience.com/50303-mio-fuse-fitness-tracker-review.html&quot; style=&quot;color: black; text-decoration-line: none;&quot;&gt;Click here&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;h2 class=&quot;hP&quot; id=&quot;:u8&quot; style=&quot;color: #474747; font-size: 13px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0.5em 0px; position: relative; text-transform: uppercase;&quot; tabindex=&quot;-1&quot;&gt;&lt;span style=&quot;color: purple;&quot;&gt;VIRTUAL-REALITY HEADSETS&lt;/span&gt;&lt;/h2&gt;&lt;div&gt;&lt;span style=&quot;color: purple;&quot;&gt;for details:&lt;/span&gt;&lt;a href=&quot;http://m.livescience.com/50129-virtual-reality-nausea-sickness.html&quot; style=&quot;color: black; text-decoration-line: none;&quot;&gt;Click here&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;h2 class=&quot;hP&quot; id=&quot;:nb&quot; style=&quot;color: #474747; font-size: 13px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0.5em 0px; position: relative; text-transform: uppercase;&quot; tabindex=&quot;-1&quot;&gt;&lt;span style=&quot;color: purple; font-family: arial, sans-serif; font-size: 17.6px;&quot;&gt;SECURE MOBILE FINGERPRINT IDENTIFICATION SYSTEM&lt;/span&gt;&lt;/h2&gt;&lt;div&gt;&lt;span style=&quot;font-family: arial, sans-serif; font-size: 17.6px;&quot;&gt;for details:&lt;/span&gt;&lt;span style=&quot;color: purple; font-family: arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 17.6px;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/0B0Iu53N1FUy2VE9neVBtSGRLcDQ/view?usp=sharing&quot; style=&quot;color: black; text-decoration-line: none;&quot;&gt;Click here&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;h2 class=&quot;hP&quot; id=&quot;:nb&quot; style=&quot;color: #474747; font-size: 13px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0.5em 0px; position: relative; text-transform: uppercase;&quot; tabindex=&quot;-1&quot;&gt;&lt;span style=&quot;font-family: arial, sans-serif; font-size: 17.6px;&quot;&gt;&lt;span style=&quot;color: purple;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;&lt;h2 class=&quot;hP&quot; id=&quot;:nb&quot; style=&quot;color: #474747; font-size: 13px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0.5em 0px; position: relative; text-transform: uppercase;&quot; tabindex=&quot;-1&quot;&gt;&lt;span style=&quot;color: purple; font-family: arial, sans-serif; font-size: 17.6px;&quot;&gt;THE TOP 50 APPS FOR CREATIVE MINDS&lt;/span&gt;&lt;/h2&gt;&lt;div&gt;&lt;span style=&quot;font-family: arial, sans-serif; font-size: 17.6px;&quot;&gt;for details:&lt;/span&gt;&lt;a href=&quot;http://www.theguardian.com/technology/2015/mar/22/the-top-50-apps-for-creative-minds&quot; style=&quot;color: black; text-decoration-line: none;&quot;&gt;Click here&lt;/a&gt;&lt;/div&gt;&lt;h2 class=&quot;hP&quot; id=&quot;:nb&quot; style=&quot;color: #474747; font-size: 13px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0.5em 0px; position: relative; text-transform: uppercase;&quot; tabindex=&quot;-1&quot;&gt;&lt;span style=&quot;font-family: arial, sans-serif; font-size: 17.6px;&quot;&gt;&lt;span style=&quot;color: purple;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;&lt;h2 class=&quot;hP&quot; id=&quot;:nb&quot; style=&quot;color: #474747; font-size: 13px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0.5em 0px; position: relative; text-transform: uppercase;&quot; tabindex=&quot;-1&quot;&gt;&lt;span style=&quot;color: purple; font-family: arial, sans-serif; font-size: 17.6px;&quot;&gt;FWD: SCI-FI CLOAKING DEVICE COULD PROTECT SOLDIERS FROM SHOCK WAVES&lt;/span&gt;&lt;/h2&gt;&lt;div&gt;&lt;span style=&quot;font-family: arial, sans-serif; font-size: 17.6px;&quot;&gt;for details&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;&lt;/span&gt;&lt;a href=&quot;http://m.livescience.com/50236-boeing-device-could-block-shock-waves.html&quot; style=&quot;color: black; text-decoration-line: none;&quot;&gt;Click here&lt;/a&gt;&lt;/div&gt;&lt;h2 class=&quot;hP&quot; id=&quot;:nb&quot; style=&quot;color: #474747; font-size: 13px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0.5em 0px; position: relative; text-transform: uppercase;&quot; tabindex=&quot;-1&quot;&gt;&lt;span style=&quot;color: purple;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h2&gt;&lt;h2 class=&quot;hP&quot; id=&quot;:nb&quot; style=&quot;color: #474747; font-size: 13px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0.5em 0px; position: relative; text-transform: uppercase;&quot; tabindex=&quot;-1&quot;&gt;&lt;span style=&quot;color: purple;&quot;&gt;A NEW DATA TRANSFER RECORD: 43 TERABITS PER SECOND&lt;/span&gt;&lt;/h2&gt;&lt;h2 class=&quot;hP&quot; id=&quot;:oy&quot; style=&quot;color: #474747; font-size: 13px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0.5em 0px; position: relative; text-transform: uppercase;&quot; tabindex=&quot;-1&quot;&gt;&lt;span class=&quot;J-J5-Ji&quot; id=&quot;:nc&quot;&gt;&lt;table cellpadding=&quot;0&quot; class=&quot;cf hX&quot;&gt;&lt;tbody&gt;&lt;tr class=&quot;hY hM&quot;&gt;&lt;td class=&quot;hT hM&quot;&gt;&lt;/td&gt;&lt;td class=&quot;hU hM&quot; style=&quot;background-color: #dddddd; color: #666666;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;hS hM&quot; style=&quot;background-color: #dddddd;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;hV hM&quot; style=&quot;background-color: #dddddd; color: #666666;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;hW hM&quot;&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr class=&quot;hR&quot;&gt;&lt;td class=&quot;hT hU hM&quot; style=&quot;background-color: #dddddd; color: #666666;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;hU hM&quot; style=&quot;background-color: #dddddd; color: #666666;&quot;&gt;&lt;div class=&quot;hN&quot; name=&quot;^i&quot; role=&quot;button&quot; tabindex=&quot;0&quot; title=&quot;Search for all messages with label Inbox&quot;&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;FOR DETAILS:&lt;a href=&quot;https://drive.google.com/file/d/0B0Iu53N1FUy2ZTNjdGRKS0pNMEE/view?usp=sharing&quot; style=&quot;color: black; text-decoration-line: none;&quot;&gt;CLICK HERE&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;&lt;div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;h2 class=&quot;hP&quot; id=&quot;:p9&quot; style=&quot;color: #474747; font-size: 13px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0.5em 0px; position: relative; text-transform: uppercase;&quot; tabindex=&quot;-1&quot;&gt;&lt;span style=&quot;color: purple;&quot;&gt;INTEL ANNOUNCES THE FIRST 14 NANOMETRE PROCESSOR&lt;/span&gt;&lt;/h2&gt;for details:&lt;a href=&quot;https://drive.google.com/file/d/0B0Iu53N1FUy2TzFBT0NwamY5ZTg/view?usp=sharing&quot; style=&quot;color: black; text-decoration-line: none;&quot;&gt;Click here&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;h2 style=&quot;color: #474747; font-size: 13px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0.5em 0px; position: relative; text-transform: uppercase;&quot;&gt;&lt;span style=&quot;color: purple; font-size: medium;&quot;&gt;SANDISK CRAMS 200 GB INTO THE WORLD&#39;S HIGHEST CAPACITY MICROSD CARD&lt;/span&gt;&lt;/h2&gt;&lt;div&gt;&lt;span class=&quot;J-J5-Ji&quot; id=&quot;:o0&quot;&gt;for details:&lt;a href=&quot;https://drive.google.com/file/d/0B0Iu53N1FUy2QXJyaXR4T0tuZUE/view?usp=sharing&quot; style=&quot;color: black; text-decoration-line: none;&quot;&gt;Click here&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;h2 class=&quot;hP&quot; id=&quot;:oy&quot; style=&quot;color: #474747; font-size: 13px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0.5em 0px; position: relative; text-transform: uppercase;&quot; tabindex=&quot;-1&quot;&gt;&lt;span style=&quot;color: purple;&quot;&gt;SAMSUNG&#39;S NEXT SMARTWATCH MAY COME WITH 8-CORE PROCESSOR&lt;/span&gt;&lt;/h2&gt;&lt;div&gt;for details:&lt;a href=&quot;https://drive.google.com/file/d/0B0Iu53N1FUy2VU5lLWxGVk1hc3M/view?usp=sharing&quot; style=&quot;color: blue; text-decoration-line: none;&quot;&gt;Click here&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imraan-prrec.blogspot.com/feeds/4950768707533001666/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://imraan-prrec.blogspot.com/2019/09/knowledge-bank.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5822823688987998362/posts/default/4950768707533001666'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5822823688987998362/posts/default/4950768707533001666'/><link rel='alternate' type='text/html' href='http://imraan-prrec.blogspot.com/2019/09/knowledge-bank.html' title='Knowledge bank'/><author><name>Imraan</name><uri>http://www.blogger.com/profile/13029977933710149084</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-5822823688987998362.post-7628294359874757348</id><published>2019-09-24T15:51:00.002+05:30</published><updated>2019-09-24T15:54:01.577+05:30</updated><title type='text'></title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span style=&quot;color: #7f6000;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif; font-size: 14.85px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif; font-size: 14.85px;&quot;&gt;FOR DIRECTLY DOWNLOADING THE TEXT BOOKS&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif; font-size: 14.85px;&quot;&gt;&amp;nbsp;:-&lt;/span&gt;&lt;a href=&quot;http://jntuforum.com/text-books/jntu-hyderabad&quot; style=&quot;background-color: white; color: black; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; text-decoration-line: none;&quot;&gt;CLICK HERE&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h2 style=&quot;background-color: white; color: #474747; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0.5em 0px; position: relative; text-transform: uppercase;&quot;&gt;&lt;span style=&quot;color: red; font-size: large;&quot;&gt;&lt;b&gt;&lt;u&gt;NOTES:&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/h2&gt;&lt;span style=&quot;background-color: white; color: red; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif; font-size: medium;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;&lt;u&gt;2-1 SEM NOTES&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;b style=&quot;background-color: white; color: red; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-large;&quot;&gt;&lt;u&gt;&amp;nbsp;&amp;nbsp;&lt;/u&gt;&lt;/b&gt;&lt;b style=&quot;background-color: white; color: red; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;u&gt;&amp;nbsp;&lt;/u&gt;&lt;/b&gt;&lt;b style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-large;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;u&gt;3-1 SEM NOTES&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background-color: white; color: red; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif; font-size: medium;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif; font-size: 14.85px;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: red; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif; font-size: medium;&quot;&gt;&lt;b&gt;ALL SUBJECTS NOTES &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ALL SUBJECTS NOTES&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-color: white; color: red; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif; font-size: medium;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href=&quot;https://drive.google.com/folderview?id=0B--zixiIyq3nWDdneUpHR2ZnQVU&amp;amp;usp=sharing&quot; style=&quot;color: black; text-decoration-line: none;&quot; target=&quot;_blank&quot;&gt;CLICK HERE&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;https://drive.google.com/folderview?id=0B--zixiIyq3neF9qNXVHdDB6Sm8&amp;amp;usp=sharing&quot; style=&quot;color: black; text-decoration-line: none;&quot; target=&quot;_blank&quot;&gt;CLICK HERE&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-color: white; color: red; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif; font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif; font-size: 14.85px;&quot;&gt;&lt;/span&gt;&lt;div style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;***In case of failure while you are opening the material through drive link, kindly please open them using the&amp;nbsp;&lt;i&gt;&lt;u&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;zip Extractor&lt;/span&gt;&lt;/u&gt;&lt;/i&gt;&amp;nbsp; since those are RAR files. You can download the file directly from it.**&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;div style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;helvetica neue&amp;quot;, helvetica, arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 18px;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;***FOR EXTRA INFORMATION REGARDING THE SUBJECTS YOU CAN VISIT ELSDM***&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;color: blue; font-size: medium;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;h2 style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0.5em 0px; position: relative; text-align: center; text-transform: uppercase;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;helvetica neue&amp;quot;, helvetica, arial, sans-serif; font-size: medium; line-height: 18px; text-align: justify;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;WWW.JNTUH-ELSDM.IN&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imraan-prrec.blogspot.com/feeds/7628294359874757348/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://imraan-prrec.blogspot.com/2019/09/blog-post.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5822823688987998362/posts/default/7628294359874757348'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5822823688987998362/posts/default/7628294359874757348'/><link rel='alternate' type='text/html' href='http://imraan-prrec.blogspot.com/2019/09/blog-post.html' title=''/><author><name>Imraan</name><uri>http://www.blogger.com/profile/13029977933710149084</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-5822823688987998362.post-4226885312433787067</id><published>2018-05-19T11:44:00.001+05:30</published><updated>2018-05-19T11:44:58.459+05:30</updated><title type='text'>Guide to Computer Forensics and Investigations Fourth Edition - ppt video online download</title><content type='html'>&lt;a href=&quot;http://slideplayer.com/slide/4541546/#.Wv_A3jvm-sM.blogger&quot;&gt;Guide to Computer Forensics and Investigations Fourth Edition - ppt video online download&lt;/a&gt;</content><link rel="related" href="http://slideplayer.com/slide/4541546/#.Wv_A3jvm-sM.blogger" title="Guide to Computer Forensics and Investigations Fourth Edition - ppt video online download"/><link rel='replies' type='application/atom+xml' href='http://imraan-prrec.blogspot.com/feeds/4226885312433787067/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://imraan-prrec.blogspot.com/2018/05/guide-to-computer-forensics-and_88.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5822823688987998362/posts/default/4226885312433787067'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5822823688987998362/posts/default/4226885312433787067'/><link rel='alternate' type='text/html' href='http://imraan-prrec.blogspot.com/2018/05/guide-to-computer-forensics-and_88.html' title='Guide to Computer Forensics and Investigations Fourth Edition - ppt video online download'/><author><name>Imraan</name><uri>http://www.blogger.com/profile/13029977933710149084</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-5822823688987998362.post-412724530450868927</id><published>2018-05-19T11:38:00.001+05:30</published><updated>2018-05-19T11:38:13.531+05:30</updated><title type='text'>Guide to Computer Forensics and Investigations, Second Edition Chapter 12 Network Forensics. - ppt download</title><content type='html'>&lt;a href=&quot;http://slideplayer.com/slide/8796140/#.Wv-_SYnEw5I.blogger&quot;&gt;Guide to Computer Forensics and Investigations, Second Edition Chapter 12 Network Forensics. - ppt download&lt;/a&gt;</content><link rel="related" href="http://slideplayer.com/slide/8796140/#.Wv-_SYnEw5I.blogger" title="Guide to Computer Forensics and Investigations, Second Edition Chapter 12 Network Forensics. - ppt download"/><link rel='replies' type='application/atom+xml' href='http://imraan-prrec.blogspot.com/feeds/412724530450868927/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://imraan-prrec.blogspot.com/2018/05/guide-to-computer-forensics-and_92.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5822823688987998362/posts/default/412724530450868927'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5822823688987998362/posts/default/412724530450868927'/><link rel='alternate' type='text/html' href='http://imraan-prrec.blogspot.com/2018/05/guide-to-computer-forensics-and_92.html' title='Guide to Computer Forensics and Investigations, Second Edition Chapter 12 Network Forensics. - ppt download'/><author><name>Imraan</name><uri>http://www.blogger.com/profile/13029977933710149084</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-5822823688987998362.post-2853710125236953599</id><published>2018-05-19T11:29:00.001+05:30</published><updated>2018-05-19T11:29:33.498+05:30</updated><title type='text'>Guide to Computer Forensics and Investigations Fourth Edition - ppt video online download</title><content type='html'>&lt;a href=&quot;http://slideplayer.com/slide/4947332/#.Wv-9QOWfN5k.blogger&quot;&gt;Guide to Computer Forensics and Investigations Fourth Edition - ppt video online download&lt;/a&gt;</content><link rel="related" href="http://slideplayer.com/slide/4947332/#.Wv-9QOWfN5k.blogger" title="Guide to Computer Forensics and Investigations Fourth Edition - ppt video online download"/><link rel='replies' type='application/atom+xml' href='http://imraan-prrec.blogspot.com/feeds/2853710125236953599/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://imraan-prrec.blogspot.com/2018/05/guide-to-computer-forensics-and_20.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5822823688987998362/posts/default/2853710125236953599'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5822823688987998362/posts/default/2853710125236953599'/><link rel='alternate' type='text/html' href='http://imraan-prrec.blogspot.com/2018/05/guide-to-computer-forensics-and_20.html' title='Guide to Computer Forensics and Investigations Fourth Edition - ppt video online download'/><author><name>Imraan</name><uri>http://www.blogger.com/profile/13029977933710149084</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-5822823688987998362.post-2411360836366582825</id><published>2018-05-19T11:25:00.001+05:30</published><updated>2018-05-19T11:25:12.309+05:30</updated><title type='text'>Guide to Computer Forensics and Investigations Third Edition Chapter 7 Current Computer Forensics Tools. - ppt download</title><content type='html'>&lt;a href=&quot;http://slideplayer.com/slide/5152552/#.Wv-8PL3_vkk.blogger&quot;&gt;Guide to Computer Forensics and Investigations Third Edition Chapter 7 Current Computer Forensics Tools. - ppt download&lt;/a&gt;</content><link rel="related" href="http://slideplayer.com/slide/5152552/#.Wv-8PL3_vkk.blogger" title="Guide to Computer Forensics and Investigations Third Edition Chapter 7 Current Computer Forensics Tools. - ppt download"/><link rel='replies' type='application/atom+xml' href='http://imraan-prrec.blogspot.com/feeds/2411360836366582825/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://imraan-prrec.blogspot.com/2018/05/guide-to-computer-forensics-and_19.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5822823688987998362/posts/default/2411360836366582825'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5822823688987998362/posts/default/2411360836366582825'/><link rel='alternate' type='text/html' href='http://imraan-prrec.blogspot.com/2018/05/guide-to-computer-forensics-and_19.html' title='Guide to Computer Forensics and Investigations Third Edition Chapter 7 Current Computer Forensics Tools. - ppt download'/><author><name>Imraan</name><uri>http://www.blogger.com/profile/13029977933710149084</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-5822823688987998362.post-3276509169462350962</id><published>2018-05-19T11:22:00.001+05:30</published><updated>2018-05-19T11:22:51.779+05:30</updated><title type='text'>Guide to Computer Forensics and Investigations, Second Edition - ppt video online download</title><content type='html'>&lt;a href=&quot;http://slideplayer.com/slide/5938519/#.Wv-7r3GPAD4.blogger&quot;&gt;Guide to Computer Forensics and Investigations, Second Edition - ppt video online download&lt;/a&gt;</content><link rel="related" href="http://slideplayer.com/slide/5938519/#.Wv-7r3GPAD4.blogger" title="Guide to Computer Forensics and Investigations, Second Edition - ppt video online download"/><link rel='replies' type='application/atom+xml' href='http://imraan-prrec.blogspot.com/feeds/3276509169462350962/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://imraan-prrec.blogspot.com/2018/05/guide-to-computer-forensics-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5822823688987998362/posts/default/3276509169462350962'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5822823688987998362/posts/default/3276509169462350962'/><link rel='alternate' type='text/html' href='http://imraan-prrec.blogspot.com/2018/05/guide-to-computer-forensics-and.html' title='Guide to Computer Forensics and Investigations, Second Edition - ppt video online download'/><author><name>Imraan</name><uri>http://www.blogger.com/profile/13029977933710149084</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-5822823688987998362.post-7761357874698909904</id><published>2018-05-19T11:20:00.001+05:30</published><updated>2018-05-19T11:20:28.652+05:30</updated><title type='text'>Chapter 5 Processing Crime and Incident Scenes Guide to Computer Forensics and Investigations Fourth Edition. - ppt download</title><content type='html'>&lt;a href=&quot;http://slideplayer.com/slide/8685664/#.Wv-7A4vmL7s.blogger&quot;&gt;Chapter 5 Processing Crime and Incident Scenes Guide to Computer Forensics and Investigations Fourth Edition. - ppt download&lt;/a&gt;</content><link rel="related" href="http://slideplayer.com/slide/8685664/#.Wv-7A4vmL7s.blogger" title="Chapter 5 Processing Crime and Incident Scenes Guide to Computer Forensics and Investigations Fourth Edition. - ppt download"/><link rel='replies' type='application/atom+xml' href='http://imraan-prrec.blogspot.com/feeds/7761357874698909904/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://imraan-prrec.blogspot.com/2018/05/chapter-5-processing-crime-and-incident.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5822823688987998362/posts/default/7761357874698909904'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5822823688987998362/posts/default/7761357874698909904'/><link rel='alternate' type='text/html' href='http://imraan-prrec.blogspot.com/2018/05/chapter-5-processing-crime-and-incident.html' title='Chapter 5 Processing Crime and Incident Scenes Guide to Computer Forensics and Investigations Fourth Edition. - ppt download'/><author><name>Imraan</name><uri>http://www.blogger.com/profile/13029977933710149084</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-5822823688987998362.post-7883675784048936603</id><published>2018-05-16T13:35:00.000+05:30</published><updated>2018-05-16T13:35:10.518+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Cyberz"/><title type='text'>Ransomeware</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;byline&quot; style=&quot;background-color: white; font-family: Roboto-regular, arial, sans-serif; font-size: 0.8125rem; letter-spacing: 0.7px; line-height: 21px; margin-bottom: 10px; text-transform: uppercase;&quot;&gt;&lt;address style=&quot;display: inline; font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: 700;&quot;&gt;BY&amp;nbsp;&lt;span class=&quot;microdata person&quot; itemprop=&quot;author&quot; itemscope=&quot;&quot; itemtype=&quot;http://schema.org/Person&quot;&gt;&lt;span id=&quot;id_author&quot; itemprop=&quot;name&quot;&gt;JUAN MARTINEZ&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/address&gt;&lt;span class=&quot;sep&quot; style=&quot;padding: 0px;&quot;&gt;&lt;/span&gt;&lt;time datetime=&quot;2017-06-28T01:59:00+05:30&quot; itemprop=&quot;datePublished&quot;&gt;JUNE 28, 2017, 1:59 A.M.&lt;/time&gt;&lt;/div&gt;&lt;h2 id=&quot;id_deck&quot; itemprop=&quot;description&quot; style=&quot;-webkit-font-smoothing: subpixel-antialiased; background-color: white; font-family: Roboto-regular, arial, sans-serif; font-size: 14px; font-style: italic; letter-spacing: 0.8px; line-height: 21px; margin: 10px 0px;&quot;&gt;Read this to learn more about the WannaCry ransomware crisis and what you need to stay safe from future attacks&lt;/h2&gt;&lt;div&gt;&lt;div style=&quot;background-color: white; font-family: Roboto-300, arial, sans-serif; font-size: 18.72px; letter-spacing: 0.9px; margin-bottom: 0.938rem;&quot;&gt;Earlier this month, a strain of ransomware infected more than 300,000 Windows PCs around the world. The&amp;nbsp;&lt;span style=&quot;text-decoration-line: line-through;&quot;&gt;awesomely named&lt;/span&gt;WannaCry strain demanded that infected businesses and individuals pay $300 in order to unlock each machine—as well as the data stored on their devices. Some people&amp;nbsp;&lt;a class=&quot;external&quot; href=&quot;http://www.cnbc.com/2017/05/15/wannacry-ransomware-hackers-have-only-made-50000-worth-of-bitcoin.html&quot; style=&quot;background: transparent; color: #e20309; font-weight: bold; text-decoration-line: none;&quot; target=&quot;_blank&quot;&gt;paid the ransom&lt;/a&gt;, while others were lucky enough to wait it out and be rescued by a&amp;nbsp;&lt;a class=&quot;external&quot; href=&quot;https://www.pcmag.com/news/353663/researcher-accidentally-thwarts-wannacry-ransomware&quot; style=&quot;background: transparent; color: #e20309; font-weight: bold; text-decoration-line: none;&quot; target=&quot;_blank&quot;&gt;hero&lt;/a&gt;&amp;nbsp;who accidentally stopped the attack by registering the unregistered domain on which the ransomware lived.&lt;/div&gt;&lt;div style=&quot;background-color: white; font-family: Roboto-300, arial, sans-serif; font-size: 18.72px; letter-spacing: 0.9px; margin-bottom: 0.938rem;&quot;&gt;Now that the attack has been thwarted, it appears that new WannaCry variants&amp;nbsp;&lt;a class=&quot;external&quot; href=&quot;https://blog.comae.io/wannacry-new-variants-detected-b8908fefea7e&quot; style=&quot;background: transparent; color: #e20309; font-weight: bold; text-decoration-line: none;&quot; target=&quot;_blank&quot;&gt;are emerging&lt;/a&gt;, and a massive, unrelated ransomware attack&amp;nbsp;&lt;a class=&quot;external&quot; href=&quot;https://www.pcmag.com/news/354615/report-another-major-ransomware-attack-spreading&quot; style=&quot;background: transparent; color: #e20309; font-weight: bold; text-decoration-line: none;&quot; target=&quot;_blank&quot;&gt;hit Eastern Europe&lt;/a&gt;. As ransomware attacks become trickier and more difficult to stop, your company is more likely than ever to be at risk. As a result, we&#39;ve compiled this list of post-mortem steps on what happened,&amp;nbsp;&lt;a class=&quot;external&quot; href=&quot;https://www.pcmag.com/article/345531/how-to-protect-and-recover-your-business-from-ransomware&quot; style=&quot;background: transparent; color: #e20309; font-weight: bold; text-decoration-line: none;&quot; target=&quot;_blank&quot;&gt;how you can protect your business and yourself&lt;/a&gt;, and what you should do if you fall victim to an attack.&lt;/div&gt;&lt;h2 style=&quot;-webkit-font-smoothing: subpixel-antialiased; background-color: white; font-family: RobotoCondensed-Bold, arial, sans-serif; letter-spacing: 0.8px; line-height: 3.25rem; margin: 0px;&quot;&gt;1. Be Defensive&lt;/h2&gt;&lt;div style=&quot;background-color: white; font-family: Roboto-300, arial, sans-serif; font-size: 18.72px; letter-spacing: 0.9px; margin-bottom: 0.938rem;&quot;&gt;You&#39;re going to need to be smarter about which emails you open, which links you click, and which files you download. Phishing attacks are common and they&#39;re easy to fall victim to. Unfortunately, WannaCry wasn&#39;t your typical phishing attack. Instead, this attack manipulated a Windows vulnerability, one that had already been patched by Microsoft earlier this year.&lt;/div&gt;&lt;div style=&quot;background-color: white; font-family: Roboto-300, arial, sans-serif; font-size: 18.72px; letter-spacing: 0.9px; margin-bottom: 0.938rem;&quot;&gt;So, how did it get through? You know those annoying pop-up notifications that software manufacturers send to your computer? They&#39;re not just alerting you to new features; they&#39;re adding patches to your software that will help to protect against attacks like WannaCry. The same goes for your&amp;nbsp;&lt;a class=&quot;&quot; href=&quot;http://in.pcmag.com/cloud-services/96509/guide/the-best-managed-endpoint-protection-software-of-2017&quot; style=&quot;background: transparent; color: #e20309; font-weight: bold; text-decoration-line: none;&quot;&gt;endpoint protection&lt;/a&gt;software. If your vendor asks you to update, then update. In this case, it appears the attackers were able to penetrate systems that had not recently been updated and, as a result, hospitals were crippled and lives were put in jeopardy (more on this later).&lt;/div&gt;&lt;div style=&quot;background-color: white; font-family: Roboto-300, arial, sans-serif; font-size: 18.72px; letter-spacing: 0.9px; margin-bottom: 0.938rem;&quot;&gt;&quot;The global fallout of this attack could have easily been prevented by deploying the security update once it was made available by Microsoft,&quot; said Liviu Arsene, Senior E-Threat Analyst at&amp;nbsp;&lt;a class=&quot;external&quot; href=&quot;https://www.bitdefender.com/&quot; style=&quot;background: transparent; color: #e20309; font-weight: bold; text-decoration-line: none;&quot; target=&quot;_blank&quot;&gt;Bitdefender&lt;/a&gt;. &quot;The lesson to be learned from this experience is to always apply security patches and updates when they become available, not just for operating systems but for applications as well. Of course, a security solution might prevent the payload—in this case, ransomware—from infecting victims. But more advanced and sophisticated threats could potentially leverage the operating system vulnerability to gain persistency and bypass traditional security mechanisms undetected.&quot;&lt;/div&gt;&lt;h2 style=&quot;-webkit-font-smoothing: subpixel-antialiased; background-color: white; font-family: RobotoCondensed-Bold, arial, sans-serif; letter-spacing: 0.8px; line-height: 3.25rem; margin: 0px;&quot;&gt;2. Back that Cache Up&lt;/h2&gt;&lt;div style=&quot;background-color: white; font-family: Roboto-300, arial, sans-serif; font-size: 18.72px; letter-spacing: 0.9px; margin-bottom: 0.938rem;&quot;&gt;The worst thing about an attack of this variety is that it gains access to your data. However, the responsible among us don&#39;t need to worry about this very much because they have been using&amp;nbsp;&lt;a class=&quot;&quot; href=&quot;http://www.pcmag.com/article2/0,2817,2499967,00.asp&quot; style=&quot;background: transparent; color: #e20309; font-weight: bold; text-decoration-line: none;&quot;&gt;disaster recovery&lt;/a&gt;&amp;nbsp;(DR) software to ensure that their information is alive and well in the cloud. If you wind up getting hit with a ransomware attack, then having access to your full trove of data in the cloud means you can simply factory-reset your machine, pull in your backed up data, and start working again.&lt;/div&gt;&lt;div class=&quot;row pcm-content&quot; style=&quot;background-color: white; border-bottom: 1px dotted rgb(242, 242, 242); clear: both; font-family: Roboto-300, arial, sans-serif; font-size: 18.72px; letter-spacing: 0.9px; margin: 0px auto 1em; max-width: 66.875rem; padding-bottom: 1em; width: 718px;&quot;&gt;&lt;div class=&quot;column hide-for-large-up&quot;&gt;&lt;div class=&quot;in-content-lazy&quot; id=&quot;lazy-1&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; font-family: Roboto-300, arial, sans-serif; font-size: 18.72px; letter-spacing: 0.9px; margin-bottom: 0.938rem;&quot;&gt;&lt;a class=&quot;inline-image full-width&quot; href=&quot;https://www.blogger.com/null&quot; style=&quot;background: transparent; color: #e20309; font-weight: bold;&quot;&gt;&lt;/a&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; style=&quot;background-color: white; font-family: Roboto-300, arial, sans-serif; font-size: 18.72px; letter-spacing: 0.9px;&quot;&gt;&lt;a class=&quot;inline-image full-width&quot; href=&quot;https://www.blogger.com/null&quot; style=&quot;background: transparent; color: #e20309; font-weight: bold;&quot;&gt;&lt;img alt=&quot;WannaCry Ransom Note&quot; border=&quot;0&quot; class=&quot;embed&quot; itemscope=&quot;&quot; itemtype=&quot;http://schema.org/ImageObject&quot; src=&quot;https://assets.pcmag.com/media/images/543486-wannacry-ransom-note.jpg?thumb=y&quot; style=&quot;border: 0px; float: left; margin: 0px 10px 0px 0px; max-width: 100%; width: auto;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; font-family: Roboto-300, arial, sans-serif; font-size: 18.72px; letter-spacing: 0.9px; margin-bottom: 0.938rem;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; font-family: Roboto-300, arial, sans-serif; font-size: 18.72px; letter-spacing: 0.9px; margin-bottom: 0.938rem; text-align: center;&quot;&gt;&lt;span style=&quot;color: #3b3b3c; font-weight: 700;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;Image Via:&amp;nbsp;&lt;a class=&quot;external&quot; href=&quot;https://kc.mcafee.com/corporate/index?page=content&amp;amp;id=KB89335&quot; style=&quot;background: transparent; color: #e20309; text-decoration-line: none;&quot; target=&quot;_blank&quot;&gt;McAfee&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;h2 style=&quot;-webkit-font-smoothing: subpixel-antialiased; background-color: white; font-family: RobotoCondensed-Bold, arial, sans-serif; letter-spacing: 0.8px; line-height: 3.25rem; margin: 0px;&quot;&gt;3. Don&#39;t Pay, Silly&lt;/h2&gt;&lt;div style=&quot;background-color: white; font-family: Roboto-300, arial, sans-serif; font-size: 18.72px; letter-spacing: 0.9px; margin-bottom: 0.938rem;&quot;&gt;As much as you&#39;d like to retrieve your unfinished screenplay, paying hostage takers seldom works. Instead, contact the&amp;nbsp;&lt;a class=&quot;external&quot; href=&quot;https://www.fbi.gov/contact-us&quot; style=&quot;background: transparent; color: #e20309; font-weight: bold; text-decoration-line: none;&quot; target=&quot;_blank&quot;&gt;FBI&lt;/a&gt;&amp;nbsp;and let them know you&#39;ve become the victim of a cyberattack. If you desperately need your data and you don&#39;t have a backup stored elsewhere, then just sit tight and wait. Also, if you don&#39;t need your data or if you have backed it up, then just reset your machine and start from scratch.&lt;/div&gt;&lt;div style=&quot;background-color: white; font-family: Roboto-300, arial, sans-serif; font-size: 18.72px; letter-spacing: 0.9px; margin-bottom: 0.938rem;&quot;&gt;Whatever you do, don&#39;t pay. Here&#39;s why: There&#39;s a good possibility the hacker won&#39;t actually release your data. Now you&#39;re out $300 and you&#39;re still out of luck. Also, paying could actually expose you to additional risk because you&#39;ve shown a willingness to give into the hackers&#39; demands. So, in the very best-case scenario, you&#39;ve paid, gotten your data back, and given a criminal incentive to try to attack you again in the future.&lt;/div&gt;&lt;div style=&quot;background-color: white; font-family: Roboto-300, arial, sans-serif; font-size: 18.72px; letter-spacing: 0.9px; margin-bottom: 0.938rem;&quot;&gt;&quot;No one is ever encouraged to give in to ransomware demands,&quot; said Arsene. &quot;In fact, if no backups are available from which to restore lost data, companies or individuals should treat the incident as hardware failure and move on. Paying would only fuel cybercriminals with the financial resources to keep developing new threats. And there&#39;s no actual guarantee that you&#39;ll actually receive the decryption key. You are actually dealing with criminals here.&quot;&lt;/div&gt;&lt;h2 style=&quot;-webkit-font-smoothing: subpixel-antialiased; background-color: white; font-family: RobotoCondensed-Bold, arial, sans-serif; letter-spacing: 0.8px; line-height: 3.25rem; margin: 0px;&quot;&gt;4. What You Should Do&lt;/h2&gt;&lt;div class=&quot;row pcm-content&quot; style=&quot;background-color: white; border-bottom: 1px dotted rgb(242, 242, 242); clear: both; font-family: Roboto-300, arial, sans-serif; font-size: 18.72px; letter-spacing: 0.9px; margin: 0px auto 1em; max-width: 66.875rem; padding-bottom: 1em; width: 718px;&quot;&gt;&lt;div class=&quot;column hide-for-large-up&quot;&gt;&lt;div class=&quot;in-content-lazy&quot; id=&quot;lazy-2&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; font-family: Roboto-300, arial, sans-serif; font-size: 18.72px; letter-spacing: 0.9px; margin-bottom: 0.938rem;&quot;&gt;As I previously mentioned, backing up your data and running a factory-reset on your hardware, will let you walk away from a ransomware attack without having experienced much real damage. Here&#39;s a step-by-step procedure for what to do when that ransom note hits your screen: 1) Unplug your computer and unplug your computer from its network. 2) Fully wipe your device and restore it from a backup. 3) Install all security patches and updates and&amp;nbsp;&lt;a class=&quot;external&quot; href=&quot;https://www.pcmag.com/roundup/353231/the-best-ransomware-protection&quot; style=&quot;background: transparent; color: #e20309; font-weight: bold; text-decoration-line: none;&quot; target=&quot;_blank&quot;&gt;add a security solution&lt;/a&gt;like&amp;nbsp;&lt;a class=&quot;&quot; href=&quot;http://in.pcmag.com/bitdefender-gravityzone-business-security/99270/review/bitdefender-gravityzone-business-security&quot; style=&quot;background: transparent; color: #e20309; font-weight: bold; text-decoration-line: none;&quot;&gt;Bitdefender&lt;/a&gt;&amp;nbsp;to your software mix. 4) Contact the FBI.&lt;/div&gt;&lt;h2 style=&quot;-webkit-font-smoothing: subpixel-antialiased; background-color: white; font-family: RobotoCondensed-Bold, arial, sans-serif; letter-spacing: 0.8px; line-height: 3.25rem; margin: 0px;&quot;&gt;5. Businesses Must Get Serious&lt;/h2&gt;&lt;div style=&quot;background-color: white; font-family: Roboto-300, arial, sans-serif; font-size: 18.72px; letter-spacing: 0.9px; margin-bottom: 0.938rem;&quot;&gt;&quot;There are security layers that companies can deploy to protect infrastructures from zero-day vulnerabilities in both operating systems and applications,&quot; said Arsene. Arsene recommends organizations running virtual infrastructures deploy a hypervisor-based memory introspection technology that&#39;s capable of securing virtual workloads.&lt;/div&gt;&lt;div style=&quot;background-color: white; font-family: Roboto-300, arial, sans-serif; font-size: 18.72px; letter-spacing: 0.9px; margin-bottom: 0.938rem;&quot;&gt;&lt;o:p style=&quot;letter-spacing: 0.9px;&quot;&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; font-family: Roboto-300, arial, sans-serif; font-size: 18.72px; letter-spacing: 0.9px; margin-bottom: 0.938rem;&quot;&gt;&quot;This new security layer that sits below the operating system can detect zero-day vulnerabilities, like the SMB v1 vulnerability leveraged by WannaCry, and prevent attackers from ever exploiting it, even if the system is unpatched or the vulnerability is completely unknown,&quot; Arsene explained. &quot;This complementary security layer, coupled with traditional in-guest security solutions and constant software patching, increases the cost of attack for cybercriminals while giving organizations more visibility into advanced attacks.&quot;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imraan-prrec.blogspot.com/feeds/7883675784048936603/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://imraan-prrec.blogspot.com/2018/05/ransomeware.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5822823688987998362/posts/default/7883675784048936603'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5822823688987998362/posts/default/7883675784048936603'/><link rel='alternate' type='text/html' href='http://imraan-prrec.blogspot.com/2018/05/ransomeware.html' title='Ransomeware'/><author><name>Imraan</name><uri>http://www.blogger.com/profile/13029977933710149084</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-5822823688987998362.post-8293361285995918831</id><published>2018-03-13T13:57:00.000+05:30</published><updated>2018-03-13T13:57:00.718+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="COLAB"/><title type='text'>Computer Organization Lab</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;Dear Students attach the outputs in the lab record.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;https://drive.google.com/open?id=1FpUCZuSgRoTbUpoQRnk7LG11GAQym7e9&quot;&gt;Click to Download&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imraan-prrec.blogspot.com/feeds/8293361285995918831/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://imraan-prrec.blogspot.com/2018/03/computer-organization-lab.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5822823688987998362/posts/default/8293361285995918831'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5822823688987998362/posts/default/8293361285995918831'/><link rel='alternate' type='text/html' href='http://imraan-prrec.blogspot.com/2018/03/computer-organization-lab.html' title='Computer Organization Lab'/><author><name>Imraan</name><uri>http://www.blogger.com/profile/13029977933710149084</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-5822823688987998362.post-8857364499573585262</id><published>2018-02-20T15:34:00.001+05:30</published><updated>2018-02-20T15:34:20.795+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="COLAB"/><title type='text'>MASM</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: -9.0pt; margin-right: 0in; margin-top: 0in; mso-outline-level: 1; text-align: center; vertical-align: middle;&quot;&gt;&lt;u&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Helvetica&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 15.5pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 18.0pt;&quot;&gt;MASM 8086 Assembler in Ubuntu or Windows 7(x64) using DOSBox&lt;/span&gt;&lt;/u&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Helvetica&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 15.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 18.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-align: center;&quot;&gt;&lt;span style=&quot;color: #009eb8; font-family: &amp;quot;Helvetica&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-no-proof: yes; text-decoration: none; text-underline: none;&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shapetype id=&quot;_x0000_t75&quot;  coordsize=&quot;21600,21600&quot; o:spt=&quot;75&quot; o:preferrelative=&quot;t&quot; path=&quot;m@4@5l@4@11@9@11@9@5xe&quot;  filled=&quot;f&quot; stroked=&quot;f&quot;&gt; &lt;v:stroke joinstyle=&quot;miter&quot;/&gt; &lt;v:formulas&gt;  &lt;v:f eqn=&quot;if lineDrawn pixelLineWidth 0&quot;/&gt;  &lt;v:f eqn=&quot;sum @0 1 0&quot;/&gt;  &lt;v:f eqn=&quot;sum 0 0 @1&quot;/&gt;  &lt;v:f eqn=&quot;prod @2 1 2&quot;/&gt;  &lt;v:f eqn=&quot;prod @3 21600 pixelWidth&quot;/&gt;  &lt;v:f eqn=&quot;prod @3 21600 pixelHeight&quot;/&gt;  &lt;v:f eqn=&quot;sum @0 0 1&quot;/&gt;  &lt;v:f eqn=&quot;prod @6 1 2&quot;/&gt;  &lt;v:f eqn=&quot;prod @7 21600 pixelWidth&quot;/&gt;  &lt;v:f eqn=&quot;sum @8 21600 0&quot;/&gt;  &lt;v:f eqn=&quot;prod @7 21600 pixelHeight&quot;/&gt;  &lt;v:f eqn=&quot;sum @10 21600 0&quot;/&gt; &lt;/v:formulas&gt; &lt;v:path o:extrusionok=&quot;f&quot; gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot;/&gt; &lt;o:lock v:ext=&quot;edit&quot; aspectratio=&quot;t&quot;/&gt;&lt;/v:shapetype&gt;&lt;v:shape id=&quot;Picture_x0020_1&quot; o:spid=&quot;_x0000_i1025&quot; type=&quot;#_x0000_t75&quot;  alt=&quot;http://2.bp.blogspot.com/-Ym0JXuFWpMg/T0kpt74WO3I/AAAAAAAAAm8/2_EhlGDkcK4/s320/Untitled.jpg&quot;  href=&quot;http://2.bp.blogspot.com/-Ym0JXuFWpMg/T0kpt74WO3I/AAAAAAAAAm8/2_EhlGDkcK4/s1600/Untitled.jpg&quot;  style=&#39;width:240pt;height:183.75pt;visibility:visible;mso-wrap-style:square&#39;  o:button=&quot;t&quot;&gt; &lt;v:imagedata src=&quot;file:///C:\Users\CADCAM\AppData\Local\Temp\msohtmlclip1\01\clip_image001.jpg&quot;   o:title=&quot;Untitled&quot;/&gt;&lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;span style=&quot;mso-ignore: vglayout;&quot;&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Helvetica&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;background: white; border-bottom: solid #CCCCCC 1.0pt; border: none; mso-border-bottom-alt: solid #CCCCCC .75pt; mso-element: para-border-div; padding: 0in 0in 2.0pt 0in;&quot;&gt; &lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 7.65pt; mso-border-bottom-alt: solid #CCCCCC .75pt; mso-outline-level: 2; mso-padding-alt: 0in 0in 2.0pt 0in; padding: 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.5pt; mso-bidi-font-family: Helvetica; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Run MASM 8086 Assembler in Ubuntu or Windows 7(x64) using DOSBox&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 3.85pt;&quot;&gt;&lt;span style=&quot;color: #555555; font-family: Verdana, sans-serif; font-size: 9pt;&quot;&gt;Here’s how to run 16 bit DOS executables like the MASM assembler or Turbo C compiler in Ubuntu (GNU/Linux) or in 64 bit editions of Windows 7 using&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/DOSBox&quot; style=&quot;font-family: Verdana, sans-serif; font-size: 9pt;&quot;&gt;&lt;span style=&quot;color: #2970a6; font-family: &amp;quot;Helvetica&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-size: 11.0pt;&quot;&gt;DOSBox&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #555555; font-family: Verdana, sans-serif; font-size: 9pt;&quot;&gt;, a DOS environment emulator. DOSBox is available for Linux as well as Windows.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 13.0pt; margin-bottom: 7.65pt;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Helvetica; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;DOSBox installation&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Helvetica; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 13.0pt; margin-bottom: 7.65pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Helvetica; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;For Ubuntu users (using repository)&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Helvetica; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;br /&gt;Open the terminal and type in the following commands to download and install DOSbox in Ubuntu&lt;br /&gt;&lt;/span&gt;&lt;i&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;sudo apt-get update&lt;/span&gt;&lt;/i&gt;&lt;i&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;i&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;sudo apt-get install dosbox&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Helvetica; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;br /&gt;You will find it installed under Applications_Menu-&amp;gt;Games-&amp;gt;DOSBox Emulator&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 13.0pt; margin-bottom: 7.65pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Helvetica; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;For other GNU/Linux users&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Helvetica; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;br /&gt;Download DOSbox from &lt;/span&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span style=&quot;color: #2970a6; font-family: Helvetica, sans-serif;&quot;&gt;below link&lt;/span&gt;&lt;span style=&quot;color: #555555; font-family: Verdana, sans-serif;&quot;&gt;.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #555555; font-family: Verdana, sans-serif;&quot;&gt;Open terminal and cd to the directory containing the downloaded tar.gz file. Type in the following commands to build and install :&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;i&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;tar -xzvf dosbox-0.74.tar.gz&lt;/span&gt;&lt;/i&gt;&lt;i&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;i&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;cd dosbox-0.74&lt;/span&gt;&lt;/i&gt;&lt;i&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;i&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;./configure&lt;/span&gt;&lt;/i&gt;&lt;i&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;i&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;make&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Helvetica; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;br /&gt;Check the&amp;nbsp;&lt;/span&gt;&lt;i&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Helvetica; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;src&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Helvetica; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;subdir for the binary.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 13.0pt; margin-bottom: 7.65pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Helvetica; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;For Windows users&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Helvetica; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;br /&gt;Download DOSbox from &lt;/span&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span style=&quot;color: #2970a6; font-family: Helvetica, sans-serif;&quot;&gt;&lt;u&gt;below&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Helvetica; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;.&lt;br /&gt;Run the downloaded .exe file and install it like any other software.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 13.0pt; margin-bottom: 7.65pt;&quot;&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Helvetica; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Now that you’ve installed DOSBox, you’ll be able to run any 16bit or 32bit DOS executable inside it.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 13.0pt; margin-bottom: 7.65pt;&quot;&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Helvetica; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Download the 8086 MASM Assembler from &lt;/span&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span style=&quot;color: #2970a6; font-family: Helvetica, sans-serif;&quot;&gt;&lt;u&gt;below&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Helvetica; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;. The zip file contains the following files :&lt;/span&gt;&lt;i&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;i&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;masm.exe, tasm.exe, link.exe, bin2hex.exe, exe2bin.exe, td.exe, edit.com and debug.exe&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Helvetica; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 13.0pt; margin-bottom: 7.65pt;&quot;&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Helvetica; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Windows users extract the .zip file into&amp;nbsp;&lt;/span&gt;&lt;i&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Helvetica; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;C:\&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Helvetica; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;so that the path&amp;nbsp;&lt;/span&gt;&lt;i&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Helvetica; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;C:\8086&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Helvetica; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;contains all the above mentioned files. GNU/Linux users can extract it and place it in say&amp;nbsp;&lt;/span&gt;&lt;i&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Helvetica; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;/home/imran/8086&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Helvetica; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 13.0pt; margin-bottom: 7.65pt;&quot;&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Helvetica; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Launch DOSBox and type the following commands :&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Helvetica; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;For Linux users :&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Helvetica; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;i&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;mount c /home/imran/8086&lt;/span&gt;&lt;/i&gt;&lt;i&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;i&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;c:&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Helvetica; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Helvetica; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;For Windows :&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Helvetica; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;i&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;mount c c:\8086&lt;/span&gt;&lt;/i&gt;&lt;i&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;i&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;c:&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Helvetica; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #F7F7F7; line-height: 13.0pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;background: #F7F7F7; line-height: 13.0pt; margin-bottom: 3.85pt; text-align: center;&quot;&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Helvetica; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;DOSBox running in Ubuntu&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 13.0pt; margin-bottom: 7.65pt;&quot;&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Helvetica; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Now the contents of the folder&amp;nbsp;&lt;/span&gt;&lt;i&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Helvetica; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;/home/imran/8086&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Helvetica; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;or&amp;nbsp;&lt;/span&gt;&lt;i&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Helvetica; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;c:\8086&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Helvetica; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;is mounted as&amp;nbsp;&lt;/span&gt;&lt;i&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Helvetica; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;c:&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Helvetica; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;drive inside the DOS emulator. You can assemble programs inside DOSBox as you do in your Microprocessor Lab under Windows XP; i.e your usual sequence of commands -&lt;br /&gt;&lt;/span&gt;&lt;i&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;edit file.asm&lt;/span&gt;&lt;/i&gt;&lt;i&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;i&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;masm file.asm&lt;/span&gt;&lt;/i&gt;&lt;i&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;i&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;link file&lt;/span&gt;&lt;/i&gt;&lt;i&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;i&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;debug file.exe&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Helvetica; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 13.0pt; margin-bottom: 7.65pt;&quot;&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Helvetica; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;When you are done, type&amp;nbsp;&lt;/span&gt;&lt;i&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Helvetica; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;exit&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Helvetica; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;to quit DOSBox.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 13.0pt; margin-bottom: 7.65pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Helvetica; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;P.S :&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Helvetica; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;For GNU/Linux users, there’s an alternative assembler known as the NASM.&amp;nbsp;&lt;a href=&quot;http://www.nasm.us/&quot;&gt;&lt;span style=&quot;color: #2970a6; font-family: &amp;quot;Helvetica&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-size: 11.0pt;&quot;&gt;NASM&lt;/span&gt;&lt;/a&gt;&amp;nbsp;is considered to be one of the most popular assemblers for GNU/Linux.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 13.0pt; margin-bottom: 7.65pt;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Helvetica; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Click to Downloads :&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Helvetica; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Helvetica; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;DOSBox for Linux :&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Helvetica; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;u&gt;&lt;span style=&quot;color: #2970a6; font-family: &amp;quot;Helvetica&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;a href=&quot;http://www.mediafire.com/file/k3mh2tat9xdgzaa/dosbox-0.74.tar.gz&quot;&gt;dosbox-0.74.tar&lt;span id=&quot;goog_1747281146&quot;&gt;&lt;/span&gt;&lt;span id=&quot;goog_1747281147&quot;&gt;&lt;/span&gt;.gz&lt;/a&gt;&lt;/span&gt;&lt;/u&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Helvetica; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Helvetica; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;DOSBox for Windows :&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Helvetica; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;u&gt;&lt;span style=&quot;color: #2970a6; font-family: &amp;quot;Helvetica&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;a href=&quot;http://www.mediafire.com/file/tid2t8lgcy1x446/DOSBox0.74-win32-installer.rar&quot;&gt;DOSBox0.74-win32-installer.exe&lt;/a&gt;&lt;/span&gt;&lt;/u&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Helvetica; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Helvetica; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;8086 Assembler :&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Helvetica; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;u&gt;&lt;span style=&quot;color: #2970a6; font-family: &amp;quot;Helvetica&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;a href=&quot;http://www.mediafire.com/file/jg2qqw94b8n8qj8/8086_with%20cv.zip&quot;&gt;8086_Assembler.zip&lt;/a&gt;&lt;/span&gt;&lt;/u&gt;&lt;span style=&quot;color: #555555; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: Helvetica; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 13.0pt; margin-bottom: 7.65pt;&quot;&gt;&lt;u&gt;&lt;a href=&quot;http://www.mediafire.com/file/maapprkai1tgm5b/Masam%20Programs.rar&quot;&gt;MASM Programs&lt;/a&gt;&lt;/u&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imraan-prrec.blogspot.com/feeds/8857364499573585262/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://imraan-prrec.blogspot.com/2018/02/masm.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5822823688987998362/posts/default/8857364499573585262'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5822823688987998362/posts/default/8857364499573585262'/><link rel='alternate' type='text/html' href='http://imraan-prrec.blogspot.com/2018/02/masm.html' title='MASM'/><author><name>Imraan</name><uri>http://www.blogger.com/profile/13029977933710149084</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-5822823688987998362.post-4619460113806794936</id><published>2018-02-17T11:03:00.001+05:30</published><updated>2018-02-17T11:03:47.256+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="COLAB"/><title type='text'></title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;&lt;div class=&quot;MsoNormal&quot;&gt;8086 ASSEMBLY PROGRAM FOR ADDITION OF TWO 8 BIT NUMBERS&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;data &lt;/span&gt;&lt;span style=&quot;color: #0080c0; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;segment&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: Consolas; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #8000ff; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: Consolas; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #0080c0; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;db&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: Consolas; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #8000ff; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;09h&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: Consolas; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #8000ff; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;b&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: Consolas; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #8000ff; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;db&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: Consolas; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #8000ff; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;02h&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: Consolas; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #0080c0; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;c&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: Consolas; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #0080c0; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;dw&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: Consolas; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: Consolas; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;data &lt;/span&gt;&lt;span style=&quot;color: #0080c0; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;ends&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: Consolas; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;code &lt;/span&gt;&lt;span style=&quot;color: #0080c0; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;segment&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: Consolas; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #0080c0; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;assume&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: Consolas; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;cs&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;:code,&lt;/span&gt;&lt;span style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;ds&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;:data&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: Consolas; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;start:&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: Consolas; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #ff0080; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;mov&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: Consolas; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;ax&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;,data&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: Consolas; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #ff0080; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;mov&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: Consolas; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;ds&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;ax&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: Consolas; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #ff0080; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;mov&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: Consolas; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;al&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #8000ff; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: Consolas; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #ff0080; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;mov&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: Consolas; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;bl&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #8000ff; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;b&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: Consolas; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #ff0080; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;add&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: Consolas; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;al&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;bl&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: Consolas; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #ff0080; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;mov&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: Consolas; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #8000ff; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;c&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;ax&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: Consolas; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: Consolas; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #8000ff; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;3&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: Consolas; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;code &lt;/span&gt;&lt;span style=&quot;color: #0080c0; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;ends&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: Consolas; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #0080c0; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;end&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: Consolas; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;start&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: Consolas; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;mso-cellspacing: 0in; mso-padding-alt: 0in 0in 0in 0in; mso-yfti-tbllook: 1184; width: 788px;&quot;&gt; &lt;tbody&gt;&lt;tr style=&quot;height: 4.15pt; mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;&quot;&gt;  &lt;td style=&quot;height: 4.15pt; padding: 0in 0in 0in 0in;&quot;&gt;&lt;/td&gt;  &lt;td style=&quot;height: 4.15pt; padding: 0in 0in 0in 0in; width: 555.65pt;&quot; width=&quot;741&quot;&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;C:\TASM&amp;gt;masm   an8add.asm&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Microsoft   (R) Macro Assembler Version 5.00&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Copyright   (C) Microsoft Corp 1981-1985, 1987.&amp;nbsp; All rights reserved.&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Object   filename [an8add.OBJ]:&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Source   listing&amp;nbsp; [NUL.LST]:&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Cross-reference   [NUL.CRF]:&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;50402   + 450254 Bytes symbol space free&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0   Warning Errors&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0   Severe&amp;nbsp; Errors&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;C:\TASM&amp;gt;link   an8add.obj&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Microsoft   (R) Overlay Linker&amp;nbsp; Version 3.60&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Copyright   (C) Microsoft Corp 1983-1987.&amp;nbsp; All rights reserved.&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Run   File [AN8ADD.EXE]:&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;List   File [NUL.MAP]:&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Libraries   [.LIB]:&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;LINK :   warning L4021: no stack segment&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;C:\TASM&amp;gt;debug   an8add.exe&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;-g&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;AX=0B0B&amp;nbsp;   BX=0002&amp;nbsp; CX=0022&amp;nbsp; DX=0000&amp;nbsp; SP=0000&amp;nbsp; BP=0000&amp;nbsp;   SI=0000&amp;nbsp; DI=0000&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;DS=0B97&amp;nbsp;   ES=0B87&amp;nbsp; SS=0B97&amp;nbsp; CS=0B98&amp;nbsp; IP=0011&amp;nbsp;&amp;nbsp; NV UP EI PL NZ   NA PO NC&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;0B98:0011   CC&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;   INT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;-d   0B97:0000&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;0B97:0000&amp;nbsp;   09 02 0B 0B 00 00 00 00-00 00 00 00 00 00 00 00&amp;nbsp;&amp;nbsp; ................&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;0B97:0010&amp;nbsp;   B8 97 0B 8E D8 A0 00 00-8A 1E 01 00 02 C3 A3 02&amp;nbsp;&amp;nbsp; ................&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;0B97:0020&amp;nbsp;   00 CC 86 72 FF 77 15 8A-86 70 FF 2A E4 50 B8 FD&amp;nbsp;&amp;nbsp; ...r.w...p.*.P..&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;0B97:0030&amp;nbsp;   05 50 FF 36 24 21 E8 77-63 83 C4 06 FF 36 24 21&amp;nbsp;&amp;nbsp; .P.6$!.wc....6$!&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;0B97:0040&amp;nbsp;   B8 0A 00 50 E8 47 5E 83-C4 04 5E 8B E5 5D C3 90&amp;nbsp;&amp;nbsp; ...P.G^...^..]..&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;0B97:0050&amp;nbsp;   55 8B EC 81 EC 84 00 C4-5E 04 26 80 7F 0A 00 74&amp;nbsp;&amp;nbsp;   U.......^.&amp;amp;....t&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;0B97:0060&amp;nbsp;   3E 8B 46 08 8B 56 0A 89-46 FC 89 56 FE C4 5E FC&amp;nbsp;&amp;nbsp;   &amp;gt;.F..V..F..V..^.&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;0B97:0070&amp;nbsp;   26 8A 47 0C 2A E4 40 50-8B C3 05 0C 00 52 50 E8&amp;nbsp;&amp;nbsp;   &amp;amp;.G.*.@P.....RP.&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;-q&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;C:\TASM&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #2b2b2b; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imraan-prrec.blogspot.com/feeds/4619460113806794936/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://imraan-prrec.blogspot.com/2018/02/8086-assembly-program-for-addition-of.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5822823688987998362/posts/default/4619460113806794936'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5822823688987998362/posts/default/4619460113806794936'/><link rel='alternate' type='text/html' href='http://imraan-prrec.blogspot.com/2018/02/8086-assembly-program-for-addition-of.html' title=''/><author><name>Imraan</name><uri>http://www.blogger.com/profile/13029977933710149084</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-5822823688987998362.post-3623242241232368573</id><published>2018-02-16T10:53:00.002+05:30</published><updated>2018-02-16T10:53:02.402+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="COLAB"/><title type='text'></title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;&lt;h1 style=&quot;margin-left: .3in; mso-list: l0 level1 lfo1; page-break-before: always; text-indent: -.3in;&quot;&gt;CENG 222 – Computer Organization &lt;span style=&quot;font-size: 14.0pt;&quot;&gt;Lab Work 9&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h1&gt;&lt;h2 style=&quot;margin-left: .4in; mso-list: l0 level2 lfo1; text-indent: -.4in;&quot;&gt;Standard I/O In 8086&lt;/h2&gt;&lt;div class=&quot;TextBody&quot; style=&quot;text-align: justify;&quot;&gt;Standard input output operations&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;are performed INT 21h interrupt in assembly.&lt;/div&gt;&lt;div class=&quot;TextBody&quot; style=&quot;text-align: justify;&quot;&gt;Int 21h acts like a function. The operation to perform in interrupt no 21h is determined by the contents of the AH register.&lt;/div&gt;&lt;div class=&quot;TextBody&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;Read the entry regarding Int 21h interrupt in “Supported Interrupt Functions” section of Emu8086 help (“help”-&amp;gt;”Documentation and Tutorials”-&amp;gt;“Supported Interrupt Functions”)&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;TextBody&quot; style=&quot;text-align: justify;&quot;&gt;Pay attention to Int 21h functions where the value of AH is 1,2,9,0Ah&lt;/div&gt;&lt;h2&gt;Exercises&lt;/h2&gt;&lt;div class=&quot;TextBody&quot; style=&quot;text-align: justify;&quot;&gt;1) Write an assembly program to read a character and print the same character back to screen&lt;/div&gt;&lt;div class=&quot;TextBody&quot; style=&quot;text-align: justify;&quot;&gt;2) The user will enter a 2 digit decimal number write an assembly program to store the number in CX register. &lt;/div&gt;&lt;div class=&quot;TextBody&quot; style=&quot;text-align: justify;&quot;&gt;3) Write an assembly program to print the English alphabet (capital letters only)&lt;/div&gt;&lt;div class=&quot;TextBody&quot; style=&quot;text-align: justify;&quot;&gt;4) design an assembly function (that uses a variable for return value) that reads 5 characters from the keyboard. Call the function in main to get the characters and write the program to print the characters.&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imraan-prrec.blogspot.com/feeds/3623242241232368573/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://imraan-prrec.blogspot.com/2018/02/ceng-222-computer-organization-lab-work_59.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5822823688987998362/posts/default/3623242241232368573'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5822823688987998362/posts/default/3623242241232368573'/><link rel='alternate' type='text/html' href='http://imraan-prrec.blogspot.com/2018/02/ceng-222-computer-organization-lab-work_59.html' title=''/><author><name>Imraan</name><uri>http://www.blogger.com/profile/13029977933710149084</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-5822823688987998362.post-3493694482188502894</id><published>2018-02-16T10:52:00.004+05:30</published><updated>2018-02-16T10:52:46.293+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="COLAB"/><title type='text'></title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;&lt;h1 style=&quot;margin-left: .3in; mso-list: l1 level1 lfo1; page-break-before: always; text-indent: -.3in;&quot;&gt;CENG 222 – Computer Organization &lt;span style=&quot;font-size: 14.0pt;&quot;&gt;Lab Work 8&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;_GoBack&quot;&gt;&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h1&gt;&lt;h2 style=&quot;margin-left: .4in; mso-list: l1 level2 lfo1; text-indent: -.4in;&quot;&gt;Variables&lt;/h2&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;Syntax for a variable declaration:&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;u&gt;name&lt;/u&gt; &lt;b&gt;DB&lt;/b&gt; &lt;u&gt;value&lt;o:p&gt;&lt;/o:p&gt;&lt;/u&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;u&gt;name&lt;/u&gt; &lt;b&gt;DW&lt;/b&gt; &lt;u&gt;value&lt;o:p&gt;&lt;/o:p&gt;&lt;/u&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;DB&lt;/b&gt; - stays for Define &lt;u&gt;B&lt;/u&gt;yte.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;DW&lt;/b&gt; - stays for Define &lt;u&gt;W&lt;/u&gt;ord.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;u&gt;name&lt;/u&gt; - can be any letter or digit combination, though it should start with a letter. It&#39;s possible to declare unnamed variables by not specifying the name (this variable will have an address but no name).&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;u&gt;value&lt;/u&gt; - can be any numeric value in any supported numbering system (hexadecimal, binary, or decimal), or &quot;?&quot; symbol for variables that are not initialized.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;Reference Address:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;http://www.yecd.com/os/8086%20assembler%20tutorial%20for%20beginners%20(part%203).htm&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;border-collapse: collapse; border: none; margin-left: 3.2pt; mso-border-alt: solid #000001 .5pt; mso-border-insideh: .5pt solid #000001; mso-border-insidev: .5pt solid #000001; mso-padding-alt: 0in 3.5pt 0in 3.0pt;&quot;&gt; &lt;tbody&gt;&lt;tr style=&quot;mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;&quot;&gt;  &lt;td style=&quot;background: white; border: solid #000001 1.0pt; mso-border-alt: solid #000001 .5pt; padding: 0in 3.5pt 0in 3.0pt; width: 441.5pt;&quot; valign=&quot;top&quot; width=&quot;589&quot;&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Arial;&quot;&gt;.model small&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Arial;&quot;&gt;.stack 100h&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Arial;&quot;&gt;.data&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Arial;&quot;&gt;VAR1 DB 5&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Arial;&quot;&gt;var2 DW 1A2Bh&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Arial;&quot;&gt;.code&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Arial;&quot;&gt;main proc&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;mov   ax,@data&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;mov   ds,ax&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;MOV   AL, var1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;MOV   BX, var2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;mov ax,   4c00h&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;int 21h&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Arial;&quot;&gt;main endp&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Arial;&quot;&gt;end main&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;h2 style=&quot;margin-left: .4in; mso-list: l1 level2 lfo1; text-indent: -.4in;&quot;&gt;Some previous Examples to remember...&lt;/h2&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;MOV AX, [1BFFH]&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; Copy 2-bytes (word) data stored at address 1BFF to AX&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;MOV [BX], 20h&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; Copy the word (2-bytes) data to the memory&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 35.4pt; text-align: justify;&quot;&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; block started at BX. (*BX = 0020h)&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;MOV WORD PTR [BX], 20h&lt;span style=&quot;mso-tab-count: 1;&quot;&gt; &lt;/span&gt;; Exactly the same as above&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;MOV BYTE PTR [BX], 20h&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; Copy 1 byte (*BX = 20h)&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;h2 style=&quot;margin-left: .4in; mso-list: l1 level2 lfo1; text-indent: -.4in;&quot;&gt;Offset command&lt;/h2&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;When used with a variable offset command gives the address of the variable.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;MOV BX, offset var1&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; Copy address of var1 to BX&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;MOV DL, [offset var2]&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; Copy 1-byte data at var2 to DL&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;h2 style=&quot;margin-left: .4in; mso-list: l1 level2 lfo1; text-indent: -.4in;&quot;&gt;LEA (Load effective address) instruction&lt;/h2&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;If we use “offset”, we need the following instruction to get the address of a data:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;MOV DX, offset var1&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;Here, msg is defined as name of the data itself. Another way to do this without using offset:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;LEA DX, var1&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;Both instructions above, loads the address of var1 into DX.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;TextBody&quot;&gt;&lt;br style=&quot;mso-special-character: line-break;&quot; /&gt;&lt;!--[if !supportLineBreakNewLine]--&gt;&lt;br style=&quot;mso-special-character: line-break;&quot; /&gt;&lt;!--[endif]--&gt;&lt;/div&gt;&lt;h2 style=&quot;margin-left: .4in; mso-list: l1 level2 lfo1; page-break-before: always; text-indent: -.4in;&quot;&gt;Experiment 1&lt;/h2&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;Analyze the assembly code below:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;border-collapse: collapse; border: none; margin-left: 3.2pt; mso-border-alt: solid #000001 .5pt; mso-border-insideh: .5pt solid #000001; mso-border-insidev: .5pt solid #000001; mso-padding-alt: 0in 3.5pt 0in 3.0pt;&quot;&gt; &lt;tbody&gt;&lt;tr style=&quot;mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;&quot;&gt;  &lt;td style=&quot;background: white; border: solid #000001 1.0pt; mso-border-alt: solid #000001 .5pt; padding: 0in 3.5pt 0in 3.0pt; width: 441.5pt;&quot; valign=&quot;top&quot; width=&quot;589&quot;&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Arial;&quot;&gt;title Register test program&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Arial;&quot;&gt;.model small&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Arial;&quot;&gt;.stack 100h&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Arial;&quot;&gt;.data&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Arial;&quot;&gt;msg db &quot;AB&quot;,0dh,0ah,&#39;$&#39;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Arial;&quot;&gt;.code&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Arial;&quot;&gt;main proc&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;mov   ax,@data&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;mov   ds,ax&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Arial;&quot;&gt;; Add your code here&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Arial;&quot;&gt;; ------------------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Arial;&quot;&gt;; ------------------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;mov   ah,9&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;mov   dx,offset msg&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;int 21h&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;mov ax,   4c00h&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;int 21h&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Arial;&quot;&gt;main endp&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Arial;&quot;&gt;end main&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;The program above prints “AB” to the console. The message “AB” is stored at msg in data segment. Therefore, “offset msg” is the starting address of the string. Modify the code according to the following experiments:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in; mso-list: l0 level1 lfo2; tab-stops: list .5in; text-align: justify; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: &amp;quot;Liberation Serif&amp;quot;; mso-fareast-font-family: &amp;quot;Liberation Serif&amp;quot;;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;1-&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;!--[endif]--&gt;Copy the second byte stored at &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;“msg” (which is ‘B’ currently)&lt;/b&gt; to the first byte. The output should be “BB”. In order to do that, load 2-bytes data stored at &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;“msg”&lt;/b&gt;into a &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;16-bits&lt;/b&gt; register. Copy one part of the register to the other part. Then, write your register back to msg.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in; mso-list: l0 level1 lfo2; tab-stops: list .5in; text-align: justify; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: &amp;quot;Liberation Serif&amp;quot;; mso-fareast-font-family: &amp;quot;Liberation Serif&amp;quot;;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;2-&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;!--[endif]--&gt;Copy the first byte stored at &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;“msg” (which is ‘A’ currently)&lt;/b&gt; to the second byte. The output should be “AA”. To achieve this, load the first byte stored at &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;“msg”&lt;/b&gt;into one &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;8-bits&lt;/b&gt; register (high or low part) and copy it onto the other part and write the data stored in register back to msg.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in; mso-list: l0 level1 lfo2; tab-stops: list .5in; text-align: justify; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: &amp;quot;Liberation Serif&amp;quot;; mso-fareast-font-family: &amp;quot;Liberation Serif&amp;quot;;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;3-&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;!--[endif]--&gt;Load the data stored at &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;“msg”&lt;/b&gt; into one register and swap the high and low parts of the register using a temporary &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;8-bits&lt;/b&gt; register. Then write back your “swapped” register onto msg. The output should be “BA”.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;h2 style=&quot;margin-left: .4in; mso-list: l1 level2 lfo1; page-break-before: always; text-indent: -.4in;&quot;&gt;Experiment 2&lt;/h2&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;border-collapse: collapse; border: none; margin-left: 3.2pt; mso-border-alt: solid #000001 .5pt; mso-border-insideh: .5pt solid #000001; mso-border-insidev: .5pt solid #000001; mso-padding-alt: 0in 3.5pt 0in 3.0pt;&quot;&gt; &lt;tbody&gt;&lt;tr style=&quot;height: .25in; mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;&quot;&gt;  &lt;td style=&quot;background: white; border: solid #000001 1.0pt; height: .25in; mso-border-alt: solid #000001 .5pt; padding: 0in 3.5pt 0in 3.0pt; width: 468.5pt;&quot; valign=&quot;top&quot; width=&quot;625&quot;&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 9.0pt; mso-bidi-font-family: Courier;&quot;&gt;title Logical&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 9.0pt; mso-bidi-font-family: Courier;&quot;&gt;.model small&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 9.0pt; mso-bidi-font-family: Courier;&quot;&gt;.stack 100h&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 9.0pt; mso-bidi-font-family: Courier;&quot;&gt;.data&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 9.0pt; mso-bidi-font-family: Courier;&quot;&gt;varA db ?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 9.0pt; mso-bidi-font-family: Courier;&quot;&gt;varB db ?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 9.0pt; mso-bidi-font-family: Courier;&quot;&gt;varC db ?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 9.0pt; mso-bidi-font-family: Courier;&quot;&gt;varX db ?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 9.0pt; mso-bidi-font-family: Courier;&quot;&gt;.code&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 9.0pt; mso-bidi-font-family: Courier;&quot;&gt;main proc&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 9.0pt; mso-bidi-font-family: Courier;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;mov ax,@data&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 9.0pt; mso-bidi-font-family: Courier;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;mov ds,ax&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 9.0pt; mso-bidi-font-family: Courier;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; Add your code below&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 9.0pt; mso-bidi-font-family: Courier;&quot;&gt;main endp&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 9.0pt; mso-bidi-font-family: Courier;&quot;&gt;end main&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;In the assembly code above, four variables are defined without initialized. Use debug mode to test your program and see registers’ and memory’s status after you make necessary modifications to compute some logical operations:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;1 – Assign values to all variables except varX. &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;varA = 10101010b&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;varB = 11001100b&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;varC = 11110000b&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;2 – Compute the following logical operations:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;a)&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;varX = varA OR (varB AND varC)&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;b)&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;varX = varA OR varB OR (NOT varC)&lt;/div&gt;&lt;h2 style=&quot;margin-left: .4in; mso-list: l1 level2 lfo1; text-align: justify; text-indent: -.4in;&quot;&gt;Experiment 3&lt;/h2&gt;&lt;div class=&quot;TextBody&quot; style=&quot;text-align: justify;&quot;&gt;Define variables facparam and facreturn. Write an assembly function that calculates the factorial of the number stored in facparam variable and write the result to facreturn variable. The registers should remain unchanged at the end of the function call.&lt;/div&gt;&lt;div class=&quot;TextBody&quot; style=&quot;text-align: justify;&quot;&gt;Use the function to calculate 3! and 5!.&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imraan-prrec.blogspot.com/feeds/3493694482188502894/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://imraan-prrec.blogspot.com/2018/02/ceng-222-computer-organization-lab-work_78.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5822823688987998362/posts/default/3493694482188502894'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5822823688987998362/posts/default/3493694482188502894'/><link rel='alternate' type='text/html' href='http://imraan-prrec.blogspot.com/2018/02/ceng-222-computer-organization-lab-work_78.html' title=''/><author><name>Imraan</name><uri>http://www.blogger.com/profile/13029977933710149084</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-5822823688987998362.post-1357993152641885181</id><published>2018-02-16T10:52:00.002+05:30</published><updated>2018-02-16T10:52:28.673+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="COLAB"/><title type='text'></title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: 14.0pt;&quot;&gt;CENG 222 – Computer Organization&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: 14.0pt;&quot;&gt;Lab Work 7&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: 14.0pt;&quot;&gt;CALL and RET instructions&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;CALL instruction is used for calling a subroutine/procedure/function.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;Usage:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;CALL &amp;lt;address or procedure name&amp;gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;RET instruction is used for returning back to caller procedure from the called procedure. RET has no arguments. Analyze the code given in experiment.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: 14.0pt;&quot;&gt;Using stack&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;Stack is used for temporarily storing data to memory. It is also used by CALL and RET to store caller instruction address. Hence, it is critically important to use stack properly:&lt;b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;Leave stack as how you find!&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;It means that you need to get all the data out which you store in the stack. Do not forget any data in the stack. You can use it temporarily!&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;PUSH&lt;/b&gt; instruction stores a data in the stack.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;PUSH &amp;lt;word data or word register&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;POP&lt;/b&gt; instruction retrieves a data from the stack.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;POP &amp;lt;word memory block or word register&amp;gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;Examples:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;PUSH AX&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;POP BX&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: 14.0pt;&quot;&gt;EXPERIMENTS&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: 14.0pt;&quot;&gt;1)&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;Write the following C code in assembly using no jump instructions (use loop command instead) You should not use other registers to store the value of CX temporarily. You should use the stack properly to store the value of CX properly.&lt;b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;Hint:&lt;/b&gt; Don&#39;t forget that loop command only operates on CX and to use a inner loop you must remember the value of CX for the outer loop at each iteration.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;int b =0;&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;for(int i=0; i&amp;lt;5;i++)&lt;br /&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;for(int j=0; j&amp;lt;10;j++)&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;b = I + 2*j;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: 14.0pt; line-height: 120%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: 14.0pt;&quot;&gt;2)&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;Write an assembly function that calculates factorial. Use the function to calculate 3! and 5!.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: 14.0pt;&quot;&gt;3)&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;Write an assembly program that calculates first 10 Fibonacci numbers. Numbers should be observed in dx consequently (since we did not learn how to print at the moment we can simulate it by observing the register in emulator).&lt;b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;Hint:&lt;/b&gt; Use the stack to reverse the order. Once you have pushed all the items, pop command will give you the last item.&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imraan-prrec.blogspot.com/feeds/1357993152641885181/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://imraan-prrec.blogspot.com/2018/02/ceng-222-computer-organization-lab-work_48.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5822823688987998362/posts/default/1357993152641885181'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5822823688987998362/posts/default/1357993152641885181'/><link rel='alternate' type='text/html' href='http://imraan-prrec.blogspot.com/2018/02/ceng-222-computer-organization-lab-work_48.html' title=''/><author><name>Imraan</name><uri>http://www.blogger.com/profile/13029977933710149084</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-5822823688987998362.post-5260423952824763137</id><published>2018-02-16T10:52:00.000+05:30</published><updated>2018-02-16T10:52:01.043+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="COLAB"/><title type='text'></title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;h1 style=&quot;border-bottom: 1px solid rgb(238, 238, 238); box-sizing: border-box; color: #333333; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, &amp;quot;Segoe UI&amp;quot;, Arial, freesans, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 2.25em; line-height: 1.2; margin-bottom: 16px; margin-left: 0px; margin-right: 0px; margin-top: 0px !important; padding-bottom: 0.3em;&quot;&gt;CENG 222 – Computer Organization - Lab Work 6&lt;/h1&gt;&lt;h2 style=&quot;border-bottom: 1px solid rgb(238, 238, 238); box-sizing: border-box; color: #333333; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, &amp;quot;Segoe UI&amp;quot;, Arial, freesans, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;&quot;&gt;&lt;a aria-hidden=&quot;true&quot; class=&quot;anchor&quot; href=&quot;http://ceng222.cankaya.edu.tr/uploads/files/labwork6.html#exercises&quot; id=&quot;user-content-exercises&quot; style=&quot;box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1; margin-left: -18px; padding-right: 2px; text-decoration-line: none;&quot;&gt;&lt;span aria-hidden=&quot;true&quot; class=&quot;octicon octicon-link&quot; style=&quot;-webkit-font-smoothing: antialiased; box-sizing: border-box; color: black; display: inline-block; font-family: octicons-anchor; font-size: 16px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: normal; line-height: 1; text-rendering: auto; user-select: none; vertical-align: middle; visibility: hidden;&quot;&gt;&lt;/span&gt;&lt;/a&gt;Exercises&lt;/h2&gt;&lt;div style=&quot;box-sizing: border-box; color: #333333; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, &amp;quot;Segoe UI&amp;quot;, Arial, freesans, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 16px; margin-bottom: 16px;&quot;&gt;Re-write the following C codes in assembly.&lt;/div&gt;&lt;ol style=&quot;box-sizing: border-box; color: #333333; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, &amp;quot;Segoe UI&amp;quot;, Arial, freesans, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 16px; margin-bottom: 0px !important; margin-top: 0px; padding: 0px 0px 0px 2em;&quot;&gt;&lt;li style=&quot;box-sizing: border-box;&quot;&gt;&lt;div style=&quot;box-sizing: border-box; margin-bottom: 16px; margin-top: 16px;&quot;&gt;While loop&lt;/div&gt;&lt;div class=&quot;highlight highlight-source-c&quot; style=&quot;box-sizing: border-box; margin-bottom: 16px;&quot;&gt;&lt;pre style=&quot;background-color: #f7f7f7; border-radius: 3px; box-sizing: border-box; font-family: Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.6px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: 1.45; overflow: auto; padding: 16px; word-break: normal; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;box-sizing: border-box; color: #a71d5d;&quot;&gt;int&lt;/span&gt; a = &lt;span class=&quot;pl-c1&quot; style=&quot;box-sizing: border-box; color: #0086b3;&quot;&gt;125&lt;/span&gt;;&lt;br /&gt;&lt;span class=&quot;pl-k&quot; style=&quot;box-sizing: border-box; color: #a71d5d;&quot;&gt;int&lt;/span&gt; b = &lt;span class=&quot;pl-c1&quot; style=&quot;box-sizing: border-box; color: #0086b3;&quot;&gt;0&lt;/span&gt;;&lt;br /&gt;&lt;span class=&quot;pl-k&quot; style=&quot;box-sizing: border-box; color: #a71d5d;&quot;&gt;while&lt;/span&gt;(a&amp;gt;&lt;span class=&quot;pl-c1&quot; style=&quot;box-sizing: border-box; color: #0086b3;&quot;&gt;0&lt;/span&gt;){&lt;br /&gt;  b += a;&lt;br /&gt;  a -=&lt;span class=&quot;pl-c1&quot; style=&quot;box-sizing: border-box; color: #0086b3;&quot;&gt;2&lt;/span&gt;;&lt;br /&gt;}&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box;&quot;&gt;&lt;div style=&quot;box-sizing: border-box; margin-bottom: 16px; margin-top: 16px;&quot;&gt;While loop with a condition&lt;/div&gt;&lt;div class=&quot;highlight highlight-source-c&quot; style=&quot;box-sizing: border-box; margin-bottom: 16px;&quot;&gt;&lt;pre style=&quot;background-color: #f7f7f7; border-radius: 3px; box-sizing: border-box; font-family: Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.6px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: 1.45; overflow: auto; padding: 16px; word-break: normal; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;box-sizing: border-box; color: #a71d5d;&quot;&gt;int&lt;/span&gt; a = &lt;span class=&quot;pl-c1&quot; style=&quot;box-sizing: border-box; color: #0086b3;&quot;&gt;125&lt;/span&gt;;&lt;br /&gt;&lt;span class=&quot;pl-k&quot; style=&quot;box-sizing: border-box; color: #a71d5d;&quot;&gt;int&lt;/span&gt; b = &lt;span class=&quot;pl-c1&quot; style=&quot;box-sizing: border-box; color: #0086b3;&quot;&gt;0&lt;/span&gt;;&lt;br /&gt;&lt;span class=&quot;pl-k&quot; style=&quot;box-sizing: border-box; color: #a71d5d;&quot;&gt;while&lt;/span&gt;(a&amp;gt;&lt;span class=&quot;pl-c1&quot; style=&quot;box-sizing: border-box; color: #0086b3;&quot;&gt;0&lt;/span&gt;){&lt;br /&gt;  b += a;&lt;br /&gt;  &lt;span class=&quot;pl-k&quot; style=&quot;box-sizing: border-box; color: #a71d5d;&quot;&gt;if&lt;/span&gt;(a&amp;gt;&lt;span class=&quot;pl-c1&quot; style=&quot;box-sizing: border-box; color: #0086b3;&quot;&gt;10&lt;/span&gt;)&lt;br /&gt;    a -= &lt;span class=&quot;pl-c1&quot; style=&quot;box-sizing: border-box; color: #0086b3;&quot;&gt;2&lt;/span&gt;;&lt;br /&gt;  &lt;span class=&quot;pl-k&quot; style=&quot;box-sizing: border-box; color: #a71d5d;&quot;&gt;else&lt;/span&gt;&lt;br /&gt;    a--;&lt;br /&gt;}&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box;&quot;&gt;&lt;div style=&quot;box-sizing: border-box; margin-bottom: 16px; margin-top: 16px;&quot;&gt;For loop&lt;/div&gt;&lt;div class=&quot;highlight highlight-source-c&quot; style=&quot;box-sizing: border-box; margin-bottom: 16px;&quot;&gt;&lt;pre style=&quot;background-color: #f7f7f7; border-radius: 3px; box-sizing: border-box; font-family: Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.6px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: 1.45; overflow: auto; padding: 16px; word-break: normal; word-wrap: normal;&quot;&gt;b=&lt;span class=&quot;pl-c1&quot; style=&quot;box-sizing: border-box; color: #0086b3;&quot;&gt;0&lt;/span&gt;;&lt;br /&gt;&lt;span class=&quot;pl-k&quot; style=&quot;box-sizing: border-box; color: #a71d5d;&quot;&gt;for&lt;/span&gt;(i=&lt;span class=&quot;pl-c1&quot; style=&quot;box-sizing: border-box; color: #0086b3;&quot;&gt;0&lt;/span&gt;;i&amp;lt;&lt;span class=&quot;pl-c1&quot; style=&quot;box-sizing: border-box; color: #0086b3;&quot;&gt;10&lt;/span&gt;;i++)&lt;br /&gt;  b = b+ i*&lt;span class=&quot;pl-c1&quot; style=&quot;box-sizing: border-box; color: #0086b3;&quot;&gt;2&lt;/span&gt;;&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box;&quot;&gt;&lt;div style=&quot;box-sizing: border-box; margin-bottom: 16px; margin-top: 16px;&quot;&gt;Double for loop&lt;/div&gt;&lt;div class=&quot;highlight highlight-source-c&quot; style=&quot;box-sizing: border-box; margin-bottom: 16px;&quot;&gt;&lt;pre style=&quot;background-color: #f7f7f7; border-radius: 3px; box-sizing: border-box; font-family: Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.6px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: 1.45; overflow: auto; padding: 16px; word-break: normal; word-wrap: normal;&quot;&gt;b=&lt;span class=&quot;pl-c1&quot; style=&quot;box-sizing: border-box; color: #0086b3;&quot;&gt;0&lt;/span&gt;;&lt;br /&gt;&lt;span class=&quot;pl-k&quot; style=&quot;box-sizing: border-box; color: #a71d5d;&quot;&gt;for&lt;/span&gt;(i=&lt;span class=&quot;pl-c1&quot; style=&quot;box-sizing: border-box; color: #0086b3;&quot;&gt;0&lt;/span&gt;;i&amp;lt;&lt;span class=&quot;pl-c1&quot; style=&quot;box-sizing: border-box; color: #0086b3;&quot;&gt;5&lt;/span&gt;;i++)&lt;br /&gt;  &lt;span class=&quot;pl-k&quot; style=&quot;box-sizing: border-box; color: #a71d5d;&quot;&gt;for&lt;/span&gt;(j=&lt;span class=&quot;pl-c1&quot; style=&quot;box-sizing: border-box; color: #0086b3;&quot;&gt;0&lt;/span&gt;;j&amp;lt;&lt;span class=&quot;pl-c1&quot; style=&quot;box-sizing: border-box; color: #0086b3;&quot;&gt;5&lt;/span&gt;;j++)&lt;br /&gt;    b = b+ j*&lt;span class=&quot;pl-c1&quot; style=&quot;box-sizing: border-box; color: #0086b3;&quot;&gt;2&lt;/span&gt;;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box;&quot;&gt;&lt;div style=&quot;box-sizing: border-box; margin-bottom: 16px; margin-top: 16px;&quot;&gt;Do-while loop with a condition&lt;/div&gt;&lt;div class=&quot;highlight highlight-source-c&quot; style=&quot;box-sizing: border-box; margin-bottom: 16px;&quot;&gt;&lt;pre style=&quot;background-color: #f7f7f7; border-radius: 3px; box-sizing: border-box; font-family: Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.6px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: 1.45; overflow: auto; padding: 16px; word-break: normal; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;box-sizing: border-box; color: #a71d5d;&quot;&gt;int&lt;/span&gt; a = &lt;span class=&quot;pl-c1&quot; style=&quot;box-sizing: border-box; color: #0086b3;&quot;&gt;125&lt;/span&gt;;&lt;br /&gt;&lt;span class=&quot;pl-k&quot; style=&quot;box-sizing: border-box; color: #a71d5d;&quot;&gt;int&lt;/span&gt; b = &lt;span class=&quot;pl-c1&quot; style=&quot;box-sizing: border-box; color: #0086b3;&quot;&gt;0&lt;/span&gt;;&lt;br /&gt;&lt;span class=&quot;pl-k&quot; style=&quot;box-sizing: border-box; color: #a71d5d;&quot;&gt;do&lt;/span&gt;{&lt;br /&gt;  b += a;&lt;br /&gt;  &lt;span class=&quot;pl-k&quot; style=&quot;box-sizing: border-box; color: #a71d5d;&quot;&gt;if&lt;/span&gt;(a&amp;gt;&lt;span class=&quot;pl-c1&quot; style=&quot;box-sizing: border-box; color: #0086b3;&quot;&gt;10&lt;/span&gt;)&lt;br /&gt;     a -= &lt;span class=&quot;pl-c1&quot; style=&quot;box-sizing: border-box; color: #0086b3;&quot;&gt;2&lt;/span&gt;;&lt;br /&gt;  &lt;span class=&quot;pl-k&quot; style=&quot;box-sizing: border-box; color: #a71d5d;&quot;&gt;else&lt;/span&gt;&lt;br /&gt;    a--;&lt;br /&gt;}&lt;span class=&quot;pl-k&quot; style=&quot;box-sizing: border-box; color: #a71d5d;&quot;&gt;while&lt;/span&gt;(a&amp;gt;&lt;span class=&quot;pl-c1&quot; style=&quot;box-sizing: border-box; color: #0086b3;&quot;&gt;0&lt;/span&gt;)&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box;&quot;&gt;&lt;div style=&quot;box-sizing: border-box; margin-bottom: 16px; margin-top: 16px;&quot;&gt;Collatz conjecture&lt;/div&gt;&lt;div class=&quot;highlight highlight-source-c&quot; style=&quot;box-sizing: border-box; margin-bottom: 16px;&quot;&gt;&lt;pre style=&quot;background-color: #f7f7f7; border-radius: 3px; box-sizing: border-box; font-family: Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.6px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: 1.45; overflow: auto; padding: 16px; word-break: normal; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;box-sizing: border-box; color: #a71d5d;&quot;&gt;int&lt;/span&gt; a = &lt;span class=&quot;pl-c1&quot; style=&quot;box-sizing: border-box; color: #0086b3;&quot;&gt;21&lt;/span&gt;;&lt;br /&gt;&lt;span class=&quot;pl-k&quot; style=&quot;box-sizing: border-box; color: #a71d5d;&quot;&gt;while&lt;/span&gt;(a != &lt;span class=&quot;pl-c1&quot; style=&quot;box-sizing: border-box; color: #0086b3;&quot;&gt;1&lt;/span&gt;){&lt;br /&gt;  &lt;span class=&quot;pl-k&quot; style=&quot;box-sizing: border-box; color: #a71d5d;&quot;&gt;if&lt;/span&gt;(a%&lt;span class=&quot;pl-c1&quot; style=&quot;box-sizing: border-box; color: #0086b3;&quot;&gt;2&lt;/span&gt; == &lt;span class=&quot;pl-c1&quot; style=&quot;box-sizing: border-box; color: #0086b3;&quot;&gt;1&lt;/span&gt;)&lt;br /&gt;    a = &lt;span class=&quot;pl-c1&quot; style=&quot;box-sizing: border-box; color: #0086b3;&quot;&gt;3&lt;/span&gt;*a+&lt;span class=&quot;pl-c1&quot; style=&quot;box-sizing: border-box; color: #0086b3;&quot;&gt;1&lt;/span&gt;;&lt;br /&gt;  &lt;span class=&quot;pl-k&quot; style=&quot;box-sizing: border-box; color: #a71d5d;&quot;&gt;else&lt;/span&gt;&lt;br /&gt;    a = a/&lt;span class=&quot;pl-c1&quot; style=&quot;box-sizing: border-box; color: #0086b3;&quot;&gt;2&lt;/span&gt;;&lt;br /&gt;}&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imraan-prrec.blogspot.com/feeds/5260423952824763137/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://imraan-prrec.blogspot.com/2018/02/ceng-222-computer-organization-lab-work_71.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5822823688987998362/posts/default/5260423952824763137'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5822823688987998362/posts/default/5260423952824763137'/><link rel='alternate' type='text/html' href='http://imraan-prrec.blogspot.com/2018/02/ceng-222-computer-organization-lab-work_71.html' title=''/><author><name>Imraan</name><uri>http://www.blogger.com/profile/13029977933710149084</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-5822823688987998362.post-4702443571414007935</id><published>2018-02-16T10:51:00.004+05:30</published><updated>2018-02-16T10:51:47.379+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="COLAB"/><title type='text'></title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: 14.0pt;&quot;&gt;CENG 222 – Computer Organization&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: 14.0pt;&quot;&gt;Lab Work 5&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: 14.0pt;&quot;&gt;Jump and Labels&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;JMP instruction allows to “jump” into an address of a instruction in our program. You can make loops by using JMP. Usage of JMP:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;JMP &amp;lt;address or label name&amp;gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;In assembly programs, we generally use labels to mark a starting point of a code. They end with a colon sign (“:”). Example:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;L1:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;…&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;MOV …&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;SUB …&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;…&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;JMP L1&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; Jump into the &lt;u&gt;first&lt;/u&gt;instruction &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;after&lt;/b&gt; the label “L1”.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: 14.0pt;&quot;&gt;Testing conditions and Conditional Jump&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;In order to test a condition, you can use SUB or AND instructions. For example you can test A = B, A &amp;gt; B, A &amp;gt;= B, A &amp;lt; B and A &amp;lt;=B conditions using SUB. You can also test the status of any bit of a register by using AND. These instructions will modify the flag bits according to the results they produce. Therefore, you can make a conditional jump using flag bits’ status. However, SUB and AND instructions also store the result into the destination register. If you just want to test the condition without modifying operands, you need to use CMP and TEST instructions. These instructions are used to modify just the flag bits.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;CMP&lt;/b&gt; is the same as SUB but it does not modify the destination. &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;TEST&lt;/b&gt; is the same as AND but it does not modify the destination. However they both modify the flag bits.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;Analyze the code below:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;…&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;MOV CX, 0&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;L1:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;CMP CX, 10&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;JE L2&lt;span style=&quot;mso-tab-count: 3;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; Go to L2 if CX = 10&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;INC CX&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;JMP L1&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; Go to L1 (CMP instruction)&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;L2:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;…&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;Some of conditional jump instructions are:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;JE, JNE, JZ, JNZ, JG, JNG, JL, JNL, JLE, JGE, JNLE, JNGE&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;JE&lt;/b&gt;:&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Jump if equal to&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;JNE&lt;/b&gt;:&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Jump if not equal to&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;JZ&lt;/b&gt;:&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Jump if zero&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;JNZ&lt;/b&gt;:&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Jump if not zero&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;JG&lt;/b&gt;:&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Jump if greater than&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;JNG&lt;/b&gt;:&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Jump if not greater than&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;JL&lt;/b&gt;:&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Jump if less than&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;JNL&lt;/b&gt;:&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Jump if not less than&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;JLE&lt;/b&gt;:&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Jump if less than or equal to&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;JGE&lt;/b&gt;:&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Jump if greater than or equal to&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;JNLE&lt;/b&gt;:&lt;span style=&quot;mso-tab-count: 1;&quot;&gt; &lt;/span&gt;Jump if not less than nor equal to (same as JG)&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;JNGE&lt;/b&gt;:&lt;span style=&quot;mso-tab-count: 1;&quot;&gt; &lt;/span&gt;Jump if not greater than nor equal to (same as JL)&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;Please note that conditional jump instructions are useless alone, but if you use an instruction that modifies flag bits, before the jump instruction, you can make IF…THEN…ELSE structures. For example:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;CMP var1, var2&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; Compare var1 and var2&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;JG L1&lt;span style=&quot;mso-tab-count: 3;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; Jump to L1 if var1&amp;gt;var2&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;…&lt;span style=&quot;mso-tab-count: 3;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; “IF” block&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;…&lt;span style=&quot;mso-tab-count: 3;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; These instructions will be executed if var1&amp;lt;=var2&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;JMP L2&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; End of “IF” block, we need to jump L2&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;L1:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;…&lt;span style=&quot;mso-tab-count: 3;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; “ELSE” block&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;…&lt;span style=&quot;mso-tab-count: 3;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; These instructions will be executed if var1&amp;gt;var2&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;L2:&lt;span style=&quot;mso-tab-count: 4;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; End of “IF…ELSE” block&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: 14.0pt;&quot;&gt;LOOP instruction&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;LOOP instruction allows creating a simple loop using CX register as a counter.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;Usage:&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;LOOP &amp;lt;address of label&amp;gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;You need to initialize CX first for the number of repentance of the loop. Analyze the code below:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;MOV CX, 10&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; Loop 10 times&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;L1:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;…&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;…&lt;span style=&quot;mso-tab-count: 3;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; Instructions in the loop&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;…&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;LOOP L1&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;LOOP instruction simply decrements CX and tests if it is zero. If not zero, then jump. Otherwise, continue.&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;EXPERIMENTS&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;1.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Find the sum [1+2+3+4+5+...+10] by using both compare-jump combination and loop instruction.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;2.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Find the sum [1+3+5+..+17] by using both compare-jump combination and loop instruction.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;3.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Find the sum of numbers between 0 and 20 that are not divisible by 4&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;4.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Write a program to find the factorial of the number given in AL register. (Assume that the number is sufficiently small so that the factorial wont be larger than 32 bits)&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imraan-prrec.blogspot.com/feeds/4702443571414007935/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://imraan-prrec.blogspot.com/2018/02/ceng-222-computer-organization-lab-work_41.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5822823688987998362/posts/default/4702443571414007935'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5822823688987998362/posts/default/4702443571414007935'/><link rel='alternate' type='text/html' href='http://imraan-prrec.blogspot.com/2018/02/ceng-222-computer-organization-lab-work_41.html' title=''/><author><name>Imraan</name><uri>http://www.blogger.com/profile/13029977933710149084</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-5822823688987998362.post-2550525401012724088</id><published>2018-02-16T10:51:00.002+05:30</published><updated>2018-02-16T10:51:16.795+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="COLAB"/><title type='text'></title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: 14.0pt;&quot;&gt;CENG 222 – Computer Organization&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: 14.0pt;&quot;&gt;Lab Work 4&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: 14.0pt;&quot;&gt;Logical Operations&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;Some of bitwise logical operations are:&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;AND, OR, NOT, XOR&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;Bitwise logical instructions apply the operation between each corresponding bits.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;Examples:&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;AND data, ax&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; data = data AND ax&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;OR dx, ax&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; dx = dx OR ax&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;NOT cl&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; cl = NOT cl&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: 14.0pt;&quot;&gt;XOR ax, ax&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; ax = ax XOR ax&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: 14.0pt;&quot;&gt;Shift Operations&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: 14.0pt;&quot;&gt;Shift operations basically shift the bits of the given target (given as first parameter) by a number (given by second parameter)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: 14.0pt;&quot;&gt;Some Shift Operations are:&lt;b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 14.0pt;&quot;&gt;SHL,SHR (logical/unsigned),SAL, SAR(arithmetic/signed)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: 14.0pt;&quot;&gt;See 8086 help for detailed explanation of instructions.&lt;b&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/b&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: 14.0pt;&quot;&gt;Rotate Operations&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: 14.0pt;&quot;&gt;Shift operations work like shift operations, they the bits of the given target (given as first parameter) by a number (given by second parameter), the shifted bits are attached to the other side of the target.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: 14.0pt;&quot;&gt;Some Rotate Operations Are:&lt;b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 14.0pt;&quot;&gt;ROL, ROR (without carry), RCL, RCR (with carry)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: 14.0pt;&quot;&gt;See 8086 help for detailed explanation of instructions.&lt;b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;h1 style=&quot;margin-left: 0in; mso-list: none; tab-stops: .5in; text-indent: 0in;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/h1&gt;&lt;h1 style=&quot;page-break-before: always;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;EXPERIMENT 1&lt;/span&gt;&lt;/h1&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;Given bit values&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;A = 10101010b&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;B = 11001100b&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;C = 11110000b&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;Compute the following logical operations:&lt;/div&gt;&lt;ul style=&quot;margin-top: 0in;&quot; type=&quot;disc&quot;&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l1 level1 lfo2; tab-stops: list .5in; text-align: justify;&quot;&gt;A&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;AND&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;B&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l1 level1 lfo2; tab-stops: list .5in; text-align: justify;&quot;&gt;A OR (B&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;      &lt;/span&gt;AND&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;C)&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l1 level1 lfo2; tab-stops: list .5in; text-align: justify;&quot;&gt;A OR B OR (NOT C)&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l1 level1 lfo2; tab-stops: list .5in; text-align: justify;&quot;&gt;(A&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;AND B) OR      (A&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;AND (NOT&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;C))&lt;b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;h1&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;EXPERIMENT 2&lt;/span&gt;&lt;span style=&quot;font-size: 12.0pt; font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h1&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;Perform the following operations without using a MUL/ IMUL or DIV/IDIV command. &lt;b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;Hint: &lt;/b&gt;When you apply a single shift operation for a number you can multiply it or divide it by 2. Shift left for multiplying, shift right for dividing.&lt;b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;ul style=&quot;margin-top: 0in;&quot; type=&quot;disc&quot;&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l2 level1 lfo3; tab-stops: list .5in; text-align: justify;&quot;&gt;0FAAh *2&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l2 level1 lfo3; tab-stops: list .5in; text-align: justify;&quot;&gt;0FAAh / 2&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l2 level1 lfo3; tab-stops: list .5in; text-align: justify;&quot;&gt;FFAAh&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;/ 2&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l2 level1 lfo3; tab-stops: list .5in; text-align: justify;&quot;&gt;FFAAh * 2&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l2 level1 lfo3; tab-stops: list .5in; text-align: justify;&quot;&gt;&lt;span lang=&quot;DE&quot; style=&quot;mso-ansi-language: DE;&quot;&gt;00AAh * 5      ( Hint: 5*x = 4*x + x)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l2 level1 lfo3; tab-stops: list .5in; text-align: justify;&quot;&gt;00FBh *&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;2 +      000Bh * 4&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l2 level1 lfo3; tab-stops: list .5in; text-align: justify;&quot;&gt;00AAh * 18&lt;b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;h1&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;EXPERIMENT 3&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h1&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Consider using logical and shift operations for the following assignments. &lt;b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&lt;b&gt;Hint: &lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;AND AL, 11111101b; command will change the second bit of AL to 0, without changing the other bits&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;similarly&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;OR AL, 00000010b will change the second bit of AL to 1, without changing the other bits&lt;/div&gt;&lt;ul style=&quot;margin-top: 0in;&quot; type=&quot;disc&quot;&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l3 level1 lfo4; tab-stops: list .5in; text-align: justify;&quot;&gt;Assign&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;AX any      value. Get the 4&lt;sup&gt;th&lt;/sup&gt; bit of AX to the first bit of BX. All the      other bits of BX should be zero&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l3 level1 lfo4; tab-stops: list .5in; text-align: justify;&quot;&gt;Get the&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;3&lt;sup&gt;rd&lt;/sup&gt;     bit of AL to 5&lt;sup&gt;th&lt;/sup&gt; bit of AH. Other bits of AH should be      unchanged.&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l3 level1 lfo4; tab-stops: list .5in; text-align: justify;&quot;&gt;Get the 2&lt;sup&gt;nd&lt;/sup&gt; and 3&lt;sup&gt;rd&lt;/sup&gt; bits of AH      to 1&lt;sup&gt;st&lt;/sup&gt; and 2&lt;sup&gt;nd&lt;/sup&gt; bits of AL&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imraan-prrec.blogspot.com/feeds/2550525401012724088/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://imraan-prrec.blogspot.com/2018/02/ceng-222-computer-organization-lab-work_34.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5822823688987998362/posts/default/2550525401012724088'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5822823688987998362/posts/default/2550525401012724088'/><link rel='alternate' type='text/html' href='http://imraan-prrec.blogspot.com/2018/02/ceng-222-computer-organization-lab-work_34.html' title=''/><author><name>Imraan</name><uri>http://www.blogger.com/profile/13029977933710149084</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-5822823688987998362.post-5226516132217593186</id><published>2018-02-16T10:51:00.000+05:30</published><updated>2018-02-16T10:51:04.698+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="COLAB"/><title type='text'></title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: 14.0pt;&quot;&gt;CENG 222 – Computer Organization&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: 14.0pt;&quot;&gt;Lab Work 3&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: 14.0pt;&quot;&gt;Special Register: FLAGS&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;The flags register is unlike the other registers on the microprocessor. The other registers hold eight or 16 bit values. The flags register is simply a collection of one bit values which help determine the current state of the processor. Although the flags register is 16 bits wide, some of them are used. Of these flags, four flags you use all the time: zero, carry, sign, and overflow. These flags are the 8086 &lt;i&gt;condition codes. &lt;/i&gt;The flags register appears below:&lt;/div&gt;&lt;div align=&quot;center&quot; style=&quot;text-align: center;&quot;&gt;&lt;span lang=&quot;TR&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shapetype  id=&quot;_x0000_t75&quot; coordsize=&quot;21600,21600&quot; o:spt=&quot;75&quot; o:preferrelative=&quot;t&quot;  path=&quot;m@4@5l@4@11@9@11@9@5xe&quot; filled=&quot;f&quot; stroked=&quot;f&quot;&gt; &lt;v:stroke joinstyle=&quot;miter&quot;/&gt; &lt;v:formulas&gt;  &lt;v:f eqn=&quot;if lineDrawn pixelLineWidth 0&quot;/&gt;  &lt;v:f eqn=&quot;sum @0 1 0&quot;/&gt;  &lt;v:f eqn=&quot;sum 0 0 @1&quot;/&gt;  &lt;v:f eqn=&quot;prod @2 1 2&quot;/&gt;  &lt;v:f eqn=&quot;prod @3 21600 pixelWidth&quot;/&gt;  &lt;v:f eqn=&quot;prod @3 21600 pixelHeight&quot;/&gt;  &lt;v:f eqn=&quot;sum @0 0 1&quot;/&gt;  &lt;v:f eqn=&quot;prod @6 1 2&quot;/&gt;  &lt;v:f eqn=&quot;prod @7 21600 pixelWidth&quot;/&gt;  &lt;v:f eqn=&quot;sum @8 21600 0&quot;/&gt;  &lt;v:f eqn=&quot;prod @7 21600 pixelHeight&quot;/&gt;  &lt;v:f eqn=&quot;sum @10 21600 0&quot;/&gt; &lt;/v:formulas&gt; &lt;v:path o:extrusionok=&quot;f&quot; gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot;/&gt; &lt;o:lock v:ext=&quot;edit&quot; aspectratio=&quot;t&quot;/&gt;&lt;/v:shapetype&gt;&lt;v:shape id=&quot;_x0000_i1025&quot; type=&quot;#_x0000_t75&quot; style=&#39;width:225pt;  height:129pt&#39; filled=&quot;t&quot;&gt; &lt;v:fill color2=&quot;black&quot;/&gt; &lt;v:imagedata src=&quot;file:///C:\Users\CADCAM\AppData\Local\Temp\msohtmlclip1\01\clip_image001.png&quot;   o:title=&quot;&quot;/&gt;&lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;img height=&quot;172&quot; src=&quot;file:///C:/Users/CADCAM/AppData/Local/Temp/msohtmlclip1/01/clip_image002.png&quot; v:shapes=&quot;_x0000_i1025&quot; width=&quot;300&quot; /&gt;&lt;!--[endif]--&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;Zero&lt;/b&gt; flag bit is set when last instruction produces 0 as a result.&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;Carry&lt;/b&gt; flag bit is set when last instruction produces a number with a carry.&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;Sign&lt;/b&gt; flag bit is set when last instruction produces a negative number.&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;Overflow&lt;/b&gt; flag bit is set when last instruction produces a number which cannot fit in register.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;Flag bits are generally used for testing the conditions. For example, if you want to test whether A = B, you need to subtract A from B, then if you have a result 0, zero flag will be set. Therefore, you need to check zero flag to obtain the result of the condition.&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: 14.0pt;&quot;&gt;Arithmetic operations&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;Some of the arithmetic operations that are supported by Intel microprocessors are:&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;ADD, ADC, INC, DEC, SUB, MUL, IMUL, DIV, IDIV&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;ADD &amp;lt;destination&amp;gt;, &amp;lt;addend&amp;gt;&lt;/b&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; destination = destination + addend&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;ADD instruction adds &amp;lt;addend&amp;gt; to &amp;lt;destination&amp;gt;.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;ADD ax, bx&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; ax = ax + bx&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;ADD var, 2&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; var = var + 2&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;ADD al, cl&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; al = al + cl&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;ADC &amp;lt;destination&amp;gt;, &amp;lt;addend&amp;gt;&lt;/b&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; destination = destination + addend + C&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;ADC instruction adds &amp;lt;addend&amp;gt; + Carry to &amp;lt;destination&amp;gt;. It is used to add large sized numbers.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;Let AX:BX be 32 bits number. Let CX:DX be another 32 bits number. In order to add these numbers together using 16-bits microprocessor, we need to use ADC.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;ADD BX, DX&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; Add low order digits&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;ADC AX, CX&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; Add high order digits together with carry&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;The instructions above simply calculates: (AX:BX) = (AX:BX) + (CX:DX)&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;INC &amp;lt;destination&amp;gt;&lt;/b&gt;&lt;span style=&quot;mso-tab-count: 4;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; destination = destination + 1;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;DEC &amp;lt;destination&amp;gt;&lt;/b&gt;&lt;span style=&quot;mso-tab-count: 4;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; destination = destination - 1;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;INC instruction increments and DEC instruction decrements the destination.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;INC dx&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;DEX al&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;INC var&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;SUB &amp;lt;destination&amp;gt;, &amp;lt;subtrahend&amp;gt;&lt;/b&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; destination = destination – subtrahend&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;SUB instruction subtracts &amp;lt;subtrahend&amp;gt; from &amp;lt;destination&amp;gt;.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;SUB var, 2&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; var = var - 2;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;SUB bl, cl&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; bl = bl – cl;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;SUB bx, ax&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; bx = bx – ax;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;MUL &amp;lt;multiplicand&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;MUL instruction multiplies AX or AL register by &amp;lt;multiplicand&amp;gt;. Destination is AX and DX. If &amp;lt;multiplicand&amp;gt; is an 8-bits number, it will be multiplied by AL. The destination is AX. If &amp;lt;multiplicand&amp;gt; is a 16-bits number, it will be multiplied by AX. The destination is (DX:AX). Here are some examples to make it clear:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;MUL DL&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; AX = AL * DL&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;MUL BX&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; (DX:AX) = AX * BX&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;MUL var&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; AX = AL * var&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;(Assuming var is a byte)&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;MUL var&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; (DX:AX) = AX * var&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;(Assuming var is a word)&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;IMUL&lt;/b&gt; is the same as MUL, but it is used for signed numbers which are stored in 2’s complement format.&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;DIV &amp;lt;divisor&amp;gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;DIV instruction divides AX or (DX:AX) by &amp;lt;divisor&amp;gt;.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;If &amp;lt;divisor&amp;gt; is an 8-bits number,&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;AL = AX / &amp;lt;divisor&amp;gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;AH = AX mod &amp;lt;divisor&amp;gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;If &amp;lt;divisor&amp;gt; is a 16-bits number,&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;AX = (DX:AX) / &amp;lt;divisor&amp;gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;DX = (DX:AX) mod &amp;lt;divisor&amp;gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;Here is piece of code for division.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;MOV AX, 1000&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;MOV DL, 30&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;DIV DL&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;The code above divides 1000 by 30. The quotient (33) will be in AL. The remainder (10) will be in AH. If the number is in &amp;lt;divisor&amp;gt; is too small or zero, the quotient will be too large to fit in AL. Therefore you need to select the registers according to their sizes. For example if you want to divide 1000 by 3, you will get 333 as a quotient which cannot be stored in 8-bits register AL! In order to do this, you need to use 16-bits division. Here is how:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;MOV AX, 1000&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; The number is 1000.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;MOV DX, 0&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; DX = 0, so (DX:AX) is 0000:1000 = 1000.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;MOV BX, 3&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; Divisor is 3&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;DIV BX&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; AX = (DX:AX) / 3 = 1000 / 3 = 333. AX is capable to store 333.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-tab-count: 3;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; DX = (DX:AX) mod 3 = 1000 mod 3 = 1.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;IDIV&lt;/b&gt; is the same as DIV, but it is used for signed numbers which are stored in 2’s complement format.&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;EXPERIMENTS Advanced Arithmetic Operations&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;I) &lt;/b&gt;Write assembly program to do the following substractions.For each value, what is the hexadecimal result? What is the decimal result? Investigate Carry and Sign and Zero Bits.&lt;/div&gt;&lt;ul style=&quot;margin-top: 0in;&quot; type=&quot;disc&quot;&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify;&quot;&gt;01h – 01h&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify;&quot;&gt;00h + 00h&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify;&quot;&gt;265Ch - 1AFFh.&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify;&quot;&gt;0000h - 0001h&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;II)&lt;/b&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;Write assembly programs to find the sum of the following hexadecimal numbers. For each summation answer following questions. Does the result fit in a 16 bit register? Why? Investigate the Carry and sign bits.&lt;/div&gt;&lt;ul style=&quot;margin-top: 0in;&quot; type=&quot;disc&quot;&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l1 level1 lfo2; tab-stops: list .5in; text-align: justify;&quot;&gt;0Fh + 01h&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l1 level1 lfo2; tab-stops: list .5in; text-align: justify;&quot;&gt;FFFFh + 0001h&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l1 level1 lfo2; tab-stops: list .5in; text-align: justify;&quot;&gt;0FAAh + 1B04h +&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;      &lt;/span&gt;F0A0h.&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;III) &lt;/b&gt;Write assembly programs to do the following computations. Chose registers according to the data and state how the resulting number is represented.&lt;/div&gt;&lt;ul style=&quot;margin-top: 0in;&quot; type=&quot;disc&quot;&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l2 level1 lfo3; tab-stops: list .5in; text-align: justify;&quot;&gt;03h * 05h&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l2 level1 lfo3; tab-stops: list .5in; text-align: justify;&quot;&gt;A1A1h * 00F0h&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l2 level1 lfo3; tab-stops: list .5in; text-align: justify;&quot;&gt;(A5C4h * 0040h) + 00FFh&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l2 level1 lfo3; tab-stops: list .5in; text-align: justify;&quot;&gt;(A5C4h / 0004h) – 0A0Ah&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l2 level1 lfo3; tab-stops: list .5in; text-align: justify;&quot;&gt;02h * AAh * F2h&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imraan-prrec.blogspot.com/feeds/5226516132217593186/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://imraan-prrec.blogspot.com/2018/02/ceng-222-computer-organization-lab-work_47.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5822823688987998362/posts/default/5226516132217593186'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5822823688987998362/posts/default/5226516132217593186'/><link rel='alternate' type='text/html' href='http://imraan-prrec.blogspot.com/2018/02/ceng-222-computer-organization-lab-work_47.html' title=''/><author><name>Imraan</name><uri>http://www.blogger.com/profile/13029977933710149084</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-5822823688987998362.post-4742568284745062660</id><published>2018-02-16T10:50:00.004+05:30</published><updated>2018-02-16T10:50:41.562+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="COLAB"/><title type='text'></title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: 14.0pt;&quot;&gt;CENG 222 – Computer Organization&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: 14.0pt;&quot;&gt;Lab Work 2&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;h1&gt;Arithmetic operations&lt;/h1&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;Some of the arithmetic operations that are supported by Intel microprocessors are:&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;ADD, ADC, INC, DEC, SUB, MUL, IMUL, DIV, IDIV&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;ADD &amp;lt;destination&amp;gt;, &amp;lt;addend&amp;gt;&lt;/b&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; destination = destination + addend&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;ADD instruction adds &amp;lt;addend&amp;gt; to &amp;lt;destination&amp;gt;.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;ADD ax, bx&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; ax = ax + bx&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;ADD var, 2&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; var = var + 2&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;ADD al, cl&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; al = al + cl&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;INC &amp;lt;destination&amp;gt;&lt;/b&gt;&lt;span style=&quot;mso-tab-count: 4;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; destination = destination + 1;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;DEC &amp;lt;destination&amp;gt;&lt;/b&gt;&lt;span style=&quot;mso-tab-count: 4;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; destination = destination - 1;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;INC instruction increments and DEC instruction decrements the destination.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;INC dx&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;DEX al&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;INC var&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;SUB &amp;lt;destination&amp;gt;, &amp;lt;subtrahend&amp;gt;&lt;/b&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; destination = destination – subtrahend&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;SUB instruction subtracts &amp;lt;subtrahend&amp;gt; from &amp;lt;destination&amp;gt;.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;SUB var, 2&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; var = var - 2;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;SUB bl, cl&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; bl = bl – cl;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;SUB bx, ax&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; bx = bx – ax;&lt;/div&gt;&lt;h1&gt;EXP1 – Direct Addressing and Arithmetic Operations&lt;/h1&gt;&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin-left: .5in; mso-list: l2 level1 lfo3; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;1.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Convert your year of birth to a hexadecimal number and store write it to memory address 0200h. Is 1 byte enough to store the number? Why/why not? Do the writing to memory accordingly.&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin-left: .5in; mso-list: l2 level1 lfo3; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;2.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Get the last 4 digits of your student number and write it to next memory address. Consider which memory address you should be using according to the answer of the first question.&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin-left: .5in; mso-list: l2 level1 lfo3; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;3.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Find the sum of these two numbers. Store the result in register DX.&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin-left: .5in; mso-list: l2 level1 lfo3; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;4.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Subtract first number from second store the result in register CX.&lt;/div&gt;&lt;h1&gt;EXP2 – Indirect Addressing and Arithmetic Operations&lt;/h1&gt;&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin-left: .5in; mso-list: l3 level1 lfo4; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;1.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Store 50 (decimal) in memory address 0300h, this time use indirect addressing (access with [BX] ). Is 1 byte enough to store the number? Why/why not? Do the writing to memory accordingly.&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin-left: .5in; mso-list: l3 level1 lfo4; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;2.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Store 51&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;in next address. Consider which memory address you should be using according to the answer of the first question.&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin-left: .5in; mso-list: l3 level1 lfo4; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;3.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Store 52&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;in next address. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin-left: .5in; mso-list: l3 level1 lfo4; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;4.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Find the sum of 3 numbers. Store the result in the next adress.&lt;/div&gt;&lt;h1&gt;EXP3 – Advanced Data Transfer&lt;/h1&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;Analyze the assembly code below:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;border-collapse: collapse; margin-left: 3.5pt; mso-padding-alt: 0in 3.5pt 0in 3.5pt; mso-table-layout-alt: fixed;&quot;&gt; &lt;tbody&gt;&lt;tr style=&quot;mso-yfti-lastrow: yes;&quot;&gt;  &lt;td style=&quot;border: solid black 1.0pt; mso-border-alt: solid black .5pt; padding: 0in 3.5pt 0in 3.5pt; width: 442.0pt;&quot; valign=&quot;top&quot; width=&quot;589&quot;&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt;title Register test program&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt;.model small&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt;.stack 100h&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt;.data&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt;msg db &quot;AB&quot;,0dh,0ah,&#39;$&#39;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt;.code&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt;main proc&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;mov   ax,@data&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;mov   ds,ax&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt;; Add your code here&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt;; ------------------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt;; ------------------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;mov   ah,9&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;mov   dx,offset msg&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;int   21h&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;mov   ax, 4c00h&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;int   21h&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt;main endp&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt;end main&lt;/span&gt;&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;The program above prints “AB” to the console. The message “AB” is stored at msg in data segment. Therefore, “offset msg” is the starting address of the string. Modify the code according to the following experiments &lt;b&gt;(Try both MOV and LEA commands)&lt;/b&gt; :&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in; mso-list: l1 level1 lfo2; tab-stops: list .5in; text-align: justify; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;1-&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Copy the second byte stored at &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;“msg” (which is ‘B’ currently)&lt;/b&gt; to the first byte. The output should be “BB”. In order to do that, load 2-bytes data stored at &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;“msg”&lt;/b&gt; into a &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;16-bits&lt;/b&gt;register. Copy one part of the register to the other part. Then, write your register back to msg.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in; mso-list: l1 level1 lfo2; tab-stops: list .5in; text-align: justify; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;2-&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Copy the first byte stored at &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;“msg” (which is ‘A’ currently)&lt;/b&gt; to the second byte. The output should be “AA”. To achieve this, load the first byte stored at &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;“msg”&lt;/b&gt; into one &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;8-bits&lt;/b&gt; register (high or low part) and copy it onto the other part and write the data stored in register back to msg.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in; mso-list: l1 level1 lfo2; tab-stops: list .5in; text-align: justify; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;3-&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Load the data stored at &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;“msg”&lt;/b&gt; into one register and swap the high and low parts of the register using a temporary &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;8-bits&lt;/b&gt; register. Then write back your “swapped” register onto msg. The output should be “BA”.&lt;/div&gt;&lt;h1&gt;Advanced usage of MOV in MASM&lt;span style=&quot;font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h1&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;Previously we used “offset” to point a memory location, but MASM supports a more user friendly way. As explained in previous lab, MASM does not support a moving operation to a memory location directly pointed by an immediate data but actually, currently used Intel microprocessors support it! Fortunately, some advanced usage of MOV instructions in MASM make it possible. Analyze the source and assembled code below:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;border-collapse: collapse; margin-left: 12.0pt; mso-padding-alt: 0in 3.5pt 0in 3.5pt; mso-table-layout-alt: fixed;&quot;&gt; &lt;tbody&gt;&lt;tr style=&quot;height: 13.5pt;&quot;&gt;  &lt;td style=&quot;border-right: none; border: solid black 1.0pt; height: 13.5pt; mso-border-bottom-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-top-alt: solid black .5pt; padding: 0in 3.5pt 0in 3.5pt; width: 207.0pt;&quot; valign=&quot;top&quot; width=&quot;276&quot;&gt;  &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;Source Code&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;  &lt;td style=&quot;border: solid black 1.0pt; height: 13.5pt; mso-border-alt: solid black .5pt; padding: 0in 3.5pt 0in 3.5pt; width: 262.0pt;&quot; valign=&quot;top&quot; width=&quot;349&quot;&gt;  &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;Assembled code&lt;/b&gt;&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr style=&quot;height: 251.55pt; mso-yfti-lastrow: yes;&quot;&gt;  &lt;td style=&quot;border-bottom: solid black 1.0pt; border-left: solid black 1.0pt; border-right: none; border-top: none; height: 251.55pt; mso-border-bottom-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-top-alt: solid black .5pt; mso-border-top-alt: solid black .5pt; padding: 0in 3.5pt 0in 3.5pt; width: 207.0pt;&quot; valign=&quot;top&quot; width=&quot;276&quot;&gt;  &lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 9.0pt; mso-bidi-font-family: Courier;&quot;&gt;title Register test program&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 9.0pt; mso-bidi-font-family: Courier;&quot;&gt;.model small&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 9.0pt; mso-bidi-font-family: Courier;&quot;&gt;.stack 100h&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 9.0pt; mso-bidi-font-family: Courier;&quot;&gt;.data&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 9.0pt; mso-bidi-font-family: Courier;&quot;&gt;msg db &quot;AB&quot;,0dh,0ah,&#39;$&#39;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 9.0pt; mso-bidi-font-family: Courier;&quot;&gt;.code&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 9.0pt; mso-bidi-font-family: Courier;&quot;&gt;main proc&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 9.0pt; mso-bidi-font-family: Courier;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;mov   ax,@data&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 9.0pt; mso-bidi-font-family: Courier;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;mov   ds,ax&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 9.0pt; mso-bidi-font-family: Courier;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;mov al,msg&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 9.0pt; mso-bidi-font-family: Courier;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;mov msg+1,al&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 9.0pt; mso-bidi-font-family: Courier;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;mov   ah,9&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 9.0pt; mso-bidi-font-family: Courier;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;mov   dx,offset msg&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 9.0pt; mso-bidi-font-family: Courier;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;int   21h&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 9.0pt; mso-bidi-font-family: Courier;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;mov   ax, 4c00h&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 9.0pt; mso-bidi-font-family: Courier;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;int   21h&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 9.0pt; mso-bidi-font-family: Courier;&quot;&gt;main endp&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 9.0pt; mso-bidi-font-family: Courier;&quot;&gt;end main&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;td style=&quot;border-top: none; border: solid black 1.0pt; height: 251.55pt; mso-border-alt: solid black .5pt; mso-border-top-alt: solid black .5pt; padding: 0in 3.5pt 0in 3.5pt; width: 262.0pt;&quot; valign=&quot;top&quot; width=&quot;349&quot;&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;layout-grid-mode: char;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 9.0pt; mso-bidi-font-family: Courier;&quot;&gt;3BA6:0000 B8A73B&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;MOV AX,3BA7&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 9.0pt; mso-bidi-font-family: Courier;&quot;&gt;3BA6:0003 8ED8&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;MOV DS,AX&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 9.0pt; mso-bidi-font-family: Courier;&quot;&gt;3BA6:0005   A00800&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;MOV AL,BYTE PTR [0008]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 9.0pt; mso-bidi-font-family: Courier;&quot;&gt;3BA6:0008   A20900&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;MOV BYTE PTR [0009],AL&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 9.0pt; mso-bidi-font-family: Courier;&quot;&gt;3BA6:000B B409&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;MOV AH,09&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 9.0pt; mso-bidi-font-family: Courier;&quot;&gt;3BA6:000D BA0800&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;MOV DX,0008&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 9.0pt; mso-bidi-font-family: Courier;&quot;&gt;3BA6:0010 CD21&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;INT 21&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 9.0pt; mso-bidi-font-family: Courier;&quot;&gt;3BA6:0012 B8004C&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;MOV AX,4C00&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Courier; font-size: 9.0pt; mso-bidi-font-family: Courier;&quot;&gt;3BA6:0015 CD21&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;INT&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;   &lt;/span&gt;21&lt;/span&gt;&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;Since “msg” is defined in data segment, if we use it without “offset”, it denotes the data pointed by msg (not the address of it). As we can see in the assembled code the address is inside [] brackets. ([0008]). Note that if we use “msg+1”, it means that the data stored in the memory location msg+1 that is [0009]. Here it is clear that MASM automatically calculates offsets and uses [] to point the data.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;You can choose to use “offset” and denote pointer operations by yourself or use MASM to interpret the instructions. It is important to learn the usage of offset in order to understand how the operation is done exactly. &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;Please do not go any further without understanding the code above.&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;h1&gt;LEA (Load effective address) instruction&lt;span style=&quot;font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h1&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;If we use “offset”, we need the following instruction to get the address of a data:&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;MOV DX, offset msg&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;Here, msg is defined as name of the data itself. Another way to do this without using offset:&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;LEA DX, msg&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 7.0pt; text-align: justify;&quot;&gt;Both instructions above, loads the address of msg into DX.&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imraan-prrec.blogspot.com/feeds/4742568284745062660/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://imraan-prrec.blogspot.com/2018/02/ceng-222-computer-organization-lab-work_16.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5822823688987998362/posts/default/4742568284745062660'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5822823688987998362/posts/default/4742568284745062660'/><link rel='alternate' type='text/html' href='http://imraan-prrec.blogspot.com/2018/02/ceng-222-computer-organization-lab-work_16.html' title=''/><author><name>Imraan</name><uri>http://www.blogger.com/profile/13029977933710149084</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-5822823688987998362.post-1218851729284278482</id><published>2018-02-16T10:50:00.001+05:30</published><updated>2018-02-16T10:50:13.216+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="COLAB"/><title type='text'></title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: 14.0pt;&quot;&gt;CENG 222 – Computer Organization&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: 14.0pt;&quot;&gt;Lab Work 1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;16-bits Intel microprocessors have some capabilities of moving data from register to register; register to memory, and vice versa.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;Commonly used 16-bits registers are:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;AX, BX, CX, DX, SI, DI, SP, DS&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;First four registers (AX, BX, CX, and DX) consist of two 8-bits parts called high part (denoted by &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;‘H’&lt;/b&gt;) and low part (denoted by &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;‘L’&lt;/b&gt;).&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;AX = AH, AL&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;BX = BH, BL&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;CX = CH, CL&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;DX = DH, DL&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;Note that the high part register is the most significant byte and the low part is the least significant byte of the whole 16-bits register.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;Assembly instructions of moving data using memory and registers are given below:&lt;i style=&quot;mso-bidi-font-style: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in; mso-list: l2 level1 lfo3; tab-stops: list .5in; text-align: justify; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;§&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;i style=&quot;mso-bidi-font-style: normal;&quot;&gt;Parameters of instructions are denoted by &amp;lt;…&amp;gt; symbols for explaining the usage of the instruction.&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in; mso-list: l2 level1 lfo3; tab-stops: list .5in; text-align: justify; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;§&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;i style=&quot;mso-bidi-font-style: normal;&quot;&gt;[] braces in Macro assembly has the same function with * operator in C language. For example, [AX] denotes the data or memory location where AX points to.&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in; mso-list: l1 level1 lfo2; tab-stops: list .5in; text-align: justify; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: 14.0pt;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;1-&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;!--[endif]--&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: 14.0pt;&quot;&gt;Immediate data to register&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/b&gt;MOV &amp;lt;destination register&amp;gt;, &amp;lt;data&amp;gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .25in; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .25in; text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;MOV AX, 4C00H&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; AX = 4C00h&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .25in; text-align: justify;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;MOV DL, 120&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; DL = 120&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .25in; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .25in; text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Size of data and destination register must be equal!&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .25in; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in; mso-list: l1 level1 lfo2; tab-stops: list .5in; text-align: justify; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: 14.0pt;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;2-&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;!--[endif]--&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: 14.0pt;&quot;&gt;Register to register&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;MOV &amp;lt;destination register&amp;gt;, &amp;lt;source register&amp;gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .25in; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;MOV AX, CX&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; AX=CX&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .25in; text-align: justify;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;MOV CL, BH&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; CL=BH&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .25in; text-align: justify;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .25in; text-align: justify;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;Note that size of destination and source registers must be the same!&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .25in; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in; mso-list: l1 level1 lfo2; tab-stops: list .5in; text-align: justify; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: 14.0pt;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;3-&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;!--[endif]--&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: 14.0pt;&quot;&gt;Memory to register (Direct addressing)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/b&gt;MOV &amp;lt;destination register&amp;gt;, [&amp;lt;address&amp;gt;]&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;MOV AX, [1BFFH]&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; Copy 2-bytes (word) data stored at address 1BFF to AX&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;MOV DL, [offset msg]&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; Copy 1-byte data at msg to DL&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 35.4pt; text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;u&gt;Important: &lt;/u&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;Size of the data read from memory is determined by the size of the destination register!&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in; mso-list: l1 level1 lfo2; tab-stops: list .5in; text-align: justify; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: 14.0pt;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;4-&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;!--[endif]--&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: 14.0pt;&quot;&gt;Memory to register (Indirect addressing)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;MOV &amp;lt;destination register&amp;gt;, [&amp;lt;register&amp;gt;]&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;MOV AX, [BX]&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; AX = (*BX)&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .25in; text-align: justify;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;MOV DL, [BX]&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; DL = (*BX)&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 35.4pt; text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;u&gt;Important: &lt;/u&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;Size of the data read from the memory location pointed by register, is determined by the size of the destination register!&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in; mso-list: l1 level1 lfo2; tab-stops: list .5in; text-align: justify; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: 14.0pt;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;5-&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;!--[endif]--&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: 14.0pt;&quot;&gt;Register to memory&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;MOV [&amp;lt;register&amp;gt;], &amp;lt;source register&amp;gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;MOV [BX], DX&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; *BX = DX&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;(Writes 2 bytes)&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;MOV [BX], DL&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; *BX = DL&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;(Writes 1 byte)&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;MOV [1BFFH], AX&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; *(1BFFH) = AX; &lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;(Writes 2 bytes)&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 35.4pt; text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;Note: Size of the data written is the size of register.&lt;/b&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in; mso-list: l1 level1 lfo2; tab-stops: list .5in; text-align: justify; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: 14.0pt;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;6-&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;!--[endif]--&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: 14.0pt;&quot;&gt;Immediate data to memory&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;MOV [&amp;lt;register&amp;gt;], &amp;lt;data&amp;gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;MOV [BX], 20h&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; *BX = 0020h&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;MOV [BX], 4C00h&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; *BX = 4C00h&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;MOV [1BFFH], 20h&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; *(1BFFH) = 20h;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 35.4pt; text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;If the source data is 1-byte, size of the data written to the memory is 16-bits unless you state the size. Leading zeros will be added automatically.&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 35.4pt; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 35.4pt; text-align: justify;&quot;&gt;MOV [BX], 20h&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; Copy the word (2-bytes) data to the memory&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 35.4pt; text-align: justify;&quot;&gt;&lt;span style=&quot;mso-tab-count: 3;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; block started at BX. (*BX = 0020h)&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 35.4pt; text-align: justify;&quot;&gt;MOV WORD PTR [BX], 20h&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; Exactly the same as above&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 35.4pt; text-align: justify;&quot;&gt;MOV BYTE PTR [BX], 20h&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; Copy 1 byte (*BX = 20h)&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 35.4pt; text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;If the source data is 2-bytes, size of the data written to the memory is 16-bits and you cannot state the size. &lt;/b&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;page-break-before: always; text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: 14.0pt;&quot;&gt;Experiments&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;Analyze the assembly code below:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;border-collapse: collapse; margin-left: 3.5pt; mso-padding-alt: 0in 3.5pt 0in 3.5pt; mso-table-layout-alt: fixed;&quot;&gt; &lt;tbody&gt;&lt;tr style=&quot;mso-yfti-lastrow: yes;&quot;&gt;  &lt;td style=&quot;border: solid black 1.0pt; mso-border-alt: solid black .5pt; padding: 0in 3.5pt 0in 3.5pt; width: 441.5pt;&quot; valign=&quot;top&quot; width=&quot;589&quot;&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Arial;&quot;&gt;title Register test program&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Arial;&quot;&gt;.model small&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Arial;&quot;&gt;.stack 100h&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Arial;&quot;&gt;.data&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Arial;&quot;&gt;msg db &quot;AB&quot;,0dh,0ah,&#39;$&#39;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Arial;&quot;&gt;.code&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Arial;&quot;&gt;main proc&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;mov   ax,@data&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;mov   ds,ax&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Arial;&quot;&gt;; Add your code here&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Arial;&quot;&gt;; ------------------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Arial;&quot;&gt;; ------------------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;mov   ah,9&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;mov   dx,offset msg&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;int 21h&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;mov ax,   4c00h&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;int 21h&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Arial;&quot;&gt;main endp&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Courier; mso-bidi-font-family: Arial;&quot;&gt;end main&lt;/span&gt;&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;The program above prints “AB” to the console. The message “AB” is stored at msg in data segment. Therefore, “offset msg” is the starting address of the string. Modify the code according to the following experiments:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;1-&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Copy the second byte stored at &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;“msg” (which is ‘B’ currently)&lt;/b&gt; to the first byte. The output should be “BB”. In order to do that, load 2-bytes data stored at &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;“msg”&lt;/b&gt; into a &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;16-bits&lt;/b&gt;register. Copy one part of the register to the other part. Then, write your register back to msg.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;2-&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Copy the first byte stored at &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;“msg” (which is ‘A’ currently)&lt;/b&gt; to the second byte. The output should be “AA”. To achieve this, load the first byte stored at &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;“msg”&lt;/b&gt; into one &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;8-bits&lt;/b&gt; register (high or low part) and copy it onto the other part and write the data stored in register back to msg.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;3-&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Load the data stored at &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;“msg”&lt;/b&gt; into one register and swap the high and low parts of the register using a temporary &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;8-bits&lt;/b&gt;register. Then write back your “swapped” register onto msg. The output should be “BA”.&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imraan-prrec.blogspot.com/feeds/1218851729284278482/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://imraan-prrec.blogspot.com/2018/02/ceng-222-computer-organization-lab-work.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5822823688987998362/posts/default/1218851729284278482'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5822823688987998362/posts/default/1218851729284278482'/><link rel='alternate' type='text/html' href='http://imraan-prrec.blogspot.com/2018/02/ceng-222-computer-organization-lab-work.html' title=''/><author><name>Imraan</name><uri>http://www.blogger.com/profile/13029977933710149084</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-5822823688987998362.post-2696879411827021223</id><published>2018-02-16T10:43:00.002+05:30</published><updated>2018-02-16T10:43:39.781+05:30</updated><title type='text'></title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: medium;&quot;&gt;Unified Modelling Language Practicals. Below is the case study of it for the construction of different UML diagrams&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;u&gt;CASE STUDY: Hospital Management System&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;Hospital management system helps in registering information about patients and handles patient’s query. A unique ID is generated for each patient after registration. This helps in implementing customer relationship management and also maintains medical history of patient. This system also monitors the doctor appointments, when the ID is generated the patient receives the appointment time and number from the receptionist and accordingly visit the doctor. This system also deals with testing appointments as and when ID is generated the patient receives the appointment time and number and accordingly undergoes the test.&lt;br /&gt;&lt;br /&gt;It also deals with bed allotments to various patients by checking their ID. It also undergoes various operations by diagnosing the patients. The system identifies whether the person is a doctor or staff and handles various activities such as draw salary and give salary, also it adds doctor/staff information into database. This system is responsible for handling various other activities like deleting, editing doctor/staff information into the database. As per doctor diagnoses the patient, gives treatment and gives suggestions to patients and prescribe laboratory tests and medicines. This system also takes care of medical equipment, doctor visit, vitals recording, patient case sheet, diet ordering, blood requisition, transfer information and discharge information, maintenance of wards, inter and intrawards transfers also it generates patient’s discharge summary which includes patients health at the time of discharge, medical history, various diagnosis and drug prescriptions, history of patients illness and course in hospital. Patient can pay bill through credit card, cash or cheque whose information is maintained by this system.&lt;/div&gt;&lt;div style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&lt;u&gt;Use Case Diagram:-&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-Dd_rW4CeaKk/T1jvSfo7WUI/AAAAAAAAAIc/IgkjWpi_Ou4/s1600/use+case+diagram+hospital+mgmt.JPG&quot; imageanchor=&quot;1&quot; style=&quot;color: #888888; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot; title=&quot;Mumbai University MCA College Program UML Diagram&quot;&gt;&lt;img alt=&quot;UML Use Case Diagram for Hospital Management&quot; border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://1.bp.blogspot.com/-Dd_rW4CeaKk/T1jvSfo7WUI/AAAAAAAAAIc/IgkjWpi_Ou4/s400/use+case+diagram+hospital+mgmt.JPG&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(238, 238, 238); box-shadow: rgba(0, 0, 0, 0.1) 1px 1px 5px; padding: 5px; position: relative;&quot; title=&quot;UML Use Case Diagram for Hospital Management&quot; width=&quot;368&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Activity Diagram:- Patient Payment&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-TU1Xhv_EIR4/T1jvE_wYWOI/AAAAAAAAAG8/7rJTOktnMc0/s1600/activity+diagram+patient+payment+hospital+mgmt.JPG&quot; imageanchor=&quot;1&quot; style=&quot;color: #888888; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img alt=&quot;UML Activity Diagram for Hospital Management Patient Payment&quot; border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://3.bp.blogspot.com/-TU1Xhv_EIR4/T1jvE_wYWOI/AAAAAAAAAG8/7rJTOktnMc0/s400/activity+diagram+patient+payment+hospital+mgmt.JPG&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(238, 238, 238); box-shadow: rgba(0, 0, 0, 0.1) 1px 1px 5px; padding: 5px; position: relative;&quot; title=&quot;UML Activity Diagram for Hospital Management Patient Payment&quot; width=&quot;323&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Activity Diagram:- Setting Doctor Appointment&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-Y4tBXeWApxA/T1jvGvSXk3I/AAAAAAAAAHE/dOK9gEFsvBY/s1600/activity+doctor+appointment+hospital+mgmt.JPG&quot; imageanchor=&quot;1&quot; style=&quot;color: #888888; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img alt=&quot;UML Activity Diagram for Hospital Management Doctor Appointment&quot; border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://4.bp.blogspot.com/-Y4tBXeWApxA/T1jvGvSXk3I/AAAAAAAAAHE/dOK9gEFsvBY/s400/activity+doctor+appointment+hospital+mgmt.JPG&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(238, 238, 238); box-shadow: rgba(0, 0, 0, 0.1) 1px 1px 5px; padding: 5px; position: relative;&quot; title=&quot;UML Activity Diagram for Hospital Management Doctor Appointment&quot; width=&quot;356&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Class Diagram:-&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-E-kh3aOuSCs/T1jvHyok4GI/AAAAAAAAAHM/CCGawc1eJwQ/s1600/class+diagram+hospital+mgmt.JPG&quot; imageanchor=&quot;1&quot; style=&quot;color: #888888; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img alt=&quot;UML Class Diagram for Hospital Management&quot; border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://1.bp.blogspot.com/-E-kh3aOuSCs/T1jvHyok4GI/AAAAAAAAAHM/CCGawc1eJwQ/s400/class+diagram+hospital+mgmt.JPG&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(238, 238, 238); box-shadow: rgba(0, 0, 0, 0.1) 1px 1px 5px; padding: 5px; position: relative;&quot; title=&quot;UML Class Diagram for Hospital Management&quot; width=&quot;362&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;State Chart Diagram :- Patient&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-dp5dVuYifqM/T1jvODCFB2I/AAAAAAAAAH4/T6TXu2nm9hQ/s1600/patient+state+chart+diagram+hospital+mgmt.JPG&quot; imageanchor=&quot;1&quot; style=&quot;color: #888888; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img alt=&quot;UML State Chart Diagram for Hospital Management Patient&quot; border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://4.bp.blogspot.com/-dp5dVuYifqM/T1jvODCFB2I/AAAAAAAAAH4/T6TXu2nm9hQ/s400/patient+state+chart+diagram+hospital+mgmt.JPG&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(238, 238, 238); box-shadow: rgba(0, 0, 0, 0.1) 1px 1px 5px; padding: 5px; position: relative;&quot; title=&quot;UML State Chart Diagram for Hospital Management Patient&quot; width=&quot;232&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;State Chart Diagram :- Doctor&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-8Wq-XGfDkqs/T1jvMDPvjAI/AAAAAAAAAH0/25Igz5CuzRM/s1600/doctor+state+chart+diagram+Hospital+mgmt.JPG&quot; imageanchor=&quot;1&quot; style=&quot;color: #888888; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img alt=&quot;UML State Chart Diagram for Hospital Management Doctor&quot; border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://2.bp.blogspot.com/-8Wq-XGfDkqs/T1jvMDPvjAI/AAAAAAAAAH0/25Igz5CuzRM/s400/doctor+state+chart+diagram+Hospital+mgmt.JPG&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(238, 238, 238); box-shadow: rgba(0, 0, 0, 0.1) 1px 1px 5px; padding: 5px; position: relative;&quot; title=&quot;UML State Chart Diagram for Hospital Management Doctor&quot; width=&quot;162&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;State Chart Diagram:- Receptionist&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-t44btFYDZEw/T1jvO0ZFG7I/AAAAAAAAAIA/4n8pIYf5w0s/s1600/reception+state+chart+diagram+hospital+mgmt.JPG&quot; imageanchor=&quot;1&quot; style=&quot;color: #888888; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img alt=&quot;UML State Chart Diagram for Hospital Management Receptionist&quot; border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://4.bp.blogspot.com/-t44btFYDZEw/T1jvO0ZFG7I/AAAAAAAAAIA/4n8pIYf5w0s/s400/reception+state+chart+diagram+hospital+mgmt.JPG&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(238, 238, 238); box-shadow: rgba(0, 0, 0, 0.1) 1px 1px 5px; padding: 5px; position: relative;&quot; title=&quot;UML State Chart Diagram for Hospital Management Receptionist&quot; width=&quot;145&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Sequence Diagram:- Test Appointments&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-r7vkSeWP_0Q/T1jvRKBZ-3I/AAAAAAAAAIQ/ez4muFS-sE0/s1600/sequence+diagram+test+appointments+hospital+mgmt.JPG&quot; imageanchor=&quot;1&quot; style=&quot;color: #888888; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img alt=&quot;UML Sequence Diagram for Hospital Management Test Appointments&quot; border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://2.bp.blogspot.com/-r7vkSeWP_0Q/T1jvRKBZ-3I/AAAAAAAAAIQ/ez4muFS-sE0/s400/sequence+diagram+test+appointments+hospital+mgmt.JPG&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(238, 238, 238); box-shadow: rgba(0, 0, 0, 0.1) 1px 1px 5px; padding: 5px; position: relative;&quot; title=&quot;UML Sequence Diagram for Hospital Management Test Appointments&quot; width=&quot;335&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Sequence Diagram:- Bed Allotment&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-q83vb_J5zN4/T1jvPm3XmbI/AAAAAAAAAIM/whlwyD0xFMc/s1600/sequence+diagram+bed+allotments+hospital+mgmt.JPG&quot; imageanchor=&quot;1&quot; style=&quot;color: #888888; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img alt=&quot;UML Sequence Diagram for Hospital Management Bed Allotment&quot; border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://1.bp.blogspot.com/-q83vb_J5zN4/T1jvPm3XmbI/AAAAAAAAAIM/whlwyD0xFMc/s400/sequence+diagram+bed+allotments+hospital+mgmt.JPG&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(238, 238, 238); box-shadow: rgba(0, 0, 0, 0.1) 1px 1px 5px; padding: 5px; position: relative;&quot; title=&quot;UML Sequence Diagram for Hospital Management Bed Allotment&quot; width=&quot;287&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Collaboration Diagram:- Test Appointments&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-XdCzX3xPYGI/T1jvJsTF0FI/AAAAAAAAAHY/RMqlSMYK8R4/s1600/collaboration+diagram+test+appointments+hospital+mgmt.JPG&quot; imageanchor=&quot;1&quot; style=&quot;color: #888888; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;233&quot; src=&quot;https://4.bp.blogspot.com/-XdCzX3xPYGI/T1jvJsTF0FI/AAAAAAAAAHY/RMqlSMYK8R4/s400/collaboration+diagram+test+appointments+hospital+mgmt.JPG&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(238, 238, 238); box-shadow: rgba(0, 0, 0, 0.1) 1px 1px 5px; padding: 5px; position: relative;&quot; title=&quot;Collaboration Diagram for Hospital Management&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Collaboration Diagram:- Bed Allotments&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-Cre0COWDj-o/T1jvI_f_lGI/AAAAAAAAAHQ/OgTYJaUFRAc/s1600/collaboration+diagram+bed+allotment+hospital+mgmt.JPG&quot; imageanchor=&quot;1&quot; style=&quot;color: #888888; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot; title=&quot;Mumbai University MCA College Program UML Diagram&quot;&gt;&lt;img alt=&quot;UML Collaboration Diagram for Hospital Management Bed Allotment&quot; border=&quot;0&quot; height=&quot;207&quot; src=&quot;https://4.bp.blogspot.com/-Cre0COWDj-o/T1jvI_f_lGI/AAAAAAAAAHQ/OgTYJaUFRAc/s400/collaboration+diagram+bed+allotment+hospital+mgmt.JPG&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(238, 238, 238); box-shadow: rgba(0, 0, 0, 0.1) 1px 1px 5px; padding: 5px; position: relative;&quot; title=&quot;UML Collaboration Diagram for Hospital Management Bed Allotment&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Component Diagram:-&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-U6-YGni-_d0/T1jvKXSz6QI/AAAAAAAAAHg/e8IwPVj8YEE/s1600/component+diagram+hospital+mgmt.JPG&quot; imageanchor=&quot;1&quot; style=&quot;color: #888888; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://3.bp.blogspot.com/-U6-YGni-_d0/T1jvKXSz6QI/AAAAAAAAAHg/e8IwPVj8YEE/s400/component+diagram+hospital+mgmt.JPG&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(238, 238, 238); box-shadow: rgba(0, 0, 0, 0.1) 1px 1px 5px; padding: 5px; position: relative;&quot; title=&quot;Component Diagram for Hospital Management&quot; width=&quot;190&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Deployment Diagram:-&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-v38MswYKE6c/T1jvLM_d8hI/AAAAAAAAAHo/Lzbeqs9HP_w/s1600/deployment+diagram+hospital+mgmt.JPG&quot; imageanchor=&quot;1&quot; style=&quot;color: #888888; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot; title=&quot;Mumbai University MCA College Program UML Diagram&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://4.bp.blogspot.com/-v38MswYKE6c/T1jvLM_d8hI/AAAAAAAAAHo/Lzbeqs9HP_w/s320/deployment+diagram+hospital+mgmt.JPG&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(238, 238, 238); box-shadow: rgba(0, 0, 0, 0.1) 1px 1px 5px; padding: 5px; position: relative;&quot; title=&quot;Deployment Diagram for Hospital Management&quot; width=&quot;156&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imraan-prrec.blogspot.com/feeds/2696879411827021223/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://imraan-prrec.blogspot.com/2018/02/unified-modelling-language-practicals_37.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5822823688987998362/posts/default/2696879411827021223'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5822823688987998362/posts/default/2696879411827021223'/><link rel='alternate' type='text/html' href='http://imraan-prrec.blogspot.com/2018/02/unified-modelling-language-practicals_37.html' title=''/><author><name>Imraan</name><uri>http://www.blogger.com/profile/13029977933710149084</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://1.bp.blogspot.com/-Dd_rW4CeaKk/T1jvSfo7WUI/AAAAAAAAAIc/IgkjWpi_Ou4/s72-c/use+case+diagram+hospital+mgmt.JPG" height="72" width="72"/><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-5822823688987998362.post-7615001748110777348</id><published>2018-02-16T10:42:00.002+05:30</published><updated>2018-02-16T10:42:45.052+05:30</updated><title type='text'></title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: medium;&quot;&gt;Unified Modelling Language Practicals. Below is the case study of it for the construction of different UML diagrams&lt;/span&gt;&lt;br /&gt;&lt;div style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;h2 style=&quot;background-color: #fff9ee; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 12px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px 0px 1em; position: relative; text-transform: uppercase;&quot;&gt;&lt;u&gt;CASE STUDY:- ATM MACHINE AND SYSTEM&lt;/u&gt;&lt;/h2&gt;&lt;div style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px;&quot;&gt;ATM or rather Automated Teller Machine is also called as ANY TIME MONEY by many. The ATM system is connected to banks.&lt;/div&gt;&lt;div style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px;&quot;&gt;The ATM is given the utmost security in terms of technology because its a stand alone system and easily prone to malicious attacks.&lt;/div&gt;&lt;br style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px;&quot; /&gt;&lt;span style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px;&quot;&gt;The Below diagrams are has come up in Mumbai University MCA exams.&lt;/span&gt;&lt;br /&gt;&lt;div style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;h3 style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; margin: 0px; position: relative; text-align: center;&quot;&gt;&lt;u&gt;Class Diagram for ATM Machine&lt;/u&gt;&lt;/h3&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-t40LLtJ85z4/T5Yqv-XbxlI/AAAAAAAAATk/cfvOmqCyuRw/s1600/class+diagram+ATM.JPG&quot; imageanchor=&quot;1&quot; style=&quot;color: #888888; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img alt=&quot;Class Diagram for ATM Machine&quot; border=&quot;0&quot; height=&quot;227&quot; src=&quot;https://2.bp.blogspot.com/-t40LLtJ85z4/T5Yqv-XbxlI/AAAAAAAAATk/cfvOmqCyuRw/s400/class+diagram+ATM.JPG&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(238, 238, 238); box-shadow: rgba(0, 0, 0, 0.1) 1px 1px 5px; padding: 5px; position: relative;&quot; title=&quot;Class Diagram for ATM Machine&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;h3 style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; margin: 0px; position: relative; text-align: center;&quot;&gt;&lt;u&gt;Use Case Diagram ATM Machine&lt;/u&gt;&lt;/h3&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-zM9ToDlaWaU/T5Y39Gf1fLI/AAAAAAAAAWM/EycHo2NGwU4/s1600/Use+Case+Diagram+ATM.JPG&quot; imageanchor=&quot;1&quot; style=&quot;color: #888888; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img alt=&quot;Use Case Diagram ATM&quot; border=&quot;0&quot; height=&quot;225&quot; src=&quot;https://1.bp.blogspot.com/-zM9ToDlaWaU/T5Y39Gf1fLI/AAAAAAAAAWM/EycHo2NGwU4/s400/Use+Case+Diagram+ATM.JPG&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(238, 238, 238); box-shadow: rgba(0, 0, 0, 0.1) 1px 1px 5px; padding: 5px; position: relative;&quot; title=&quot;Use Case Diagram ATM&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;h3 style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; margin: 0px; position: relative; text-align: center;&quot;&gt;&lt;u&gt;Activity Diagram for ATM Machine 1&lt;/u&gt;&lt;/h3&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-uzCy2dnucC8/T5YqudQi8cI/AAAAAAAAATc/tyyGtc5EPt8/s1600/activity+diagram+ATM.JPG&quot; imageanchor=&quot;1&quot; style=&quot;color: #888888; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img alt=&quot;Activity Diagram for ATM Machine&quot; border=&quot;0&quot; height=&quot;640&quot; src=&quot;https://4.bp.blogspot.com/-uzCy2dnucC8/T5YqudQi8cI/AAAAAAAAATc/tyyGtc5EPt8/s640/activity+diagram+ATM.JPG&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(238, 238, 238); box-shadow: rgba(0, 0, 0, 0.1) 1px 1px 5px; padding: 5px; position: relative;&quot; title=&quot;Acitivity Diagram for ATM Machine&quot; width=&quot;364&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;h3 style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; margin: 0px; position: relative; text-align: center;&quot;&gt;&lt;u&gt;Activity Diagram for ATM Machine 2&lt;/u&gt;&lt;/h3&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-8bwAoRpHS-k/T5Yqs-tYzoI/AAAAAAAAATU/umHmqaXd5xE/s1600/activity+diagram+2+ATM.JPG&quot; imageanchor=&quot;1&quot; style=&quot;color: #888888; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img alt=&quot;Activity Diagram for ATM Machine&quot; border=&quot;0&quot; height=&quot;640&quot; src=&quot;https://2.bp.blogspot.com/-8bwAoRpHS-k/T5Yqs-tYzoI/AAAAAAAAATU/umHmqaXd5xE/s640/activity+diagram+2+ATM.JPG&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(238, 238, 238); box-shadow: rgba(0, 0, 0, 0.1) 1px 1px 5px; padding: 5px; position: relative;&quot; title=&quot;Activity Diagram for ATM Machine&quot; width=&quot;414&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;h3 style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; margin: 0px; position: relative; text-align: center;&quot;&gt;&lt;u&gt;Activity Diagram for Overall ATM Machine:-&lt;/u&gt;&lt;/h3&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-1dgKPFnx_m0/T5Y3tShgSmI/AAAAAAAAAUs/ztfDINmOsWk/s1600/Activity+diagram+overall+ATML.JPG&quot; imageanchor=&quot;1&quot; style=&quot;color: #888888; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img alt=&quot;Activity Diagram Overall ATM&quot; border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://4.bp.blogspot.com/-1dgKPFnx_m0/T5Y3tShgSmI/AAAAAAAAAUs/ztfDINmOsWk/s400/Activity+diagram+overall+ATML.JPG&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(238, 238, 238); box-shadow: rgba(0, 0, 0, 0.1) 1px 1px 5px; padding: 5px; position: relative;&quot; title=&quot;Activity Diagram Overall ATM&quot; width=&quot;236&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px;&quot;&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px;&quot;&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/div&gt;&lt;h3 style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; margin: 0px; position: relative; text-align: center;&quot;&gt;&lt;u&gt;Activity Diagram Verify Password ATM Machine:-&lt;/u&gt;&lt;/h3&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-CMtEe_3zCys/T5Y3uZ31ycI/AAAAAAAAAU0/HjGxqNX4i10/s1600/Activity+diagram+verify+password+ATM.JPG&quot; imageanchor=&quot;1&quot; style=&quot;color: #888888; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img alt=&quot;Activity Diagram for Password Verification ATM&quot; border=&quot;0&quot; height=&quot;385&quot; src=&quot;https://3.bp.blogspot.com/-CMtEe_3zCys/T5Y3uZ31ycI/AAAAAAAAAU0/HjGxqNX4i10/s400/Activity+diagram+verify+password+ATM.JPG&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(238, 238, 238); box-shadow: rgba(0, 0, 0, 0.1) 1px 1px 5px; padding: 5px; position: relative;&quot; title=&quot;Activity Diagram for Password Verification ATM&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;h3 style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; margin: 0px; position: relative; text-align: center;&quot;&gt;&lt;u&gt;Sequence Diagram for ATM Machine :-&lt;/u&gt;&lt;/h3&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-WOiPrn35q7M/T5YqxMm6UqI/AAAAAAAAATs/PpanrX3ZFpg/s1600/sequence+diagram+ATM.JPG&quot; imageanchor=&quot;1&quot; style=&quot;color: #888888; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img alt=&quot;Sequence Diagram for ATM Machine&quot; border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://2.bp.blogspot.com/-WOiPrn35q7M/T5YqxMm6UqI/AAAAAAAAATs/PpanrX3ZFpg/s400/sequence+diagram+ATM.JPG&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(238, 238, 238); box-shadow: rgba(0, 0, 0, 0.1) 1px 1px 5px; padding: 5px; position: relative;&quot; title=&quot;Sequence Diagram for ATM Machine&quot; width=&quot;322&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;h3 style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; margin: 0px; position: relative; text-align: center;&quot;&gt;&lt;u&gt;Sequence Diagram for Invalid Pin ATM Machine:-&lt;/u&gt;&lt;/h3&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-Gznql7ER9Fo/T5Y34SXPXqI/AAAAAAAAAVs/hLwQgCBLnTY/s1600/Sequence+diagram+for+invalid+ATM+Pin.JPG&quot; imageanchor=&quot;1&quot; style=&quot;color: #888888; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img alt=&quot;Sequence Diagram for Invalid ATM Pin&quot; border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://4.bp.blogspot.com/-Gznql7ER9Fo/T5Y34SXPXqI/AAAAAAAAAVs/hLwQgCBLnTY/s400/Sequence+diagram+for+invalid+ATM+Pin.JPG&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(238, 238, 238); box-shadow: rgba(0, 0, 0, 0.1) 1px 1px 5px; padding: 5px; position: relative;&quot; title=&quot;Sequence Diagram for Invalid ATM Pin&quot; width=&quot;318&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;h3 style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; margin: 0px; position: relative; text-align: center;&quot;&gt;&lt;u&gt;Sequence Diagram ATM withdrawal:-&lt;/u&gt;&lt;/h3&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-_Bb-EHhGfxM/T5Y33FBdlbI/AAAAAAAAAVk/iOMrz8hrD4w/s1600/Sequence+Diagram+for+Withdrawal+ATM.JPG&quot; imageanchor=&quot;1&quot; style=&quot;color: #888888; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img alt=&quot;Sequence Diagram ATM Withdrawal&quot; border=&quot;0&quot; height=&quot;352&quot; src=&quot;https://4.bp.blogspot.com/-_Bb-EHhGfxM/T5Y33FBdlbI/AAAAAAAAAVk/iOMrz8hrD4w/s400/Sequence+Diagram+for+Withdrawal+ATM.JPG&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(238, 238, 238); box-shadow: rgba(0, 0, 0, 0.1) 1px 1px 5px; padding: 5px; position: relative;&quot; title=&quot;Sequence Diagram ATM Withdrawal&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;h3 style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; margin: 0px; position: relative; text-align: center;&quot;&gt;&lt;u&gt;Collaboration Diagram For ATM machine:-&lt;/u&gt;&lt;/h3&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-32WbR33m2M8/T5Y3xHcGIBI/AAAAAAAAAVE/DGLBwIJqVnQ/s1600/Collaboration+Diagram+for+ATM+Machine.JPG&quot; imageanchor=&quot;1&quot; style=&quot;color: #888888; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img alt=&quot;Collaboration Diagram for ATM machine&quot; border=&quot;0&quot; height=&quot;208&quot; src=&quot;https://1.bp.blogspot.com/-32WbR33m2M8/T5Y3xHcGIBI/AAAAAAAAAVE/DGLBwIJqVnQ/s400/Collaboration+Diagram+for+ATM+Machine.JPG&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(238, 238, 238); box-shadow: rgba(0, 0, 0, 0.1) 1px 1px 5px; padding: 5px; position: relative;&quot; title=&quot;Collaboration Diagram for ATM machine&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;h3 style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; margin: 0px; position: relative; text-align: center;&quot;&gt;&lt;u&gt;Collaboration Diagram for ATM withdrawal :-&lt;/u&gt;&lt;/h3&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-GGeZLtsPybw/T5Y3yriG7gI/AAAAAAAAAVM/joVJLuU5cmI/s1600/Collaboration+diagram+for+withdrawal+ATM.JPG&quot; imageanchor=&quot;1&quot; style=&quot;color: #888888; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img alt=&quot;Collaboration for ATM Withdrawal&quot; border=&quot;0&quot; height=&quot;233&quot; src=&quot;https://3.bp.blogspot.com/-GGeZLtsPybw/T5Y3yriG7gI/AAAAAAAAAVM/joVJLuU5cmI/s400/Collaboration+diagram+for+withdrawal+ATM.JPG&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(238, 238, 238); box-shadow: rgba(0, 0, 0, 0.1) 1px 1px 5px; padding: 5px; position: relative;&quot; title=&quot;Collaboration for ATM Withdrawal&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;h3 style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; margin: 0px; position: relative; text-align: center;&quot;&gt;&lt;u&gt;State Diagram for One Transaction ATM machine:-&lt;/u&gt;&lt;/h3&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-KUy_piLkx8s/T5Y38BLaoZI/AAAAAAAAAWE/5mxNFb-lymQ/s1600/State+diagram+for+one+transaction+ATM.JPG&quot; imageanchor=&quot;1&quot; style=&quot;color: #888888; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img alt=&quot;State Diagram one Transaction ATM Machine&quot; border=&quot;0&quot; height=&quot;266&quot; src=&quot;https://1.bp.blogspot.com/-KUy_piLkx8s/T5Y38BLaoZI/AAAAAAAAAWE/5mxNFb-lymQ/s400/State+diagram+for+one+transaction+ATM.JPG&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(238, 238, 238); box-shadow: rgba(0, 0, 0, 0.1) 1px 1px 5px; padding: 5px; position: relative;&quot; title=&quot;State Diagram one Transaction ATM Machine&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;h3 style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; margin: 0px; position: relative; text-align: center;&quot;&gt;&lt;u&gt;State Diagram one Session ATM Machine:-&lt;/u&gt;&lt;/h3&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-nWjkEO04xds/T5Y35Q73L0I/AAAAAAAAAV0/LQUBAnDHaG0/s1600/State+Diagram+for+one+Session+ATM.JPG&quot; imageanchor=&quot;1&quot; style=&quot;color: #888888; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img alt=&quot;State Diagram one Session ATM&quot; border=&quot;0&quot; height=&quot;313&quot; src=&quot;https://4.bp.blogspot.com/-nWjkEO04xds/T5Y35Q73L0I/AAAAAAAAAV0/LQUBAnDHaG0/s400/State+Diagram+for+one+Session+ATM.JPG&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(238, 238, 238); box-shadow: rgba(0, 0, 0, 0.1) 1px 1px 5px; padding: 5px; position: relative;&quot; title=&quot;State Diagram one Session ATM&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;h3 style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; margin: 0px; position: relative; text-align: center;&quot;&gt;&lt;u&gt;Component Diagram ATM Machine:-&lt;/u&gt;&lt;/h3&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-Wdmym4LnpUo/T5Y3z8H6eDI/AAAAAAAAAVU/XxRvmfpwvB8/s1600/Component+Diagram+ATM.JPG&quot; imageanchor=&quot;1&quot; style=&quot;color: #888888; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img alt=&quot;Component Diagram ATM machine&quot; border=&quot;0&quot; height=&quot;293&quot; src=&quot;https://3.bp.blogspot.com/-Wdmym4LnpUo/T5Y3z8H6eDI/AAAAAAAAAVU/XxRvmfpwvB8/s400/Component+Diagram+ATM.JPG&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(238, 238, 238); box-shadow: rgba(0, 0, 0, 0.1) 1px 1px 5px; padding: 5px; position: relative;&quot; title=&quot;Component Diagram ATM Machine&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;h3 style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; margin: 0px; position: relative; text-align: center;&quot;&gt;&lt;u&gt;Deployment Diagram ATM Machine :-&lt;/u&gt;&lt;/h3&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-qSKxb9RhKxs/T5Y31Hzgo1I/AAAAAAAAAVc/LM3imX2sSfs/s1600/Deployment+Diagram+ATM.JPG&quot; imageanchor=&quot;1&quot; style=&quot;color: #888888; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img alt=&quot;Deployment Diagram ATM Machine&quot; border=&quot;0&quot; height=&quot;242&quot; src=&quot;https://2.bp.blogspot.com/-qSKxb9RhKxs/T5Y31Hzgo1I/AAAAAAAAAVc/LM3imX2sSfs/s400/Deployment+Diagram+ATM.JPG&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(238, 238, 238); box-shadow: rgba(0, 0, 0, 0.1) 1px 1px 5px; padding: 5px; position: relative;&quot; title=&quot;Deployment Diagram ATM Machine&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imraan-prrec.blogspot.com/feeds/7615001748110777348/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://imraan-prrec.blogspot.com/2018/02/unified-modelling-language-practicals_43.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5822823688987998362/posts/default/7615001748110777348'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5822823688987998362/posts/default/7615001748110777348'/><link rel='alternate' type='text/html' href='http://imraan-prrec.blogspot.com/2018/02/unified-modelling-language-practicals_43.html' title=''/><author><name>Imraan</name><uri>http://www.blogger.com/profile/13029977933710149084</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://2.bp.blogspot.com/-t40LLtJ85z4/T5Yqv-XbxlI/AAAAAAAAATk/cfvOmqCyuRw/s72-c/class+diagram+ATM.JPG" height="72" width="72"/><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-5822823688987998362.post-4135676762812943093</id><published>2018-02-16T10:41:00.003+05:30</published><updated>2018-02-16T10:41:56.690+05:30</updated><title type='text'></title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: medium;&quot;&gt;Unified Modelling Language Practicals. Below is the case study of it for the construction of different UML diagrams&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;u&gt;CASE STUDY: Hospital Management System&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, serif; font-size: 12pt; line-height: 18.4px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, serif; font-size: 12pt; line-height: 18.4px; text-indent: 0.5in;&quot;&gt;The hospital has several specialized departments like Cardiology, Gynecologic, Orthopedics, Pediatrics, ENT etc. OPD is another independent department. A doctor is only associated with one specialized department at a time though he/she can be a member of the OPD(Outside Patients Department) department. Each doctor has a visiting time and day in a week.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, serif; font-size: 12pt; line-height: 18.4px;&quot;&gt;At reception the patient details are entered and the fees are also taken and the patient is tracked on the basis of the Id generated.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, serif; font-size: 12pt; line-height: 18.4px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; In routine a patient can visit the doctors either directly selecting a doctor or by getting admitted to the hospital and then a doctor visits the patients.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, serif; font-size: 12pt; line-height: 18.4px;&quot;&gt;A doctor can prescribe tests for the patient to perform. The patient visits the lab to get done the tests prescribed by his/her doctor. The reports are given to the patient. The payments pertaining to the tests are done at the reception. Referring the reports, the doctor prescribes the patient medicines or further tests or is asked to get admitted.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, serif; font-size: 12pt; line-height: 18.4px;&quot;&gt;A patient is admitted into a ward of a specialized department (if available) as per the doctor’s prescription. The number of wards is limited and if there is no vacant ward the admission of the patient is rescheduled.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, serif; font-size: 12pt; line-height: 18.4px;&quot;&gt;As per the prescription of the doctor the patient is operated on a specified date and time as decided by the doctor who is doing the operation.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;background-color: #fff9ee; color: #222222; font-family: &amp;quot;Times New Roman&amp;quot;, serif; font-size: 12pt; line-height: 18.4px;&quot;&gt;After the completion of the treatment a patient may get discharged on an advice of a doctor and upon the complete payment of all due charges at the reception. On payment of full dues the reception generates a discharge ticket for the patient&lt;/span&gt;&lt;br style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px;&quot; /&gt;&lt;span style=&quot;background-color: #fff9ee; color: #222222; font-family: &amp;quot;Times New Roman&amp;quot;, serif; font-size: 12pt; line-height: 18.4px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px;&quot; /&gt;&lt;span style=&quot;background-color: #fff9ee; color: #222222; font-family: &amp;quot;Times New Roman&amp;quot;, serif; font-size: 12pt; line-height: 18.4px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; font-weight: bold; text-align: center;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Use Case Diagram:-&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; font-weight: bold; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-L-92rGI_GFU/T4fRUbad3gI/AAAAAAAAASc/NfqxhmjWASE/s1600/Use+Case+Hospital+Mgmt+UML.JPG&quot; imageanchor=&quot;1&quot; style=&quot;color: #888888; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img alt=&quot;Use Case Diagram for Hospital Management UML&quot; border=&quot;0&quot; height=&quot;355&quot; src=&quot;https://1.bp.blogspot.com/-L-92rGI_GFU/T4fRUbad3gI/AAAAAAAAASc/NfqxhmjWASE/s400/Use+Case+Hospital+Mgmt+UML.JPG&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(238, 238, 238); box-shadow: rgba(0, 0, 0, 0.1) 1px 1px 5px; padding: 5px; position: relative;&quot; title=&quot;Use Case Diagram for Hospital Management UML&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; font-weight: bold; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; font-weight: bold; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; font-weight: bold; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&lt;u&gt;Class Diagram:-&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; font-weight: bold; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-sO_ypyuqaMg/T4fRH6ZzU7I/AAAAAAAAARM/vElbJhQQ22w/s1600/Class+Diagram+Hospital+mgmt+UML.JPG&quot; imageanchor=&quot;1&quot; style=&quot;color: #888888; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img alt=&quot;Class Diagram for Hospital Management UML&quot; border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://3.bp.blogspot.com/-sO_ypyuqaMg/T4fRH6ZzU7I/AAAAAAAAARM/vElbJhQQ22w/s400/Class+Diagram+Hospital+mgmt+UML.JPG&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(238, 238, 238); box-shadow: rgba(0, 0, 0, 0.1) 1px 1px 5px; padding: 5px; position: relative;&quot; title=&quot;Class Diagram for Hospital Management UML&quot; width=&quot;316&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; font-weight: bold; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; font-weight: bold; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; font-weight: bold; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; font-weight: bold; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&lt;u&gt;Activity Diagram Registration :-&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-yol3NSqyw2Y/T4fRCeeRdAI/AAAAAAAAAQs/8BEpxiSAqfE/s1600/Activity+Diagram+Hospital+Mgmt+Registration.JPG&quot; imageanchor=&quot;1&quot; style=&quot;color: #888888; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img alt=&quot;Activity Diagram for Registration in Hospital&quot; border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://4.bp.blogspot.com/-yol3NSqyw2Y/T4fRCeeRdAI/AAAAAAAAAQs/8BEpxiSAqfE/s400/Activity+Diagram+Hospital+Mgmt+Registration.JPG&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(238, 238, 238); box-shadow: rgba(0, 0, 0, 0.1) 1px 1px 5px; padding: 5px; position: relative;&quot; title=&quot;Activity Diagram for Registration in Hospital&quot; width=&quot;348&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Activity Diagram for Ward Allocation:-&amp;nbsp;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-cdhCB9xeLo4/T4fRGYpqdXI/AAAAAAAAARE/6Ge0akG3KMc/s1600/Activity+Diagram+Hospital+Mgmt+Ward+Allocation.JPG&quot; imageanchor=&quot;1&quot; style=&quot;color: #888888; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img alt=&quot;Activity Diagram Ward Allocation Hospital Management&quot; border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://3.bp.blogspot.com/-cdhCB9xeLo4/T4fRGYpqdXI/AAAAAAAAARE/6Ge0akG3KMc/s400/Activity+Diagram+Hospital+Mgmt+Ward+Allocation.JPG&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(238, 238, 238); box-shadow: rgba(0, 0, 0, 0.1) 1px 1px 5px; padding: 5px; position: relative;&quot; title=&quot;Activity Diagram Ward Allocation Hospital Management&quot; width=&quot;325&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Activity Diagram for Tests to Perform:-&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-UlVKE6xeo5E/T4fRDoxDxNI/AAAAAAAAAQ0/PQ2omom9qUM/s1600/Activity+Diagram+Hospital+Mgmt+Test.JPG&quot; imageanchor=&quot;1&quot; style=&quot;color: #888888; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img alt=&quot;Activity Diagram Tests to perform Hospital Management&quot; border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://4.bp.blogspot.com/-UlVKE6xeo5E/T4fRDoxDxNI/AAAAAAAAAQ0/PQ2omom9qUM/s400/Activity+Diagram+Hospital+Mgmt+Test.JPG&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(238, 238, 238); box-shadow: rgba(0, 0, 0, 0.1) 1px 1px 5px; padding: 5px; position: relative;&quot; title=&quot;Activity Diagram Tests to perform Hospital Management&quot; width=&quot;293&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Activity Diagram for Treatment and Operations:-&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-_yAnVW9gnoY/T4fRFbPC8DI/AAAAAAAAAQ8/gvgPf_EZvbs/s1600/Activity+Diagram+Hospital+Mgmt+Treatment+and+Operation.JPG&quot; imageanchor=&quot;1&quot; style=&quot;color: #888888; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img alt=&quot;Activity Diagram Treatments and Operations Hospital Management&quot; border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://1.bp.blogspot.com/-_yAnVW9gnoY/T4fRFbPC8DI/AAAAAAAAAQ8/gvgPf_EZvbs/s400/Activity+Diagram+Hospital+Mgmt+Treatment+and+Operation.JPG&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(238, 238, 238); box-shadow: rgba(0, 0, 0, 0.1) 1px 1px 5px; padding: 5px; position: relative;&quot; title=&quot;Activity Diagram Treatments and Operations Hospital Management&quot; width=&quot;307&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;br style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px;&quot; /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&lt;u&gt;Activity Diagram Discharge:-&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;br style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px;&quot; /&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-5UV3eJyDemw/T4fRVT5Lj5I/AAAAAAAAASk/JOai2ZQ4jJM/s1600/activity+Diagram+Hospital+Mgmt+Discharge.JPG&quot; imageanchor=&quot;1&quot; style=&quot;color: #888888; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img alt=&quot;Activity Diagram Discharge from Hospital Management&quot; border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://4.bp.blogspot.com/-5UV3eJyDemw/T4fRVT5Lj5I/AAAAAAAAASk/JOai2ZQ4jJM/s400/activity+Diagram+Hospital+Mgmt+Discharge.JPG&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(238, 238, 238); box-shadow: rgba(0, 0, 0, 0.1) 1px 1px 5px; padding: 5px; position: relative;&quot; title=&quot;Activity Diagram Discharge from Hospital Management&quot; width=&quot;325&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; font-weight: bold; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; font-weight: bold; text-align: center;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;State Chart Diagram for Patient:-&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-eoo8TTE_FGI/T4fRP0yfzTI/AAAAAAAAASE/C53E099ud4o/s1600/State+Chart+Hospital+mgmt+Patient.JPG&quot; imageanchor=&quot;1&quot; style=&quot;color: #888888; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img alt=&quot;State Diagram for Patient Hospital Management UML Diagram&quot; border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://1.bp.blogspot.com/-eoo8TTE_FGI/T4fRP0yfzTI/AAAAAAAAASE/C53E099ud4o/s400/State+Chart+Hospital+mgmt+Patient.JPG&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(238, 238, 238); box-shadow: rgba(0, 0, 0, 0.1) 1px 1px 5px; padding: 5px; position: relative;&quot; title=&quot;State Diagram for Patient Hospital Management UML Diagram&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; font-weight: bold; text-align: center;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; font-weight: bold; text-align: center;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;State Diagram for Doctor:-&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-n0a3Uzga8kQ/T4fRRHJ6crI/AAAAAAAAASM/x5Mz0Oq75JM/s1600/State+Transition+Hospital+Mgmt+Doctor.JPG&quot; imageanchor=&quot;1&quot; style=&quot;color: #888888; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img alt=&quot;State Diagram for Doctor Hospital Management UML Diagram&quot; border=&quot;0&quot; height=&quot;221&quot; src=&quot;https://1.bp.blogspot.com/-n0a3Uzga8kQ/T4fRRHJ6crI/AAAAAAAAASM/x5Mz0Oq75JM/s400/State+Transition+Hospital+Mgmt+Doctor.JPG&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(238, 238, 238); box-shadow: rgba(0, 0, 0, 0.1) 1px 1px 5px; padding: 5px; position: relative;&quot; title=&quot;State Diagram for Doctor Hospital Management UML Diagram&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;State Diagram for Ward Object:-&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-F8vE-l9oNu8/T4fRScCvyUI/AAAAAAAAASU/LZCfEVNKFng/s1600/State+Transition+Hospital+Mgmt+Ward.JPG&quot; imageanchor=&quot;1&quot; style=&quot;color: #888888; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img alt=&quot;State Diagram for Ward Hospital Management UML Diagram&quot; border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://1.bp.blogspot.com/-F8vE-l9oNu8/T4fRScCvyUI/AAAAAAAAASU/LZCfEVNKFng/s400/State+Transition+Hospital+Mgmt+Ward.JPG&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(238, 238, 238); box-shadow: rgba(0, 0, 0, 0.1) 1px 1px 5px; padding: 5px; position: relative;&quot; title=&quot;State Diagram for Ward Hospital Management UML Diagram&quot; width=&quot;353&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Sequence Diagram for Patient Admit / Registration:-&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-ErqllSzvagQ/T4fRNsooAAI/AAAAAAAAAR0/YsSOQJvHhag/s1600/Sequence+Diagram+Hospital+Mgmt+Registration.JPG&quot; imageanchor=&quot;1&quot; style=&quot;color: #888888; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img alt=&quot;Sequence Diagram Admit Patient and allocate Ward Hospital&quot; border=&quot;0&quot; height=&quot;267&quot; src=&quot;https://2.bp.blogspot.com/-ErqllSzvagQ/T4fRNsooAAI/AAAAAAAAAR0/YsSOQJvHhag/s400/Sequence+Diagram+Hospital+Mgmt+Registration.JPG&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(238, 238, 238); box-shadow: rgba(0, 0, 0, 0.1) 1px 1px 5px; padding: 5px; position: relative;&quot; title=&quot;Sequence Diagram Admit Patient and allocate Ward Hospital&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Sequence Diagram Test &amp;amp; Operation:-&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-xbBkeYUejUs/T4fROwn4fGI/AAAAAAAAAR8/LngCZL7OAKw/s1600/Sequence+Diagram+Hospital+Mgmt+Test+and+Operation.JPG&quot; imageanchor=&quot;1&quot; style=&quot;color: #888888; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img alt=&quot;Sequence Diagram Test &amp;amp; Operation Hospital Management&quot; border=&quot;0&quot; height=&quot;377&quot; src=&quot;https://1.bp.blogspot.com/-xbBkeYUejUs/T4fROwn4fGI/AAAAAAAAAR8/LngCZL7OAKw/s400/Sequence+Diagram+Hospital+Mgmt+Test+and+Operation.JPG&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(238, 238, 238); box-shadow: rgba(0, 0, 0, 0.1) 1px 1px 5px; padding: 5px; position: relative;&quot; title=&quot;Sequence Diagram Test &amp;amp; Operation Hospital Management&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&lt;u&gt;Sequence Diagram Discharge from Hospital :-&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-y8END0FVkJ4/T4fRMgu63MI/AAAAAAAAARs/yD4HZg57fwk/s1600/Sequence+Diagram+Hospital+Mgmt+Discharge.JPG&quot; imageanchor=&quot;1&quot; style=&quot;color: #888888; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img alt=&quot;Sequence Diagram Discharge from Hospital UML Diagrams&quot; border=&quot;0&quot; height=&quot;353&quot; src=&quot;https://4.bp.blogspot.com/-y8END0FVkJ4/T4fRMgu63MI/AAAAAAAAARs/yD4HZg57fwk/s400/Sequence+Diagram+Hospital+Mgmt+Discharge.JPG&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(238, 238, 238); box-shadow: rgba(0, 0, 0, 0.1) 1px 1px 5px; padding: 5px; position: relative;&quot; title=&quot;Sequence Diagram Discharge from Hospital UML Diagrams&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&lt;u&gt;Collaboration Diagram Admit to Hospital:-&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-251hkSWlD80/T4fRKCDSNII/AAAAAAAAARc/a_xjK1kPE6A/s1600/Collaboration+Hospital+Mgmt+Register+and+Bed+Allocation.JPG&quot; imageanchor=&quot;1&quot; style=&quot;color: #888888; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img alt=&quot;UML Collaboration Diagram for Admitting to Hospital &amp;amp; Bed Allocation&quot; border=&quot;0&quot; height=&quot;248&quot; src=&quot;https://4.bp.blogspot.com/-251hkSWlD80/T4fRKCDSNII/AAAAAAAAARc/a_xjK1kPE6A/s400/Collaboration+Hospital+Mgmt+Register+and+Bed+Allocation.JPG&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(238, 238, 238); box-shadow: rgba(0, 0, 0, 0.1) 1px 1px 5px; padding: 5px; position: relative;&quot; title=&quot;UML Collaboration Diagram for Admitting to Hospital &amp;amp; Bed Allocation&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Collaboration Diagram for Treatment at Hospital:-&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-O10HKwCFvZw/T4fRLIZeT8I/AAAAAAAAARk/Ed6TP34GmNA/s1600/Collaboration+Hospital+Mgmt+Treatment+and+Operation.JPG&quot; imageanchor=&quot;1&quot; style=&quot;color: #888888; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img alt=&quot;UML Collaboration Diagram for Treatment at Hospital&quot; border=&quot;0&quot; height=&quot;266&quot; src=&quot;https://1.bp.blogspot.com/-O10HKwCFvZw/T4fRLIZeT8I/AAAAAAAAARk/Ed6TP34GmNA/s400/Collaboration+Hospital+Mgmt+Treatment+and+Operation.JPG&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(238, 238, 238); box-shadow: rgba(0, 0, 0, 0.1) 1px 1px 5px; padding: 5px; position: relative;&quot; title=&quot;UML Collaboration Diagram for Treatment at Hospital&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff9ee; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&lt;u&gt;Collaboration Diagram for Discharge from Hospital :-&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: #fff9ee; clear: both; color: #222222; font-family: Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; font-size: 15.4px; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-ULTCpleDVYE/T4fRJFQCBLI/AAAAAAAAARU/9ubSqt10HJ8/s1600/Collaboration+Hospital+Mgmt+Discharge.JPG&quot; imageanchor=&quot;1&quot; style=&quot;color: #888888; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img alt=&quot;UML Collaboration Diagram Discharge Hospital&quot; border=&quot;0&quot; height=&quot;210&quot; src=&quot;https://2.bp.blogspot.com/-ULTCpleDVYE/T4fRJFQCBLI/AAAAAAAAARU/9ubSqt10HJ8/s400/Collaboration+Hospital+Mgmt+Discharge.JPG&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(238, 238, 238); box-shadow: rgba(0, 0, 0, 0.1) 1px 1px 5px; padding: 5px; position: relative;&quot; title=&quot;UML Collaboration Diagram Discharge Hospital&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imraan-prrec.blogspot.com/feeds/4135676762812943093/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://imraan-prrec.blogspot.com/2018/02/unified-modelling-language-practicals_16.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5822823688987998362/posts/default/4135676762812943093'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5822823688987998362/posts/default/4135676762812943093'/><link rel='alternate' type='text/html' href='http://imraan-prrec.blogspot.com/2018/02/unified-modelling-language-practicals_16.html' title=''/><author><name>Imraan</name><uri>http://www.blogger.com/profile/13029977933710149084</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://1.bp.blogspot.com/-L-92rGI_GFU/T4fRUbad3gI/AAAAAAAAASc/NfqxhmjWASE/s72-c/Use+Case+Hospital+Mgmt+UML.JPG" height="72" width="72"/><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry></feed>