2- Three registers; A, B and C have 16 bits each where A holds the following hexadecimal value; 4F74, and B holds the following octal value; 145771.
i- Determine the binary output C for C=(A\cdot B)$_L$, C=(A+B)$_L$, C=(A\oplus B)$_L$, C=(A+B+1), C=A\oplus B, C=ashl B, and C=ashr B (single shift only) microoperations. Negative values are in 2's complement.
ii-Indicate the cases where an over-flow is detected.
operation Overflow bit
(A\cdot B)$_L$
(A+B)$_L$
(A\oplus B)$_L$
(A+B+1)
ashr B
ashl B