








Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
data representation in computer architecture
Typology: Assignments
1 / 14
This page cannot be seen from the preview
Don't miss anything!









Chapter 3 – Data Representation
Section 3.1 – Data Types
7 x 10^2 + 2 x 10^1 + 4 x 10^0 + 5 x 10-
1 x 2^5 + 0 x 2^4 + 1 x 2^3 + 1 x 2^2 + 0 x 2^1 + 1 x 2^0 = 45
(736.4) 8 = 7 x 8^2 + 3 x 8^1 + 6 x 8^0 + 4 x 8-1^ = (478.5) 10
(F3) 16 = F x 16^1 + 3 x 16^0 = (243) 10
Computer Architecture 1
Computer Architecture 2
Computer Architecture 4
Computer Architecture 5
Example: 72532 – 13250 = 59282. The 10’s complement of 13250 is 86750.
M = 72352 10’s comp. of N = + Sum = 159282 Discard end carry = - Answer = 59282
Example for M < N: 13250 – 72532 = -
M = 13250 10’s comp. of N = + Sum = 40718 No end carry Answer = -59282 (10’s comp. of 40718)
Example for X = 1010100 and Y = 1000011
X = 1010100 2’s comp. of Y = + Sum = 10010001 Discard end carry = - Answer X – Y = 0010001
Y = 1000011 2’s comp. of X = + Sum = 1101111
Computer Architecture 7
No end carry Answer = -0010001 (2’s comp. of 1101111)
Section 3.3 – Fixed-Point Representation
Computer Architecture 8
Section 3.4 – Floating-Point Representation
Section 3.5 – Other Binary Codes
Computer Architecture 10
Computer Architecture 11
Computer Architecture 13