انت هنا الان : شبكة جامعة بابل > موقع الكلية > نظام التعليم الالكتروني > مشاهدة المحاضرة

Lec-ppt-3/logic/arithmetic operations on binary

Share |
الكلية كلية تكنولوجيا المعلومات     القسم قسم البرامجيات     المرحلة 1
أستاذ المادة صفا سعد عباس المرعب       22/11/2018 20:29:08
Arithmetic Operations on Binary Numbers
1. Binary Addition
The four basic rules for adding binary digits (bits) are as follows:
0+0=0 Sum of 0 with a carry 0
0+1=1 Sum of 1 with a carry 0
1+0=1 Sum of 1 with a carry 0
1+1=1 0 ----> Sum of 0 with a carry 1
2. Binary Subtraction
The four basic rules for subtracting are as follows:
0-0=0
1-1=0
1-0=1
0-1=1 it means 0 – 1 with a borrow of 1
3. 1 s And 2 s Complement of Binary Number
The 1 s complement and the 2 s complement of binary number are important because they permit the representation of negative numbers.
Binary Number 1 0 1 1 0 0 1 0
1 s Complement 0 1 0 0 1 1 0 1
2 s Complement of a binary number is found by adding 1 to the LSB of the 1 s Complement.
2 s Complement= (1 s Complement) +1
Binary number 10110010
1 scomplement 01001101
Add 1 + 1
----------------------------------------
2 s complement 01001110
4. Binary Multiplication
5. Binary Division

المادة المعروضة اعلاه هي مدخل الى المحاضرة المرفوعة بواسطة استاذ(ة) المادة . وقد تبدو لك غير متكاملة . حيث يضع استاذ المادة في بعض الاحيان فقط الجزء الاول من المحاضرة من اجل الاطلاع على ما ستقوم بتحميله لاحقا . في نظام التعليم الالكتروني نوفر هذه الخدمة لكي نبقيك على اطلاع حول محتوى الملف الذي ستقوم بتحميله .
الرجوع الى لوحة التحكم