Basic Micro Processors
Basic Micro Processors
NaUKMA 2009
Microprocessors
Kostyantyn Kharchenko
[email protected]
Lecturer:Yurii Opanasiuk
Instructions
bus
• high-end servers and
workstations
❖ Intel Pentium IV(2004)
• memory space of over 18
• processor’s initial speed of
terabytes
1.5 gigahertz (1.5 billion
• clock frequency of 800 MHz hertz)
Logic
A microprocessor executes a collection of machine instructions
that tell the processor what to do. Based on the instructoins, a
microprocessor does three basic things:
Logic
The diagram on the right is a
variation on the traditioanal way
of representing a processor’s
ALU, which is the part of the
processor that does the actual
Addition
Substraction
etc. of numbers
Logic
address to memory
• A data bus that can send data to
memory or receive data from
memory
• An RD (read) and WR (write) line to
tell the memory whether it wants
to set or get the addressed
location
• A clock line that lets a clock pulse
sequence the processor
• A reset line that resets the
program counter to zero (or
whatever) and restarts execution.
Memory
IMPOSSIBLE TO HAVE NO ROM
• On a PC, the ROM is called the BIOS (Basic Input/Output System). When the
microprocessor starts, it begins: executing instructions it finds in the BIOS.
• The BIOS instructions do things like test the hardware in the machine
• then it Goes to the hard disk to fetch the boot sector.
• BIOS stores a little program in RAM after reading it off the disk.
• The microprocessor Begins executing the boot sector's instructions from RAM.
• The boot sector program will tell the microprocessor to fetch something else.
This is how the microprocessor loads and executes the entire operating system.
Instructions
words is called the assembly language of the processor.
64 bits
64-bit ALUs, 64-bit registers, 64-bit buses
and so on.
•One reason why the world needs 64-bit processors is because of their
enlarged address spaces. Thirty-two-bit chips are often constrained to a
maximum of 2 GB or 4 GB of RAM access.
•That sounds like a lot, given that most home computers currently use only
256 MB to 512 MB of RAM. However, a 4-GB limit can be a severe problem for
server machines and machines running large databases. And even home
machines will start bumping up against the 2 GB or 4 GB limit pretty soon if
current trends continue.
•A 64-bit chip has none of these constraints because a 64-bit RAM address
space is essentially infinite for the foreseeable future - 2^64 bytes of RAM is
something on the order of a billion gigabytes of RAM.
Performance
pipelined architecture, instruction execution overlaps.
Trends
toward full 64-bit ALUs with fast floating point processors built in.
• Multiple level of Parallelism
• Multiple Functional Units per Processor Unit (Multi-Core processors)
• Energy Saving problem solution
All of these trends push up the transistor count, leading to the multi-
million transistor powerhouses. These processors can execute about one
billion instructions per second!