Professional Documents
Culture Documents
CHAPTER I
Introduction
You will learn the basic principles of microprocessors and how to write
ideas.
plus externally generated clock and control signal. In the other words the
8080 in not cpu on a chip because the clock and controller are on
separate.
LYCEUM OF ALABANG
#88 GNT Business Center, National Road, Muntinlupa City
Page
The 8085 microprocessor they are two types block diagram and pin
configuration,. block diagram show the control signal drive all the internet
register first is called address, data, and control buses on the internet the
need a general idea of what each pin owes, from pin 1 to pin 40.
complete computation engine that is fabricated on a single chip. If you have ever
wondered what the microprocessor in your computer is doing, or if you have ever
wondered about the differences between types of microprocessors, then read on.
In this article, you will learn how fairly simple digital logic techniques allow a
computer to do its job, whether it’s playing a game or spell checking a document.
LYCEUM OF ALABANG
#88 GNT Business Center, National Road, Muntinlupa City
Page
2) Identify the function of the address, data, and control buses in a stored-
program computer.
3) Trace the evolution of the computer from the vacuum tube machine to
the microprocessor.
4) Identify significant computer that have been built over the years.
The computer you are using to read this page uses a microprocessor to do
its work. The microprocessor is the heart of any normal computer, whether it is a
desktop machine, a server or a laptop. The microprocessor you are using might be
a Pentium, a K6, a PowerPC, a Sparc or any of the many other brands and types
microprocessor was the Intel 4004, introduced in 1971. The 4004 was not very
powerful -- all it could do was add and subtract, and it could only do that 4 bits at
a time. But it was amazing that everything was on one chip. Prior to the 4004,
components (transistors wired one at a time). The 4004 powered one of the first
doing, or if you have ever wondered about the differences between types of
microprocessors, then read on. In this article, you will learn how fairly simple
digital logic techniques allow a computer to do its job, whether it’s playing a
Features
LYCEUM OF ALABANG
#88 GNT Business Center, National Road, Muntinlupa City
Page
Microprocessors have become the movers and shakers of our everyday world.
thick. Silicon makes up the material of a microprocessor chip. Sliced wafer thin,
the use of laser light, circuit outlines are etched onto a silicon surface through a
mask or stencil design. A simple chip can have as many as 3,000 transistors, with
Function
Figure 1.0
Microchip
LYCEUM OF ALABANG
#88 GNT Business Center, National Road, Muntinlupa City
Page
transmits and coordinates every command and process carried out by the system.
Electrical currents, moving through wires and transistors, are converted into
usable messages through the use of a Boolean logic language. Based on the
logic communicates system commands to and from receiving devices within the
components within the chip: *Arithmetic logic unit (ALU), responsible for all
Figure 1.1
LYCEUM OF ALABANG
#88 GNT Business Center, National Road, Muntinlupa City
Page
Potential
1. From these units within the chip, clusters of wires called "bus" lines send
2. The first microprocessor chip was designed in 1974. Since that time,
has made for a more efficient unit, and material costs have gone down
considerably.
3. The next step toward further development lies within the field of
If you have used a computer for more than five minutes, then you have
heard the words bits and bytes. Both RAM and hard disk capacities are measured
in bytes. So are file sizes when you examine them in a file viewer. For example,
LYCEUM OF ALABANG
#88 GNT Business Center, National Road, Muntinlupa City
Page
you might hear an advertisement that says "This computer has a 32-bit Pentium
processor with 64 megabytes of RAM and 2.1 gigabytes of hard disk space."
Decimal number
know: digits. A digit is a single place that can hold numerical values between 0
and 9. Digits are normally combined together in groups to create larger numbers.
For example, 6357 has 4 digits. It is understood that in the number 6357 that the 7
is filling the "1s place", while the 5 is filling the 10s place, the 3 is filling the 100s
place and the 6 is filling the 1000s place. So you could express things this way if
6357
Another way to express it would be to use powers of 10. Assuming that we are
going to represent the concept of "raised to the power of" with the "^" symbol (so
50 + 7 = 6357
What you can see from this expression is that each digit is a placeholder for the
next higher power of 10, starting in the first digit with 10 raised to the power of
zero.
LYCEUM OF ALABANG
#88 GNT Business Center, National Road, Muntinlupa City
Page
That should all feel comfortable - we all work with decimal digits every day and
have no problems. The neat thing about number systems is that there is nothing
that forces you to have 10 different values in a digit. Our "base-10" number
to have 8 fingers instead we would probably have a base-8 number system. You
can have base-anything numbers systems. In fact, there are lots of good reasons to
Bits
Computers happen to operate using the base-2 number system, also known
as the binary number system (just like the base-10 number system is known as
the decimal number system). The reason computers use the base-2 system is
technology. You could wire up and build computers that operate in base-10, but
they would be fiendishly expensive right now. On the other hand, base-2
So computers use binary numbers, and therefore use binary digits in place
of decimal digits. The word bit is a shortening of the words "Binary digIT".
Where decimal digits have 10 possible values ranging from 0 to 9, bits have only
1s, like this: 1011. How do you figure out what the value of the binary number
LYCEUM OF ALABANG
#88 GNT Business Center, National Road, Muntinlupa City
Page
1011 is? You do it in the same way we did it above for 6357, but you use a base
You can see that in binary numbers, each bit holds the value of increasing
powers of 2. That makes counting in binary pretty easy. Starting at zero and going
0= 0
1= 1
2= 10
3= 11
4 = 100
5 = 101
6 = 110
7 = 111
8 = 1000
LYCEUM OF ALABANG
#88 GNT Business Center, National Road, Muntinlupa City
Page
9 = 1001
10 = 1010
11 = 1011
12 = 1100
13 = 1101
14 = 1110
15 = 1111
16 = 10000
17 = 10001
18 = 10010
19 = 10011
20 = 10100
When you look at this sequence, 0 and 1 are the same for decimal and
binary number systems. At the number 2 you see carrying first take place in the
binary system. If a bit is 1, and you add 1 to it, the bit becomes zero and the next
LYCEUM OF ALABANG
#88 GNT Business Center, National Road, Muntinlupa City
Page
bit becomes 1. In the transition from 15 to 16 this effect roles over through 4 bits,
Bytes
Bits are rarely seen alone in computers. They are almost always bundled
together into 8-bit collections, and these collections are called bytes. Why are
there 8 bits in a byte? A similar question is, "Why are there 12 eggs in a dozen?"
The 8-bit byte is something that people settled on through trial and error over the
past 50 years.
With 8 bits in a byte, you can represent 256 values ranging from 0 to 255, as
shown here:
0 = 00000000
1 = 00000001
2 = 00000010
...
254 = 11111110
255 = 11111111
LYCEUM OF ALABANG
#88 GNT Business Center, National Road, Muntinlupa City
Page
In the How Stuff Works article on CDs you saw that a CD uses 2 bytes, or 16
bits, per sample. That gives each sample a range from 0 to 65,535, like this:
0 = 0000000000000000
1 = 0000000000000001
2 = 0000000000000010
...
65534 = 1111111111111110
65535 = 1111111111111111
In the ASCII character set, each binary value between 0 and 127 is given a
specific character. Most computers extend the ASCII character set to use the full
range of 256 characters available in a byte. The upper 128 characters handle
The table at the right shows the 127 standard ASCII codes. Computers
store text documents, both on disk and in memory, using these codes. For
example, if you use Notepad in Windows 95/98 to create a text file containing the
words, "Four score and seven years ago", Notepad would use one byte of memory
LYCEUM OF ALABANG
#88 GNT Business Center, National Road, Muntinlupa City
Page
per character (including one byte for each space character between the words
(ASCII value 32)). When Notepad stores the sentence in a file on disk, the file
will also contain one byte per character and space. Try this experiment: open up a
new file in Notepad and insert the sentence, "Four score and seven years ago" in
it. Save the file to disk under the name getty.txt. Then use the explorer and look
at the size of the file. You will find that the file has a size of 30 bytes on disk: one
byte for each character. If you add another word to the end of the sentence and re-
save it, the file size will jump to the appropriate number of bytes. Each character
consumes a byte.
If you were to look at the file as a computer looks at it, you would find
that each byte contains not a letter but a number. The number is the ASCII code
corresponding to the character. So on disk The numbers for the file look like this:
F o u r a n d s e v e n ...
70 111 117 114 32 97 110 100 32 115 101 118 101 110 32 ...
between each character and the ASCII code used. Note the use of 32 for a space -
32 is the right ASCII code for a space. We could expand these decimal numbers
Figure 1.2
gates. These gates are the building blocks of all digital devices. We also saw how
to combine these gates together into higher-level functions, such as full adders. If
you would like to experiment with these gates so you can try things out yourself,
LYCEUM OF ALABANG
#88 GNT Business Center, National Road, Muntinlupa City
Page
the easiest way to do it is to purchase something called TTL chips and quickly
wire circuits together on a device called a solder less breadboard. Let's talk a
little bit about the technology and the process so you can actually try it out!
If you look back at the history of computer technology, you find that all
implement those gates, however, have changed dramatically over the years. The
very first electronic gates were created using relays. These gates were slow and
bulky. Vacuum tubes replaced relays. Tubes were much faster but they were just
as bulky, and they were also plagued by the problem that tubes burn out (like light
computers started using gates made from discrete transistors. Transistors had
many advantages: high reliability, low power consumption and small size
compared to tubes or relays. These transistors were discrete devices, meaning that
each transistor was a separate device. Each one came in a little metal can about
the size of a pea with three wires attached to it. It might take three or four
discovery gave rise to SSI (small scale integration) ICs. An SSI IC typically
various other components have been etched. A typical chip might contain four or
LYCEUM OF ALABANG
#88 GNT Business Center, National Road, Muntinlupa City
Page
six individual gates. These chips shrank the size of computers by a factor of about
could be etched onto a single chip. This led to MSI (medium scale integration)
gates. Then LSI (large scale integration) allowed designers to fit all of the
microprocessor. It was an LSI chip that contained 4,800 transistors. VLSI (very
large scale integration) has steadily increased the number of transistors ever since.
The first Pentium processor was released in 1993 with 3.2 million transistors, and
and use SSI ICs. These chips are still widely available and are extremely reliable
and inexpensive. You can build anything you want with them, one gate at a time.
The specific ICs we will use are of a family called TTL (Transistor Logic, named
for the specific wiring of gates on the IC). The chips we will use are from the
most common TTL series, called the 7400 series. There are perhaps 100 different
SSI and MSI chips in the series, ranging from simple AND gates up to complete
Figure 1.3
Integrated circuit
pictured on the right, a DIP is a small plastic package with 14, 16, 20 or 24 little
metal leads protruding from it to provide connections to the gates inside. The
easiest way to construct something from these gates is to place the chips on a
solder less breadboard. The breadboard lets you wire things together simply by
All electronic gates need a source of electrical power. TTL gates use 5
volts for operation. The chips are fairly particular about this voltage, so we will
want to use a clean, regulated 5-volt power supply whenever working with TTL
chips. Certain other chip families, such as the 4000 series of CMOS chips, are far
LYCEUM OF ALABANG
#88 GNT Business Center, National Road, Muntinlupa City
Page
less particular about the voltages they use. CMOS chips have the additional
advantage that they use much less power. However, they are very sensitive to
static electricity, and that makes them less reliable unless you have a static-free
CHAPTER II
Conceptual Framework
Microprocessor History
Figure 1.3
Various microprocessors
this, electronic CPUs were typically made from bulky discrete switching devices
(and later small-scale integrated circuits) containing the equivalent of only a few
discrete transistors), the cost of processor power was greatly reduced. Since the
advent of the IC in the mid-1970s, the microprocessor has become the most
forms.
The evolution of microprocessors has been known to follow Moore's Law when it
comes to steadily increasing performance over the years. This law suggests that
doubles every 24 months. This dictum has generally proven true since the early
1970s. From their humble beginnings as the drivers for calculators, the continued
increase in power has led to the dominance of microprocessors over every other
form of computer; every system from the largest mainframes to the smallest
microprocessor at about the same time, Intel's 4004, Texas Instruments' TMS
electromechanical systems then under development for the main flight control
computer in the US Navy's new F-14 Tomcat fighter. The design was complete by
1970, and used a MOS-based chipset as the core CPU. The design was smaller
and much more reliable than the mechanical systems it competed against, and was
used in all of the early Tomcat models. However, the system was considered so
advanced that the Navy refused to allow publication of the design, and continued
to refuse until 1997. For this reason the CADC, and the MP944 chipset it used,
1971, which implemented a calculator on a chip. The Intel chip was the 4-bit
TI filed for the patent on the microprocessor. Gary Boone was awarded U.S.
1973. It may never be known which company actually had the first working
microprocessor running on the lab bench. In both 1971 and 1976, Intel and TI
entered into broad patent cross-licensing agreements, with Intel paying royalties
LYCEUM OF ALABANG
#88 GNT Business Center, National Road, Muntinlupa City
Page
court documentation from a legal dispute between Cyrix and Intel, with TI as
the microprocessor core (CPU), some memory, and I/O (input/output) lines, all on
the time, U.S. Patent 4,074,351, was awarded to Gary Boone and Michael J.
Cochran of TI. Aside from this patent, the standard meaning of microcomputer is
a computer using one or more microprocessors as its CPU(s), while the concept
Intel entered into a contract with Computer Terminals Corporation, later called
Data point, of San Antonio TX, for a chip for a terminal they were designing.
Data point later decided not to use the chip, and Intel marketed it as the 8008 in
April, 1972. This was the world's first 8-bit microprocessor. It was the basis for
in 1974. The 8008 and its successor, the world-famous 8080, opened up the
The 4004 was later followed in 1972 by the 8008, the world's first 8-bit
microprocessor. These processors are the precursors to the very successful Intel
8080 (1974), Zilog Z80 (1976), and derivative Intel 8-bit processors. The
competing Motorola 6800 was released in August 1974. Its architecture was
cloned and improved in the MOS Technology 6502 in 1975, rivaling the Z80 in
Both the Z80 and 6502 concentrated on low overall cost, through a
(for instance, the Z80 included a memory controller). It was these features that
allowed the home computer "revolution" to take off in the early 1980s, eventually
The Western Design Center, Inc. (WDC) introduced the CMOS 65C02 in
1982 and licensed the design to several companies which became the core of the
Apple IIc and IIe personal computers, medical implantable grade pacemakers and
Motorola trumped the entire 8-bit world by introducing the MC6809 in 1978,
arguably one of the most powerful, orthogonal, and clean 8-bit microprocessor
designs ever fielded - and also one of the most complex hardwired logic designs
that ever made it into production for any microprocessor. Micro coding replaced
hardwired logic at about this point in time for all designs more powerful than the
MC6809 - specifically because the design requirements were getting too complex
Another early 8-bit microprocessor was the Signe tics 2650, which
enjoyed a brief flurry of interest due to its innovative and powerful instruction set
architecture.
1802 (aka CDP1802, RCA COSMAC) (introduced in 1976) which was used in
NASA's Voyager and Viking space probes of the 1970s, and onboard the Galileo
probe to Jupiter (launched 1989, arrived 1995). RCA COSMAC was the first to
implement C-MOS technology. The CDP1802 was used because it could be run at
very low power, and because its production process (Silicon on Sapphire) ensured
much better protection against cosmic radiation and electrostatic discharges than
that of any other processor of the era. Thus, the 1802 is said to be the first
radiation-hardened microprocessor.
LYCEUM OF ALABANG
#88 GNT Business Center, National Road, Muntinlupa City
Page
16-bit designs
was introduced in 1974 as the IMP-8. In 1975, National introduced the first 16-bit
Equipment Corporation (DEC) in the LSI-11 OEM board set and the packaged
PDP 11/03 minicomputer, and the Fairchild Semiconductor Micro Flame 9440,
The first single-chip 16-bit microprocessor was TI's TMS 9900, which
was also compatible with their TI 990 line of minicomputers. The 9900 was used
in the TI 990/4 minicomputer, the TI-99/4A home computer, and the TM990 line
of OEM microcomputer boards. The chip was packaged in a large ceramic 64-pin
DIP package while most 8-bit microprocessors such as the Intel 8080 used the
more common, smaller, and less expensive plastic 40-pin DIP. A follow-on chip,
the TMS 9980, was designed to compete with the Intel 8080, had the full TI 990
16-bit instruction set, used a plastic 40-pin package, moved data 8 bits at a time,
but could only address 16KB. A third chip, the TMS 9995, was a new design. The
The Western Design Center, Inc. (WDC) introduced the CMOS 65816 16-
bit upgrade of the WDC CMOS 65C02 in 1984. The 65816 16-bit microprocessor
was the core of the Apple IIgs and later the Super Nintendo Entertainment
System, making it one of the most popular 16-bit designs of all time.
instead "upsized" their 8080 design into the 16-bit Intel 8086, the first member of
the x86 family which powers most modern PC type computers. Intel introduced
the 8086 as a cost effective way of porting software from the 8080 lines, and
succeeded in winning a lot of business on that premise. The 8088, a version of the
8086 that used an external 8-bit data bus, was the microprocessor in the first IBM
PC, the model 5150. Following up their 8086 and 8088, Intel released the 80186,
80286 and, in 1985, the 32-bit 80386, cementing their PC market dominance with
Figure 1.4
16-bit designs were in the market only briefly when full 32-bit
The world's first single-chip 32-bit microprocessor was the AT&T Bell
1982. After the divestiture of AT&T in 1984, it was renamed the WE 32000
(WE for Western Electric), and had two follow-on generations, the WE 32100 and
WE 32200. These microprocessors were used in the AT&T 3B5 and 3B15
minicomputers; in the 3B2, the world's first desktop super microcomputer; in the
LYCEUM OF ALABANG
#88 GNT Business Center, National Road, Muntinlupa City
Page
"Companion", the world's first 32-bit laptop computer; and in "Alexander", the
cartridges similar to today's gaming consoles. All these systems ran the original
Bell Labs Unix Operating System, which included the first Windows-type
1979. The 68K, as it was widely known, had 32-bit registers but used 16-bit
internal data paths, and a 16-bit external data bus to reduce pin count. Motorola
architecture. The combination of high speed, large (16 megabyte) memory space
and fairly low costs made it the most popular CPU design of its class. The Apple
Lisa and Macintosh designs made use of the 68000, as did a host of other designs
Intel's first 32-bit microprocessor was the iAPX 432, which was
Motorola's success with the 68000 led to the MC68010, which added
virtual memory support. The MC68020, introduced in 1985 added full 32-bit data
and address busses. The 68020 became hugely popular in the Unix super
LYCEUM OF ALABANG
#88 GNT Business Center, National Road, Muntinlupa City
Page
microcomputer market, and many small companies (e.g., Altos, Charles River
Data Systems) produced desktop-size systems. Following this with the MC68030,
which added the MMU into the chip, the 68K family became the processor for
everything that wasn't running DOS. The continued success led to the MC68040,
which included an FPU for better math performance. A 68050 failed to achieve its
performance goals and was not released, and the follow-up MC68060 was
released into a market saturated by much faster RISC designs. The 68K family
equipment than there were Intel Pentiums in PCs. The Cold Fire processor cores
a very similar 16-bit pin out, 32-bit internal microprocessor called the NS 16032
(later renamed 32016), the full 32-bit version named the NS 32032, and a line of
32032. This was one of the design's few wins, and it disappeared in the late
1980s.
LYCEUM OF ALABANG
#88 GNT Business Center, National Road, Muntinlupa City
Page
Other designs included the interesting Zilog Z8000, which arrived too late to
In the late 1980s, "microprocessor wars" started killing off some of the
microprocessors. Apparently, with only one major design win, Sequent, the NS
32032 just faded out of existence, and Sequent switched to Intel microprocessors.
since the early 1990s, the early 2000s have seen the introduction of 64-bit
microchips targeted at the PC market. With AMD's introduction of the first 64-bit
by Intel's own x86-64 chips, the 64-bit desktop era began. Both processors can
run 32-bit legacy apps as well as the new 64-bit software. With 64-bit Windows
XP and Linux that run 64-bit native, the software too is geared to utilize the full
In reality the move to 64-bits is more than just an increase in register size
from the ia32 as it also includes a small increase in register quantity for the aging
CISC designs.
The move to 64 bits by PowerPC processors had been intended since the
processor's design in the early 90s and was not a major cause of incompatibility.
LYCEUM OF ALABANG
#88 GNT Business Center, National Road, Muntinlupa City
Page
Existing integer registers are extended as are all related data pathways but in
common with the IA32 designs both floating point and vector units had been
operating at or above 64 bits for several years. Unlike the IA32 no new general
purpose registers are added so any performance gained when using the 64-bit
mode is minimal.
RISC
used in special purpose machines and Unix workstations, but have since become
The first commercial design was released by MIPS Technologies, the 32-
bit R2000 (the R1000 was not released). The R3000 made the design truly
practical, and the R4000 introduced the world's first 64-bit design. Competing
projects would result in the IBM POWER and Sun SPARC systems, respectively.
Soon every major vendor was releasing a RISC design, including the AT&T
CRISP, AMD 29000, Intel i860 and Intel i960, Motorola 88000, DEC Alpha and
the HP-PA.
Market forces have "weeded out" many of these designs, leaving the
PowerPC as the main desktop RISC processor, with the SPARC being used in
Sun designs only. MIPS continues to supply some SGI systems, but is primarily
LYCEUM OF ALABANG
#88 GNT Business Center, National Road, Muntinlupa City
Page
used as an embedded design, notably in Cisco routers. The rest of the original
crop of designs have either disappeared, or are about to. Other companies have
attacked niches in the market, notably ARM, originally intended for home
computer use but since focused at the embedded processor market. Today RISC
design based on the MIPS, ARM or PowerPC core power the vast majority of
Special-purpose microprocessors
processing devices have followed from the technology. The most common
processing units (GPU). Many examples of these are either not programmable, or
have limited programming facilities. For example, in general GPUs through the
1990s were mostly non-programmable and have only recently gained limited
what defines a "microprocessor", but it is usually safe to assume that the term
The RCA 1802 had what is called a static design, meaning that the clock
frequency could be made arbitrarily low, even to 0 Hz, a total stop condition. This
let the Voyager/Viking/Galileo spacecraft use minimum electric power for long
the processor in time for important tasks, such as navigation updates, attitude
Figure 1.5
The first microprocessor to make it into a home computer was the Intel
8080, a complete 8-bit computer on one chip, introduced in 1974. The first
microprocessor to make a real splash in the market was the Intel 8088, introduced
in 1979 and incorporated into the IBM PC (which first appeared around 1982). If
you are familiar with the PC market and its history, you know that the PC market
LYCEUM OF ALABANG
#88 GNT Business Center, National Road, Muntinlupa City
Page
moved from the 8088 to the 80286 to the 80386 to the 80486 to the Pentium to the
Pentium II to the Pentium III to the Pentium 4. All of these microprocessors are
made by Intel and all of them are improvements on the basic design of the 8088.
The Pentium 4 can execute any piece of code that ran on the original 8088, but it
The following table helps you to understand the differences between the
Clock Data
Name Date Transistors Microns MIPS
speed width
8080 1974 6,000 6 2 MHz 8 bits 0.64
16 bits
8088 1979 29,000 3 5 MHz 8-bit 0.33
bus
80286 1982 134,000 1.5 6 MHz 16 bits 1
80386 1985 275,000 1.5 16 MHz 32 bits 5
80486 1989 1,200,000 1 25 MHz 32 bits 20
32 bits
Pentium 1993 3,100,000 0.8 60 MHz 64-bit 100
bus
32 bits
233
Pentium II 1997 7,500,000 0.35 64-bit ~300
MHz
bus
32 bits
450
Pentium III 1999 9,500,000 0.25 64-bit ~510
MHz
bus
32 bits
1.5
Pentium 4 2000 42,000,000 0.18 64-bit ~1,700
GHz
bus
32 bits
Pentium 4 3.6
2004 125,000,000 0.09 64-bit ~7,000
"Prescott" GHz
bus
LYCEUM OF ALABANG
#88 GNT Business Center, National Road, Muntinlupa City
Page
Table 1.0
The Intel Microprocessor Quick Reference Guide and TSCP Benchmark Scores
• The date is the year that the processor was first introduced. Many
processors are re-introduced at higher clock speeds for many years after
• A Transistors is the number of transistors on the chip. You can see that
the number of transistors on a single chip has risen steadily over the years.
• A micron is the width, in microns, of the smallest wire on the chip. For
comparison, a human hair is 100 microns thick. As the feature size on the
• Clock speed is the maximum rate that the chip can be clocked at. Clock
one instruction. In many cases, the external data bus is the same width as
the ALU, but not always. The 8088 had a 16-bit ALU and an 8-bit bus,
LYCEUM OF ALABANG
#88 GNT Business Center, National Road, Muntinlupa City
Page
while the modern Pentiums fetch data 64 bits at a time for their 32-bit
ALUs.
different things that MIPS ratings lose a lot of their meaning, but you can
get a general sense of the relative power of the CPUs from this column.
• From this table you can see that, in general, there is a relationship between
clock speed and MIPS. The maximum clock speed is a function of the
the 8088 clocked at 5 MHz but only executed at 0.33 MIPS (about one
related to the number of transistors on the chip and will make more sense
Programmers
Texas
Low-cost embedded couldn't add
1972 Instruments On-chip memory
applications external
TMS 1000
memory
10x performance
Altair computer
of the 8008; Difficult to
1974 Intel 8080 (first PC); traffic
separate address program
light controller
and data buses
Convoluted
Desktop and
1978 Intel 8086 16-bit bus width addressing
portable computing
scheme
16-/32-bit chip Apple Lisa ('83), Integer unit and
Motorola powerful enough Unix workstations, ex-ternal data
1979
68000 to handle home videogame bus only 16 bits
advanced graphics machines wide
Same
16-bit internal convoluted
IBM PCs and
1979 Intel 8088 architecture with addressing
clones
8-bit external bus scheme as the
8086
Added memory
Couldn't do
protection; 16 MB
page faults,
1982 Intel 80286 of addressable Standard PC CPU
lacked virtual
memory; 1GB of
memory
virtual memory
64 terabytes of
virtual memory; Didn't yet have
1985 Intel 386 DX 32-bit bus; 4-GB Desktop PCs an on-chip FPU
addressable or on-chip cache
memory
Difficult to
MIPS First
Unix workstations; program;
Computer motherboard-level
1986 later, midrange incompatible
Systems RISC chip for
computers with PC
R2000 workstations
software
1987 Sun An open RISC Laptops to Required
Microsystems architecture workstations to multiple chips
LYCEUM OF ALABANG
#88 GNT Business Center, National Road, Muntinlupa City
Page
due to pair of
CMOS gate
SPARC supercomputers
arrays and
external FPUs
Lacked
First x86 with on-
advanced
chip cache, FPU,
1989 Intel i486 Desktop PCs, CAD techniques of
and pipelined
some RISC
instructions
chips
First superscalar Primarily embedded
1989 Intel i960CA Fairly expensive
chip applications
Digital
Equipment Workstations and Ran hot;
1992 200-MHz clock
Corp. servers expensive
Alpha 21064
Programs not
IBM and First out-of-order Apple Macintoshes,
usually written
1993 Motorola execution desktop PCs,
for out-of-order
PowerPC 601 microprocessor servers
execution
Dynamic branch
prediction; 64-bit
Desktop PCs and
1993 Intel Pentium external data bus Ran very hot
network servers
and 32-bit address
bus
First to execute
Digital
four instructions High-end desktop
Equipment Runs hot;
1995 per cycle and the PCs, workstations,
Corp. expensive
first with three and servers
Alpha 21164
on-chip caches
High-end desktop
Has CPU chip and
Intel Pentium computers, graphics
1995 cache chip in Expensive
Pro workstations,
same package
servers
Figure 1.1
LYCEUM OF ALABANG
#88 GNT Business Center, National Road, Muntinlupa City
Page
Microprocessor statistical
Microprocessor Comparison
There are many microprocessors available to the public. Not knowing the
Below is a chart that compares and contrasts important features found on some of
Penti Pow
Penti Penti Athlo Powe
Celer um Penti K6- K6- Athlo Dur erP
um um n rPC
on III um 4 II III n XP on C
II III (K7) G3
Xeon G4
400
233 500 400 700 233
CP 1.06 450 500 1.4 850 MH
MHz MHz MHz - MHz
U GHz MHz MHz GHz MHz - 1.67 z-
- - - 800 -
Spe -2 -1 -1 - 2.2 1.2 GHz 800
450 550 450 MH 333
ed GHz GHz GHz GHz GHz MH
MHz MHz MHz z MHz
z
LYCEUM OF ALABANG
#88 GNT Business Center, National Road, Muntinlupa City
Page
512
256
512 256 256 256 64 KB, 1
256 KB - 256 384
L2 KB, KB, KB, KB, KB, 1 MB,
KB, 2 KB, KB,
Cac half full full N/A full full MB, half
full MB, full full
he spee spee spee spee spe half spee
speed full speed speed
d d d d ed spee d
speed
d
Fron
133 200
t-
MHz MHz 200 100
Side 100 133 100 533 100 100 266 100
and and MH MH
Bus MHz MHz MHz MHz MHz MHz MHz MHz
400 266 z z
Spe
MHz MHz
ed
Floa ver
very very
ting stron stron stron stron Stro very y Stro
N/A N/A stron stron
Poin g g g g ng strong stro ng
g g
t ng
Table 1.2
Comparison Chart
Microprocessor Instruction
perform a specific function. The entire group of instructions, called the instruction
set, determines what functions the microprocessor can perform. These instructions
can be classified into the following five functional categories: data transfer (copy)
LYCEUM OF ALABANG
#88 GNT Business Center, National Road, Muntinlupa City
Page
machine-control operations.
term data transfer is used for this copying function. However, the term
source are destroyed when, in fact, the contents are retained without any
modification. The various types of data transfer (copy) are listed below
the sum is stored in the accumulator. No two other 8-bit registers can be
• Rotate- Each bit in the accumulator can be shifted either left or right to
location can be compared for equality, greater than, or less than, with the
Branching Operations
conditionally or unconditionally.
conditions (e.g., Zero or Carry flag) and alter the program sequence when
conditional Call and Return instructions also can test condition flags.
1. Copying data
LYCEUM OF ALABANG
#88 GNT Business Center, National Road, Muntinlupa City
Page
1. In data transfer, the contents of the source are not destroyed; only the contents
of the destination are changed. The data copy instructions do not affect the flags.
2. Arithmetic and Logical operations are performed with the contents of the
accumulator, and the results are stored in the accumulator (with some
3. Any register including the memory can be used for increment and decrement.
Microprocessor Trends
computing design. There is a definite shift away from ever higher frequencies to
Figure 1.6
MIPS per watt” include on-chip memory controllers, more sophisticated dynamic
engines. Process and transistor technologies have been the primary means to
the focus has moved away from frequency and onto power consumption. Until
Dual-core processors
LYCEUM OF ALABANG
#88 GNT Business Center, National Road, Muntinlupa City
Page
latencies, which are critical in real-time applications, are also a product of higher-
frequency processors that require deeper pipelines to feed the core. Stalls caused
around the clock edges to ensure correct operation. Since the safety margin
clock period as the frequency increases. Thus, increased frequencies have not
Microprocessor Units
system costs and also provides full backward compatibility with existing ZiLOG
Z80 devices. Reduced system costs are obtained by incorporating several key
LYCEUM OF ALABANG
#88 GNT Business Center, National Road, Muntinlupa City
Page
system functions on-chip with the CPU. These key functions include I/O devices
Figure 1.8
Figure 1.9
Block diagram
Chapter 3
DEVELOPMENT OF THE PROJECT
Project Development
LYCEUM OF ALABANG
#88 GNT Business Center, National Road, Muntinlupa City
Page
Figure 1.7
The two experimenter board for the MSP430 chipset. On the left
the larger chip version, on the right a small version in USB format.
learn to do some elementary assembler programming on it. It also served for the
It differs from a home computer by not having any logic above what is
execute a machine language program, and evaluate the result. So normally all
the things you would expect to have in a computer system designed for
CHAPTER IV
Summary
Microprocessor they have three Units of 8085 first Processing Unit, Instruction
• Processing unit it is arithmetic and logic unit, accumulator, status flag and
temporary register
Control Unit
Conclusion
different CPU and operating system is discussed. For this purpose, a program,
80386 based CPU and Windows 95 based operating system. For the point of
means that losing time. With the Sim8085, writing 8085-µp assembly language
based algorithms and checking them for error is so much easy; Sim8085 has come
was binary-compatible with the more-famous Intel 8080 but required less
systems to be built. The "5" in the model number came from the fact that the 8085
required only a +5-volt (V) power supply rather than the +5V, -5V and +12V
LYCEUM OF ALABANG
#88 GNT Business Center, National Road, Muntinlupa City
Page
supplies the 8080 needed. Both processors were sometimes used in computers
running the CP/M operating system, and the 8085 later saw use as a
microcontroller, by virtue of its low component count. Both designs were eclipsed
for desktop computers by the compatible Zilog Z80, which took over most of the
CP/M computer market as well as taking a share of the booming home computer
designed into such products as the DEC tape controller and the VT100 video
terminal in the late 1970s, it continued to serve for new production throughout the
life span of those products (generally longer than the product life of desktop.
LYCEUM OF ALABANG
#88 GNT Business Center, National Road, Muntinlupa City
Page
APPENDICES