(10 points) Determine the result of the following signed binary arithmetic operation. The numbers are represented using 8-bit two's complement and the result will be an 8-bit result. Indicate whether an overflow occurs (the result is out of range). Show all work and clearly label your answers. What are the two numbers in decimal respectively? (hint: Subtraction is addition of negative of subtracted end, i.e.,
[
egin{array}{cccccccc}
& 1 & 0 & 0 & 0 & 1 & 1 & 0 \
- & 0 & 0 & 0 & 1 & 1 & 1 & 0 & 0 \
hline
& 1 & 0 & 1 & 0 & 0 & 1 & 1 & 0 \
end{array}
]
Overflow (Y or No with justification):
overflow in Range -128∼127
ENGRZ33ZEXams
2. (10 points) Determine the result of the following signed binary arithmetic operation. The numbers are represented using 8-bit two's complement and the result will be an 8-bit result. Indicate whether an overflow occurs (the result is out of range). Show all work and clearly label your answers. What are the two numbers in decimal respectively? (hint: Subtraction is addition of negative of subtracted end, i.e., a-b=a+(-b))
[
egin{array}{cccccccc}
1 & 0 & 0 & 0 & 1 & 0 & 1 & 0 \
0 & 0 & 0 & 1 & 1 & 1 & 0 & 0 \
hline
1 & 1 & 1 & 1 & 0 & 0 & 1 & 1 \
end{array}
]
Overflow (Y or No with justification): G Mol IM
128N127