Question
A. Show the representation of each of the following signed integers using (a) signed magnitude, (b) 1s complement, (c) 2s complement, and (d) excess-64 notations.
A. Show the representation of each of the following signed integers using (a) signed magnitude, (b) 1s complement, (c) 2s complement, and (d) excess-64 notations. Use 7 bits for each representation.
1. 43
2. -50
B. Show the IEEE 754 (single precision) bit patterns for the following decimal numbers
1. -0.002
2. 1000
C. Perform the following additions using 7-bit 2s complement binary representation. Specify if there is an overflow.
1. 49 + 4
2. -44 + 44
3. -4 - 62
D. Identify both the mask and the Boolean operation needed to accomplish each of the following objectives.
1. Put 1s in the middle four bits of an eight-bit pattern without disturbing the other bits.
2. Take the complement the first four bits of an 8-bit pattern without changing the other bits.
3. Clear all but the least significant bit of an 8-bit pattern without disturbing the least significant bit.
4. Change an uppercase ASCII code character to its corresponding lowercase code.
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