L02 - Number Systems & Computer Architecture Computer...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
Number Computer Architecture Outline Number Systems and Representa- tions Bases Representations Machine Architecture Computer Architecture Margot Gerritsen Shela Aboud Emmet Caulfield School of Earth Sciences Stanford University January 5, 2010
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Number Computer Architecture Outline Number Systems and Representa- tions Bases Representations Machine Architecture Outline Computers represent everything in binary , so we’ll review number systems before we talk about computer architecture. 1 Number Systems and Representations Bases Representations 2 Machine Architecture
Background image of page 2
Number Computer Architecture Outline Number Systems and Representa- tions Bases Representations Machine Architecture Number systems — base- n , binary, octal, hexadecimal Representation of integer, negative, and fractional numbers Motivate the notion of type
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Computer Architecture Outline Number Systems and Representa- tions Bases Representations Machine Architecture Bases In a base- n (or radix- n ) system: Symbols representing values from 0 to n - 1 are used in weighted columns Every column’s weight is n times the weight of the column on its right Units are immediately left of the radix point Name n Digits Ex. Column Weights Decimal 10 0-9 13.25 . . . 10 1 10 0 . 10 - 1 . . . Binary 2 0-1 1101.01 . . . 2 1 2 0 . 2 - 1 . . . Octal
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 06/17/2010 for the course CME 211 taught by Professor Staff during the Winter '10 term at Stanford.

Page1 / 14

L02 - Number Systems & Computer Architecture Computer...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online