Samara University College of Engineering and Technology Computer Science
Samara University College of Engineering and Technology Computer Science
Samara University College of Engineering and Technology Computer Science
Chapter 1
Introduction to the Microprocessor and
Computer
Outline
A Historical Background
The Microprocessor-Based Personal Computer System
Number Systems
Computer Data Formats
CHAPTER OBJECTIVES
Upon completion of this chapter, you will be able to:
1. Converse by using appropriate computer terminology such as bit, byte, data, real
memory system, protected mode memory system, Windows, DOS, I/O, and so forth.
2. Briefly detail the history of the computer and list applications performed by
computer systems.
3. Provide an overview of the various 80X86 and Pentium family members.
4. Draw the block diagram of a computer system and explain the purpose of each
block.
5. Describe the function of the microprocessor and detail its basic operation.
6. Define the contents of the memory system in the personal computer.
7. Convert between binary, decimal, and hexadecimal numbers.
8. Differentiate and represent numeric and alphabetic information as integers,
floating-point, BCD, and ASCII data.
1.1) A historical Background
• The mechanical age
– The idea of a computing system is not new—it has been
around long before modern electrical and electronic
devices were developed. The idea of calculating with a
machine dates to 500 BC when the Babylonians, the
ancestors of the present-day Iraqis, invented the abacus,
the first mechanical calculator.
The Microprocessor
– The microprocessor performs three main tasks for the
computer system:
• (1) data transfer between itself and the memory or I/O systems
• (2) simple arithmetic and logic operations, and
• (3) program flow via simple decisions.
– Data are operated upon from the memory system or internal registers.
– Data widths are variable and include a byte (8 bits), word (16 bits),
and doubleword (32 bits). Note that the earlier 8086–80286 directly
manipulated 8- and 16-bit numbers, but not 32-bit numbers.
– The numeric coprocessor is also capable of performing integer
operations on quadwords (64 bits).
1.2) THE MICROPROCESSOR-BASED PERSONAL COMPUTER SYSTEM…
Bus
– A bus is a common group of wires that interconnect
components in a computer system.
– In the microprocessor based computer system, three buses
exist for this transfer of information: address, data, and
control.
– The address bus requests a memory location from the
memory or an I/O location from the I/O devices
– The data bus transfers information between the
microprocessor and its memory and I/O address space
– The control bus contains lines that select the memory or
I/O and cause them to perform a read or write operation.
In most computer systems, there are four control bus
connections: (memory read control), (memory write control), (I/O
read control), and (I/O write control).
1.2) THE MICROPROCESSOR-BASED PERSONAL COMPUTER SYSTEM…
Bus
– Note that the overbar indicates that the control signal is
active-low; that is, it is active when a logic zero appears
on the control line.
– The first digit to the right of the decimal point has a value
of 10-1, or 0.1. In the binary system the first digit to the
right of the binary point has a value of 2-1, or 0.5.
1.3) NUMBER SYSTEMS…
Conversion to Decimal
– The following example shows 110.101 in binary (often
written as 110.1012). It also shows the power and weight
or value of each digit position. To convert a binary
number to decimal, add weights of each digit to form its
decimal equivalent. The 110.1012 is equivalent to a 6.625
in decimal
– Example 1 example 2
1.3) NUMBER SYSTEMS…
Complements
– Today, the radix -1 complement is not used by itself; it
is used as a step for finding the radix complement.
– To form the radix complement, first find the radix -1
complement, and then add a one to the result.
– Example 1
– Example 2
1.4) COMPUTER DATA FORMATS
ASCII and Unicode Data
FIGURE 4 The unsigned and signed bytes illustrating the weights of each
binary-bit position.
1.4) COMPUTER DATA FORMATS…
Word-Sized Data
– A word (16-bits) is formed with two bytes of data.
– The least significant byte is always stored in the lowest-numbered memory
location, and the most significant byte is stored in the highest
(a)
(a)
(b)
FIGURE 7 The storage format for a 32-bit word
in (a) a register and (b) 4 bytes of memory.
Questions ?