First page Back Continue Last page Overview Graphics

Laboratory 3.2 (cont)

  • * bits 0-3 only, ā€œNā€ means N bit (bit 3) is 1

  • $E9 % 1110 1001 ($16 + $01 = 16+7= 23) -23

  • +$89 % 1000 1001 ($76 + $01 = 7*16+7= 119) -119

  • $172 % 1 0111 0010 $72 = 7*16+2 = 114 <> -142

  • ^ (carry out of bit 7occurs)

  • -142 < -128 so overflow occurs and value in A register does not equal sum of $E9 and $89.


    Notes: