What will the carry flag (CF), the overflow flag (OF), the sign flag (SF) and the zero flag (ZF) be set to if the following arithmetic is done in an 8-bit register?
0xFE + 0xFB
- CF=1, OF=0, SF=1, ZF=0
- CF=1, OF=1, SF=0, ZF=0
- CF=1, OF=0, SF=1, ZF=1
- CF=1, OF=1, SF=1, ZF=0
- None of the above.
Thanks
Exercise question from William Stallings - Computer organization and architecture.