Digital Logic · Boolean algebra and combinational logic
An 8-bit two's-complement Q4.4 format uses four bits to the left of the binary point…
Problem
An 8-bit two's-complement Q4.4 format uses four bits to the left of the binary point, including the sign bit, and four bits to the right. The encoded value is the 8-bit two's-complement integer formed by the eight bits, multiplied by \(2^{-4}\). State the representable range as a closed interval of multiples of \(2^{-4}\). Encode \(-3.375\) and \(+2.75\). Decode \(1011.0100_{2}\) and \(1111.1111_{2}\). Add the Q4.4 patterns \(0010.1100_{2}\) and \(1101.1010_{2}\) as 8-bit two's-complement strings, and give both the 8-bit sum pattern and the decimal value it represents in Q4.4. State whether that addition overflows Q4.4.
Hint
Q4.4 is 8-bit two's complement with an implied binary point in the middle, so every value is \(k/16\) for an 8-bit two's-complement integer \(k\).
Check your work
Work the problem yourself first. Then open it in Training to check your answer and read the full worked solution.
Create a free account to check your answer and see the solution. Create a free account.
More Digital Logic practice problems
- The unsigned binary quantity N=1101011.1011_2 is givenBoolean algebra and combinational logic
- A 4-bit input ABCD is interpreted as an unsigned binary integer N=8A+4B+2C+DLogic minimization and hazards
- Even parity on a bit string means that the total number of 1s, counting an appended…Logic minimization and hazards
- A 4-to-2 priority encoder has request inputs I_3,I_2,I_1,I_0, binary outputs A_1,A_0…Latches, flip-flops, and sequential circuits
- A D latch has enable C and data DLatches, flip-flops, and sequential circuits
- A 4-bit synchronous binary up-counter is built from four falling-edge-triggered JK…Finite-state-machine design
- Adjacent stages of a shift register are rising-edge-triggered D flip-flops with Q_i…Finite-state-machine design
- A synchronous Moore handshake controller has states IDLE, LOAD, WAIT, and ACKED, inputs…Arithmetic units and datapath composition
- A processor is byte-addressable, has a 20-bit byte address A_(19)… A_0, and has a…Arithmetic units and datapath composition