Let R1 and R2 be two 4-bit registers that store numbers in 2's complement form. For the operation R1 + R2, which values of R1 and R2 give an arithmetic overflow?
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: B. R1 = 1100 and R2 = 1010
Explanation
The 4-bit range is −8 to 7. A: −5 + −2 = −7. B: −4 + −6 = −10, which overflows. C: 3 + 4 = 7. D: −7 + −1 = −8.More Computer System Architecture questions
- Consider the Boolean expression F = (X + Y + Z)(X′ + Y)(Y′ + Z). Which of the following Boolean expressions is/are equivalent to F′ (the co…
- Which of the following statements is/are true? A. The processor has direct access to both primary and secondary memory. B. Primary memory s…
- Match List I (8085 instructions) with List IIList I List II A. DAA I. Program Control Instruction B. LXI II. Interrupt instruction C. RST I…
- The sequence of events during a typical instruction fetch is: A. Memory B. MBR C. MAR D. PC E. IR Choose the correct order from the options…
- Which one of the following types of memory is the fastest?
- The memory size for n address lines and m data lines is given by