Question
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 |
|
|
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