1 / 17

11001 / 101 , 110000/011

11001 / 101 , 110000/011. 1.18) Perform subtraction on the given unsigned binary numbers using the 2's complement of the subtrahend. Where the result should be negative, find its 2‘s complement and affix: a minus sign. 1 0 0 1 1 – 1 0 0 0 1 | 1 0 0 1 – 1 0 1 0 0 0.

ian-chavez
Download Presentation

11001 / 101 , 110000/011

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 11001 / 101 , 110000/011

  2. 1.18) Perform subtraction on the given unsigned binary numbers using the 2's complement of the subtrahend. Where the result should be negative, find its 2‘s complement and affix: a minus sign. 1 0 0 1 1 – 1 0 0 0 1 | 1 0 0 1 – 1 0 1 0 0 0

  3. Find the 5-bit signed magnitude, 1’s and two’s complement representation of the decimal number. (-5)

  4. Overflow 40+30 ( 7 bit signed number ) 0 _ 1 0 1 0 0 0 0 _ 0 1 1 1 1 0

  5. Perform the addition of following 8-bit two’s complement binary numbers. Indicate if there is an overflow or not. 11100100 + 10011100

  6. +29: 0 _ 0 1 1 1 0 1 -29: 1 _ 1 0 0 0 1 1 +49: 0 _ 1 1 0 0 0 1 -49: 1 _ 0 0 1 1 1 1

  7. 86 + 48

  8. 0101 0001 0011 0111

  9. Complement bit 6 A: 100 0001 a: 110 0001

  10. Other Codes

  11. ASCII Code • American Standard Code for Information Interchange (ASCII)

  12. ASCII Properties • Digits 0 to 9 span Hexadecimal values 3016 to 3916 • Upper case A-Z span 4116 to 5A16 • Lower case a-z span 6116 to 7A16 • Lower to upper case translation (and vice versa) occurs by flipping bit 6.

More Related