Starting from:

$25

CS3844- Lab 1 Computer Organization Solved

1.      Assuming #bits=8 and using 2's comp, represent the following as binary and hexadecimal values. Should be able to do without a calculator, but a good idea to check your answer with a calculator. a.   50

b.      -40

c.       128

d.      -128

e.       -1

2.      Add #a and #b in decimal, binary, and hex – compare the results.

3.      Assuming  #bits=8 and 2’s complement show the decimal equivalent to each of the  binary values for both signed and unsigned values.

a.       0100 0110

b.      1100 0110

c.       1110 1001

 

2020 08–CS 3844 Computer Organization–Lab #1                                                                                 Page 1 

4.      4. Assuming #bits=16 and using 2's comp, add these two binary values.  Show the result in binary.  What is the decimal equivalent for the sum? For #b, still maintain #bits=16, what is the result if the binary numbers represent positive values?

 

a.       11111100 00110111

         + 11111110 01100001

 

 

b.      11111100 00110111

         + 11111110 01100001


5.      What is the largest positive value and the largest negative value that can be stored in a 9 bit 2's comp representation?

 

More products