Question
1)Assume numbers are represented in 8-bit twos complement representation. Show the calculation of the following: a. 5 + 13 b. -5 + 13 c. 5
1)Assume numbers are represented in 8-bit twos complement representation. Show the calculation of the following: a. 5 + 13 b. -5 + 13 c. 5 - 13 d. -5 - 13
2)The tens complement of an n-digit number N in base r is defined as rn - N for N 0 and 0 for N = 0. Find the tens complement of the decimal number 14,250.
3) Calculate (72, 530 - 14,250) using tens complement arithmetic. Assume rules similar to those for twos complement arithmetic.
4) Consider the following operation on a binary word. Start with the least significant bit. Copy all bits that are 0 until the first bit is reached and copy that bit, too. Then take the complement of each bit thereafter. What is the result? ___________________________
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