{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

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

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

CS 3280 Assembly Language and Computer Organization MWF 1:00 pm – 1:50 pm Prof. Michael Jurczyk EBW 121 884-8869

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

View Full Document
Number System Conversion Decimal, binary, hex (integer only, no fractions) Decimal → Binary:
Number System Conversion Binary, Hex → Decimal : Binary → Hex : Hex → Binary :

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

View Full Document
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:
Arithmetic with Binary Numbers 2) Subtraction of unsigned (non-negative) numbers 0100 2 - 0011 2

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

View Full Document
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
Negative Binary Number Representation 2) Two’s complement Definition: A* is 2’s complement of A with A*= 2

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

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### 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
Ask a homework question - tutors are online