# How can overflow be identified in the registers? ### How can overflow be identified in the registers?

In a computer processor, the indicator of overflow (sometimes denoted V) is usually a bit of the register status indicating that a overflow arithmetic has taken place during an operation, which implies that the signed result of a two’s complement will not fit within the bit count (width) of the ALU.

### How to detect an overflow?

To simplify things, we detects an overflow when you add two numbers with the same sign and the result is in opposite sign (like the second example 77+68 which are both (68 and 77) positive but the result is negative because the most significant bit is at 1 ), we say that there is overflow because the …

### What is the smallest signed integer that can be placed on the data bus?

Solution: 1024 bit.

### What is the largest positive integer that can be encoded in a 16-bit word?

On 16 bit (2 bytes), the interval of coding is [-32768, 32767]. out of 32 bits (4 bytes), the interval of coding is [-, ]. In general the greatest integer relative positive n-coded bits will be 2n-1-1.

### What are the minimum and maximum values ​​that a 4-byte signed integer code can take?

The coding interval: On 16 bits (2 bytes), the coding interval is [−32768, 32767]. On 32 bit (4 bytes), the coding interval is [−, ].