1-intro - CS 3280 Assembly Language and Computer...

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

View Full Document Right Arrow Icon
CS 3280 Assembly Language and Computer Organization MWF 1:00 pm – 1:50 pm Prof. Michael Jurczyk EBW 121 884-8869
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 System Conversion Decimal, binary, hex (integer only, no fractions) Decimal → Binary:
Background image of page 2
Number System Conversion Binary, Hex → Decimal : Binary → Hex : Hex → Binary :
Background image of page 3

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

View Full DocumentRight Arrow Icon
Arithmetic with Binary Numbers 1) Addition of unsigned (non-negative) numbers 111 2 + 101 2 Problem: Processor data path width fixed when adding two unsigned binary numbers:
Background image of page 4
Arithmetic with Binary Numbers 2) Subtraction of unsigned (non-negative) numbers 0100 2 - 0011 2
Background image of page 5

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

View Full DocumentRight Arrow Icon
Negative Binary Number Representation 1) Sign-Magnitude MSB = sign bit = 0 → number positive 1 →number negative All other bits: number value 8-bit number: 0 000 0000 = +0 0 111 1111 = +127 1 000 0000 = -0 1 111 1111 = -127 . . . . Problems: 1. two representations of of 0 2. cannot just add positive and negative number
Background image of page 6
Negative Binary Number Representation 2) Two’s complement Definition: A* is 2’s complement of A with A*= 2
Background image of page 7

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

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

This note was uploaded on 09/05/2011 for the course CS 3280 taught by Professor Michael during the Spring '09 term at Missouri (Mizzou).

Page1 / 14

1-intro - CS 3280 Assembly Language and Computer...

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

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