This preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
Unformatted text preview: EE EE EE EE200 200 200 200(class class class class 21) Prof. M.M. Dawoud Prof. M.M. Dawoud Prof. M.M. Dawoud Prof. M.M. Dawoud 1 of of of of 4 EE200 DIGITAL LOGIC CIRCUIT DESIGN Class Notes CLASS 21 The material covered in this class will be as follows: • Complements • Subtraction using complements. Decimal number complements: 9’s complement of the decimal number N = (10 n – 1) – N = n (9’s) – N i.e. {subtract each digit from 9} Example 9’s complement of 134795 is 865204 Similarly 1’s complement of the binary number N = (2 n1) – N = n (1’s) – N Example 1’s complement of 110100101 is 001011010 which can be obtained by replacing each one by a zero and each zero by one. r’s complement: 10’s complement of the decimal number N = 10 n – N = (r1)’s complement + 1 Example 10’s complement of 134795 is 865205 Example find the 9’s and 10’s complements of 314700....
View
Full
Document
This note was uploaded on 05/21/2010 for the course EE EE200 taught by Professor Prof.ahmed during the Spring '09 term at King Fahd University of Petroleum & Minerals.
 Spring '09
 prof.ahmed

Click to edit the document details