Question: ELEC 2 2 2 0 Homework # 4 Due Wednesday, 8 / 2 6 / 2 0 2 4 ( Refer to Textbook Chapter 2
ELEC Homework #
Due Wednesday,
Refer to Textbook Chapter and Digital Logic Circuits Textbook Chapter
A certain CPU uses twos complement arithmetic to perform addition of two bit
signed numbers. Describe what the following condition flags tell you about the
bit result of this addition. point each
a Z zero flag
b N sign flag
c C carry flag
d V overflow flag
Perform the following calculations as they would be done by the bit CPU of
problem Write the hex values in binary to perform the calculation. Show the
bit result in hexadecimal and the four condition flag values point for the result
and point for the flags
axAxCA
bxFE x
cxx
dxx
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
