Download presentation

Presentation is loading. Please wait.

Published byPierce Robinson Modified over 2 years ago

1
**FIGURES FOR CHAPTER 1 INTRODUCTION NUMBER SYSTEMS AND CONVERSION**

This chapter in the book includes: Objectives Study Guide 1.1 Digital Systems and Switching Circuits 1.2 Number Systems and Conversion 1.3 Binary Arithmetic 1.4 Representation of Negative Numbers 1.5 Binary Codes Problems Click the mouse to move to the next page. Use the ESC key to exit this chapter.

2
**Figure 1-1: Switching circuit**

3
**EXAMPLE: Convert 5310 to binary.**

Conversion (a)

4
**EXAMPLE: Convert .62510 to binary.**

Conversion (b)

5
**EXAMPLE: Convert 0.710 to binary.**

Conversion (c)

6
**EXAMPLE: Convert 231.34 to base 7.**

Conversion (d)

7
Equation (1-1)

8
Add 1310 and 1110 in binary. Addition

9
**The subtraction table for binary numbers is 0 – 0 = 0 **

0 – 1 = 1 and borrow 1 from the next column 1 – 0 = 1 1 – 1 = 0 Borrowing 1 from a column is equivalent to subtracting 1 from that column. Subtraction (a)

10
**EXAMPLES OF BINARY SUBTRACTION:**

Subtraction (b)

11
A detailed analysis of the borrowing process for this example, indicating first a borrow of 1 from column 1 and then a borrow of 1 from column 2, is as follows: Subtraction (c)

12
**The multiplication table for binary numbers is 0 x 0 = 0 0 x 1 = 0 **

Multiplication (a)

13
**The following example illustrates **

multiplication of 1310 by 1110 in binary: Multiplication (b)

14
When doing binary multiplication, a common way to avoid carries greater than 1 is to add in the partial products one at a time as illustrated by the following example: multiplicand multiplier st partial product 0000 2nd partial product (01111) sum of first two partial products 1111 3rd partial product ( ) sum after adding 3rd partial product 1111 4th partial product final product (sum after adding 4th partial product) Multiplication (c)

15
**The following example illustrates division of 14510 by 1110 in binary:**

Binary Division

16
**Table 1-1: Signed Binary Integers (word length n = 4)**

17
**2’s Complement Addition (a)**

1. Addition of 2 positive numbers, sum < 2n –1. 2. Addition of 2 positive numbers, sum ≥ 2n –1 2’s Complement Addition (a)

18
**2’s Complement Addition (b)**

3. Addition of positive and negative numbers (negative number has greater magnitude). 4. Same as case 3 except positive number has greater magnitude. 2’s Complement Addition (b)

19
**2’s Complement Addition (c)**

5. Addition of two negative numbers, |sum| ≤ 2n –1. 6. Addition of two negative numbers, | sum | > 2n –1. 2’s Complement Addition (c)

20
**1’s Complement Addition (b)**

3. Addition of positive and negative numbers (negative number with greater magnitude). 4. Same as case 3 except positive number has greater magnitude. 1’s Complement Addition (b)

21
**1’s Complement Addition (c)**

5. Addition of two negative numbers, | sum | < 2n –1. 6. Addition of two negative numbers, | sum | ≥ 2n –1. 1’s Complement Addition (c)

22
**1’s Complement Addition (d)**

1. Add –11 and –20 in 1's complement. +11 = = taking the bit-by-bit complement, –11 is represented by and – 20 by 1’s Complement Addition (d)

23
**2’s Complement Addition (d)**

2. Add – 8 and + 19 in 2's complement + 8 = complementing all bits to the left of the first 1, – 8, is represented by 2’s Complement Addition (d)

24
**Table 1–2. Binary Codes for Decimal Digits**

25
**Table 1-3 ASCII code (incomplete)**

Similar presentations

OK

Chapter 2: The Logic of Compound Statements 2.5 Application: Number Systems and Circuits for Addition 1 Counting in binary is just like counting in decimal.

Chapter 2: The Logic of Compound Statements 2.5 Application: Number Systems and Circuits for Addition 1 Counting in binary is just like counting in decimal.

© 2017 SlidePlayer.com Inc.

All rights reserved.

Ads by Google

Ppt on mars one candidates Ppt on asian continental divide Ppt on natural disaster tsunami Ppt on tricks in mathematics Ppt on natural numbers list Economics ppt on lpg gas Ppt on panel discussion format Ppt on network theory of immigration Ppt on renewable resources Ppt on cloud computing technology