1 / 10

Welcome to CSE 370 Introduction to Digital Design

Welcome to CSE 370 Introduction to Digital Design. Jan 10, 2002. TA information. Email Tian Sang: sang@cs.washington.edu Office hour Monday 4:30-5:30 pm, Sieg 226a Friday, 1:30-2:30 pm, Sieg 226b Right after lectures. Conversions (Appendix A). Binary/octal/hexadecimal to decimal

elsu
Télécharger la présentation

Welcome to CSE 370 Introduction to Digital Design

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Welcome to CSE 370 Introduction to Digital Design Jan 10, 2002

  2. TA information • Email • Tian Sang: sang@cs.washington.edu • Office hour • Monday 4:30-5:30 pm, Sieg 226a • Friday, 1:30-2:30 pm, Sieg 226b • Right after lectures

  3. Conversions (Appendix A) • Binary/octal/hexadecimal to decimal • Sum by position weight 12F16= 1*162 + 2*161 + F =256 + 32 + 15 = 30310 10.00112= 21 + 2-3+ 2-4 = 2 + 0.125 + 0.0625 = 2.187510

  4. Conversions (Appendix A) • Decimal to binary/octal/hexadecimal • Successive division for the integer part 20910 = 3218 = D116 = 110100012 • Successive multiplication for the fraction part 0.187510 = 0. 00112 = 0.148 = 0.316

  5. Conversions (Appendix A) • Binary to octal and hexadecimal • Bit grouping 110100012 = (11)(010)(001)2 = 3218 110100012 = (1101)(0001)2 = D116

  6. Conversions (Appendix A) • Octal and hexadecimal to binary • Expand each bit D116 = (11)(010)(001)2 = 110100012 258 = (010)(101)2 = 0101012

  7. Binary arithmetic operations • Almost the same as those for decimal numbers. • Just remember: a carry/borrow worth 2

  8. Data representation (Chapter 5) • Representation of 14: 0000 1110 • Representation of –14: • In signed-magnitude: 1 000 1110 • In signed-1’s complement: 1 111 0001 • In signed-2’s complement: 1 111 0010

  9. Overflow conditions • Read page 246-248 of the textbook for the solution for question 4 of assignment 1.

  10. Reference • More detailed information can be found in Chapter 3, Computer System Architecture 3rd edition, M.Morris Mano, Prentice-Hall.

More Related