Question: ( a ) Consider the following binary number : 0 1 0 1 1 1 1 0 What decimal value do these 1 s and

(a) Consider the following binary number :
01011110
What decimal value do these 1s and 0s represent if we interpret these bits to represent:
(i) an unsigned 8-bit binary integer?
(ii) an 8-bit twos complement integer?
(iii) an integer number represented in 8-bit sign-magnitude notation?
(b) Perform the operation:
(-15)
+(+1)
=-14
using 5-bit twos complement arithmetic. Indicate whether overflow has occurred.
(c) Perform the operation:
(-15)
+(+1)
=-14
using 5-bit sign magnitude arithmetic. Indicate whether overflow has occurred.
(d) Perform the operation:
-16
x (-1)
=+16
using 5-bit twos complement multiplication following the pencil-paper method using
sign extension.
(e) Perform the operation:
(+4)
-(+6)
=-2
in 5-bit twos complement arithmetic ,Please answer according to discrete mathamatics

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!