Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

To fully understand operation on ALU, you require to have a good knowledge of representation of positive, negative and fractional numbers in binary number system.

  1. To fully understand operation on ALU, you require to have a good knowledge of representation of positive, negative and fractional numbers in binary number system. In addition, you should understand how the mathematical operations (such as addition and subtraction) are performed on the number system. This lab work will assist you to become proficient with signed-magnitude and twos complement representations and mathematical operations on those representations. All students should able to perform the following tasks manually (without using a computer or calculator).

The following table shows decimal numbers. Convert each decimal number to signed-representation and twos complement equivalent manually in 8 bits (you can use calculator or computer to convert from decimal to binary):

Decimal Number

Signed Representation

Twos Complement Representation

49

-49

14

-14

+127

-127

128

-128

  1. Convert the following decimal to 2s Complement 8 bit binary. Using twos complement and addition, calculate the result of the following:

  1. 63 + 49 =

  1. 59 37 =

  1. -34 22 =

Comment about the validity of the result. Convert the results back to decimal to verify your answer.

  1. Convert the following real base 10 numbers into IEE754 floating point number format...

45.2510

-128.062510

21.310 (note this is tricky!)

  1. Convert the following numbers from IEEE754 floating point format to decimal real numbers

0x8B49 0000

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional Visual Basic 6 Databases

Authors: Charles Williams

1st Edition

1861002025, 978-1861002020

More Books

Students also viewed these Databases questions