Единствената о множите? се

  • No School
  • AA 1
  • 19

This preview shows page 17 - 19 out of 19 pages.

умножение на двоични числа. Единствената особеност се явява това, че ако някой множител се явява отрицателен (знаковите разряди са 11), то преди началото на умножението следва отляво да му се добавят толкова единици, колкото значещи разряди присъстват в другия множител отдясно на запетаята. Произведението винаги получаваме в допълнителен код. Обърнете внимание, че добавянето на единици отляво пред отрицателно число не изменя неговата величина, така както пред положително число можем да допишем колкото си искаме нули. Обратно, пред отрицателно число в допълнителен или обратен код добавянето на нули е недопустимо. Примери:
Image of page 17
1. Умножение (десетично: 7.5 = 35) x = 00,111 y = 00,101 00,111 x 00,101 --------------------- 00111 00000 00111 00000 00000 -------------------- 00100011 = 00,100011 2. Умножение (десетично: 7.(-5) = -35) x = 00,111 y = 11,011 00,111 x 11111,011 ------------------- 00111 00111 00000 00111 00111 00111 00111 00111 -------------------- 011011,011101 = 11,011101 3. Умножение (десетично: (-7).5 = -35) x = 11,001 y = 00,101 11111,001 x 00,101 ------------------- 11111001 00000000 11111001 00000000 00000000 -------------------- 001011,011101 = 11,011101 4. Умножение (десетично: (-7).(-5) = 35)
Image of page 18
x = 11,001 y = 11,101 11111,001 x 11111,101 ------------------- 11111001 00000000 11111001 11111001 11111001 11111001 1111001 -------------------- 1111010000,100011 = 00,100011
Image of page 19

You've reached the end of your free preview.

Want to read all 19 pages?

  • Fall '19

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes
A+ icon
Ask Expert Tutors