<div dir="ltr">Hello Computer Architecture Class:<div><br></div><div>I've updated today's presentation "Representing Number". I updated Slide 12 putting in the step numbers as explained in class today. Also, I inserted two new slides, slide 21 and 22. These give more detail on signed magnitude integers to help with your homework.</div><div><br></div><div>Another example follows in this email that shows converting +7 and -7 to a signed magnitude integer.</div><div><br></div><div><div>Example: Representing +7 as a signed-Magnitude Integer with 4 bits.</div><div>Step1: Convert 7 to a binary number resulting in 111. We can use only 3 bits since the 4th is a sign bit</div><div>Step 2: Attach a 0 as the leftmost bit implying this is a positive number resulting in 0111. Notice, if using only 4 bits, 7 is the largest number that can be represented for a signed magnitude number.</div><div><br></div><div>Example: Representing -7 as a signed-Magnitude Integer with 4 bits.</div><div>Step1: Convert 7 (yes, positive 7 or the absolute value of -7) to a binary number (notice we are not considering the sign yet); this results in 111 just as the above example. We can use only 3 bits since the 4th is a sign bit.</div><div>Step 2: Attach a 1 to the leftmost bit implying this is a negative number resulting in 1111. </div><div><br></div><div>Notice, all but the left most bit are the same when representing 7 and -7. You can think of the leftmost bit as a positive or negative sign. Again, 0 is a positive and 1 is a negative.</div></div><div><br></div><div><br></div><div>Best,</div><div>Dianne<br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><font face="Calibri,sans-serif" size="2" style="color:rgb(0,111,201)"><span style="font-size:16px">_______________________________________________</span></font><br style="color:rgb(0,111,201);font-family:calibri,arial,helvetica,sans-serif"><font face="Calibri,sans-serif" size="2" style="color:rgb(0,111,201)"><span style="font-size:16px">Dr. Dianne Foreback, Assistant Professor</span></font><br style="color:rgb(0,111,201);font-family:calibri,arial,helvetica,sans-serif"><font face="Calibri,sans-serif" size="2" style="color:rgb(0,111,201)"><span style="font-size:16px">Department of Computer Science</span></font></div><div><font face="Calibri,sans-serif" size="2" style="color:rgb(0,111,201)"><span style="font-size:16px">Math and Computer Science Building (MSB) 266</span></font></div><div><font face="Calibri,sans-serif" size="2" style="color:rgb(0,111,201)"><span style="font-size:16px">P.O. Box 5190, </span></font><span style="color:rgb(0,111,201);font-family:calibri,sans-serif">Kent, Ohio 44242-0001, USA</span></div><div><font face="Calibri,sans-serif" size="2" style="color:rgb(0,111,201)"><span style="font-size:16px">Phone: <a href="tel:330.672.9064" value="+13306729064" style="color:rgb(17,85,204)" target="_blank">330.672.9064</a></span></font></div><div><font face="Calibri,sans-serif" size="2" style="color:rgb(0,111,201)"><span style="font-size:16px">Email: <a href="mailto:dforebac@kent.edu" style="color:rgb(17,85,204)" target="_blank">dforebac@kent.edu</a></span></font></div><div><font face="Calibri,sans-serif" size="2" style="color:rgb(0,111,201)"><span style="font-size:16px">_______________________________________________</span></font></div></div></div></div>
</div></div>