Explore BrainMass
Share

Explore BrainMass

    CPU flags as a result of addition of two 8-bit numbers

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    If the last operation performed on a computer with an 8-bit word was an addition in which the two operands were 00000010 and 00000011, what would be the value of the following flags?

    Carry
    Zero
    Overflow
    Sign
    Even parity
    Half-carry

    © BrainMass Inc. brainmass.com October 10, 2019, 12:17 am ad1c9bdddf
    https://brainmass.com/computer-science/cpu-utilisation/cpu-flags-result-addition-two-8-bit-numbers-285703

    Solution Preview

    Result of addition of 00000010 and 00000011 is 00000101.

    Carry Flag = 0, No carry results from above addition; ...

    Solution Summary

    Solution also gives brief explanation for each of the flag value.

    $2.19