Signed Binary Numbers & BCD Supplemental Homework

A) For each of the following parts convert the decimal number +200 to the specified 9-bit binary format.
  1. unsigned binary   ==>0 1100 1000
  2. offset binary       ==> (offset = 28 = 256)  1 1100 1000 (unsigned binary with  1 0000 0000  (256) added to it
  3. two's compliment signed binary notation    ==>0 1100 1000   (positive number, same as unsigned binary or invert MSB of offset binary)
B) For each of the following parts convert the decimal number -197 to the specified 9-bit binary format.
  1. offset binary   ==> -197+256= 59 ==>  0 0011 1011
  2. two's compliment signed binary notation      ==> 1 0011 1011 (invert MSB of offset binary)
C) For each of the following parts convert the 10-bit binary number 10 0110 1110 into its signed decimal equivalent.
  1. If the binary number is in unsigned binary   ==>622D
  2. If the binary number is in offset binary         (offset = 29 = 512)     ==> 622-512 = +110D
  3. If the binary number is in two's compliment signed binary notation      ==>2s CPL =01 1001 0010 = 402==> put in minus sign ==> -402D
                                                       or convert to offset binary by inverting MSB ==> 00 0110 1110 = 110 ==> 110-512 = -402D
D) For each of the following parts convert the 10-bit binary number 01 0110 1110 into its signed decimal equivalent.
  1. If the binary number is in unsigned binary      ==> 366D
  2. If the binary number is in offset binary       (offset = 29 = 512)    366-512 ==> -146D
  3. If the binary number is in two's compliment signed binary notation   ==> (positive number, same as unsigned binary) +366D
E) Add the following decimal numbers in BCD.  Convert the given decimal numbers to BCD and do all the addition in BCD, showing all steps.
  1. 548 + 368    0101       0100        1000BCD
    + 0011       0110        1000BCD
       1000       1011 (cy) 0000
      1000       1011    0000  <=Ans. from previous
                 +  0110    0110   <=Add 6 for carry out and illegal code    
          1001    0001   0110    <=Answer = 916D
       548
     +368
       916

                    (illegal)

    684 + 694   0110         1000         0100BCD
    +0110         1001         0100BCD
      1101 (cy)  0001        1000
              1101      0001    1000    <=Ans. from previous
            +0110      0110                 <=Add 6 for carry out and illegal code
    0001   0011      0111    1000   <=Answer = 1378D
      684
    +694
    1378

    (illegal)



suppl_signed_num.htm - 3/17/21