lecture02 - CMPT 150 Introduction to Computer Design Page 1...

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

View Full Document Right Arrow Icon
CMPT 150 Introduction to Computer Design Page 1 Binary Addition, Subtraction, and Multiplication ± We must remember that the only digits we have E.g. addition: E.g. multiplication 01100 10110 1011 + 10001 + 10111 x 101 E.g. subtraction: 10110 10110 - 10010 - 10011 CMPT 150 Introduction to Computer Design Page 2 Hexadecimal Addition ± We will convert each digit addition to decimal, compute, and then convert back to hex 59F + E46 CMPT 150 Introduction to Computer Design Page 3 Octal Multiplication Multiply the following two octal numbers: 762 x 45 CMPT 150 Introduction to Computer Design Page 4 Radix Conversion Generalized ± A general way to convert from radix- m to radix- n : 1. Separate the radix- m number into integer and fractional parts. 2. For the integer part, successively divide the radix- m number by n and collect the remainders. 3. For the fractional part, successively multiply the radix- m number by n and collect the integers until 0 or another repeated pattern .
Background image of page 1

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

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/27/2011 for the course CMPT 150 taught by Professor Dr.anthonydixon during the Spring '08 term at Simon Fraser.

Page1 / 3

lecture02 - CMPT 150 Introduction to Computer Design Page 1...

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

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