Answers:

  0111
+ 0101
  ----
  1100
N=1, Z=0, C=0, V=1

  1000
+ 1000
  ----
  0000
N=0, Z=1, C=1, V=1

  0101
+ 1101
  ----
  0010
N=0, Z=0, C=1, V=0

  1111
+ 0001
  ----
  0000
N=0, Z=1, C=1, V=0


[exam] [CSC 258 additional problems] [main course page]