Download as pdf or txt
Download as pdf or txt
You are on page 1of 18

The 8051 Microcontroller and Embedded Systems

CHAPTER 0 INTRODUCTION TO COMPUTING

Before you can drive the Robotic Car, you must pass your HW Code Test then your PDL.

OBJECTIVES
l l l l l l l l l l l l l l

Convert any number from base 2, base 10, or base 16 to either of the other two bases Add and subtract hex numbers Add binary numbers Represent any binary number in 2's complement Represent an alphanumeric string in ASCII code Describe logical operations AND, OR, NOT, XOR, NAND, NOR Use logic gates to diagram simple circuits Explain the difference between a bit, a nibble, a byte, and a word Give precise mathematical definitions of the terms kilobyte, megabyte, gigabyte, and terabyte. Explain the difference between RAM and ROM and describe their use Describe the purpose of the major components of a computer system List the three types of buses found in computers and describe the purpose of each type of bus Describe the role of the CPU in computer systems List the major components of CPU and describe the purpose of each

SECTION 0.2: DIGITAL PRIMER


l

Binary logic

Figure 02

Binary Signals

SECTION 0.2: DIGITAL PRIMER


l

Logic gates

SECTION 0.2: DIGITAL PRIMER


l

Logic design using gates

Figure 03

Two Implementations of a Half-Adder

SECTION 0.2: DIGITAL PRIMER

Figure 04

Block Diagram of a Half-Adder

SECTION 0.2: DIGITAL PRIMER

Figure 05

Full-Adder Built from a Half-Adder

SECTION 0.2: DIGITAL PRIMER

Figure 06

3-Bit Adder Using 3 Full-Adders

SECTION 0.2: DIGITAL PRIMER

Figure 07

Address Decoders

10

SECTION 0.2: DIGITAL PRIMER

Figure 08

D Flip-Flops

11

SECTION 0.3: INSIDE THE COMPUTER


l

Some important terminology

12

SECTION 0.3: INSIDE THE COMPUTER


l

Internal organization of computers

13

Figure 09

Inside the Computer

SECTION 0.3: INSIDE THE COMPUTER


l

More about the data bus

14

SECTION 0.3: INSIDE THE COMPUTER


l

More about the address bus

15

Figure 010

Internal Organization of Computers

SECTION 0.3: INSIDE THE COMPUTER


l

Inside CPUs

16

Figure 011 Internal Block Diagram of a CPU

SECTION 0.3: INSIDE THE COMPUTER


l

Internal working of computers

17

Next
l

Lecture Problems Textbook Chapter 0

Answer as many questions as you can and submit via MeL before the end of the lecture. (HINT: Do the easy questions first)

Proteus Exercise Textbook Chapter 0

Do as much of the Proteus exercise as you can and submit via MeL before the end of the lecture.

18

You might also like