logo

Computer Organizations and Design - Solved Problems and Illustrations

   

Added on  2023-06-11

14 Pages1990 Words116 Views
Running head: COMPUTER ORGANIZATIONS AND DESIGN 1
Computer Organizations and Design
Student’s Name
Institutional Affiliation

COMPUTER ORGANIZATIONS AND DESIGN 2
You need to type in your solution except for diagrams (130 marks).
1. Using n= 8 bits and all of following internal representations for signed integers (30 marks):
1. Signed magnitude
2. one's complement
3. two's complement
Give the codes for each of the following signed decimal integer values, fill in values directly into
the table below. Given each answer as a 2-digit hexadecimal value. It is not necessary to show
your work (base conversion, twos complementing operations.
Decimal SM One’s complement Two’s complement
-96 11100000 1100000 0010 0000
-85 11010101 1010101 00101011
-1 1000 0001 1111 0111 1111
3 0000 0011 0011 1111 1101
78 01001110 1001010 10110010
128 010000000 10000000 110000000
2. Given the 32-bit two's complement internal representation for each of the following
signed integers. Give each answer in hexadecimal (8 digits). Show your work (15 marks).

COMPUTER ORGANIZATIONS AND DESIGN 3
1. 1,234,567,090
2 1234567090
2 617283545 -0
2 308641772 -1
2 154320886 -0
2 77160443 -0
2 38580221 -1
2 19290110 -1
2 9645055 -0
2 4822527 -1
2 2411263 -1
2 1205631 -1
2 602815 -1
2 301407 -1
2 150703 -1
2 75351 -1
2 37675 -1
2 18837 -1
2 9418 -1
2 4709 - 0
2 2354 -1

COMPUTER ORGANIZATIONS AND DESIGN 4
2 1177 -0
2 588 -1
2 294 -0
2 147 -0
2 73 -1
2 36 -1
2 18 -0
2 9 -0
2 4 -1
2 2 0
2 1 0
0100 1001 1001 0101 1111 1111 1011 0010
= (4995FFD2)16
2. -2,777,888,099
2 2777 888099
2 1388944059 -1
2 694472024 -1
2 347236012 -0
2 173618006 -0
2 86809003 -0
2 43404501 - 1
2 21702250 -1

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents
Computer Architecture Study Material with Solved Assignments
|9
|1428
|190

bonus assignment.
|2
|448
|166

IT Fundamental : Question and answer
|15
|1476
|54

Module 5 S19 - Memory Management
|3
|699
|96

Frequency Modulation
|19
|1193
|110

Computer Science Assignment .
|17
|2507
|490