Answered step by step
Verified Expert Solution
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.
- 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 |
|
|
- Convert the following decimal to 2s Complement 8 bit binary. Using twos complement and addition, calculate the result of the following:
- 63 + 49 =
- 59 37 =
- -34 22 =
Comment about the validity of the result. Convert the results back to decimal to verify your answer.
- Convert the following real base 10 numbers into IEE754 floating point number format...
45.2510
-128.062510
21.310 (note this is tricky!)
- 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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started