Number-Systems

Question 41

A processor that has carry, overflow and sign flag bits as part of its program status word (PSW) performs addition of the following two 2’s complement numbers 01001101 and 11101001. After the execution of this addition operation, the status of the carry, overflow and sign flags, respectively will be:

A
1, 1, 0
B
1, 0, 0
C
0, 1, 0
D
1, 0, 1
Question 41 Explanation: 

Carry flag = 1
Overflow flag = 0
Sign bit = 0 (MSB bit is 0)
Overflow flag:
In computer processors, the overflow flag is usually a single bit in a system status register used to indicate when an arithmetic overflow has occurred in an operation.
Correct Answer: B
Question 41 Explanation: 

Carry flag = 1
Overflow flag = 0
Sign bit = 0 (MSB bit is 0)
Overflow flag:
In computer processors, the overflow flag is usually a single bit in a system status register used to indicate when an arithmetic overflow has occurred in an operation.

Leave a Reply

Your email address will not be published. Required fields are marked *

Number-Systems
November 12, 2024
Number-Systems
November 12, 2024
Number-Systems
November 12, 2024
Number-Systems
November 12, 2024
error: <b>Alert: </b>Content selection is disabled!!