FChapter 1 - Microcomputer Architecture
FChapter 1 - Microcomputer Architecture
Microprocessor
MOHD BAZLI BAHAR
ROOM: B/1-9
EXT: 2216
H/P : 0176991806
Chapter 1
Introduction To Microcomputer
Architecture
Objectives
At the end of this topic, students are able to :
i. Explain microprocessor block diagram and a microprocessor based
system
ii. Explain briefly on processor functions, memory and input/output devices.
Chapter 1
Introduction To Microcomputer
Architecture
1.0 Microprocessor
• Microprocessor is a CPU(central processing unit) in a chip and it cannot be
operated without support from other devices such as RAM, IO.
Chapter 1
Introduction To Microcomputer
Architecture
a. Calculator
b. mobile phones
c. satellite Radio
d. digital camera
e. Players MP3 / MP4 / CD / DVD
f. smart card
g. printer
Chapter 1
Introduction To Microcomputer
Architecture
1st Generation
• Construction of vacuum tubes (vacuum tubes) - take a large space
• Slower, more prone to failure, the limited number of instruction
• ENIAC (Electronic Numerical Integrator and Computer)
2nd Generation
• Computer transistor (semiconductor)
• Small size and high power
3rd Generation
• Computer with integrated circuit innovation.
12 gates in the chip (SSI) and 13-99 terkamil gate (MSI) in one piece.
Example: Intel 4004 (the first chip in the same computer, 1971)
Chapter 1
Introduction To Microcomputer
Architecture
1.2 Microprocessor
4th Generation
• Computer with 8-bit microprocessors such as the Intel 8080, Z80 & MC6800
• More than 100 gates (LSI) or 10,000 gates (VLSI).
• 16-bit processor that can perform multiplication and division processes and
operations that involve data (4, 8, 16 or 32 bit) as the Intel 8086, the MC68000.
5th Generation
Intro
Chapter 1
Introduction To Microcomputer
Architecture
a) Processor (CPU)
b) Memory
c) Input/output devices(IO)
Address bus - brings the code to the data location in the memory /
device. (consists of 24-bit)
Data bus - carry data in / out uP (consisting of 16-bit)
Control bus - carry signals used to control other devices and notify
status of the device (eg operation read / write)
Chapter 1
Introduction To Microcomputer
Architecture
a) Registers
Fast memory for storing information during the operation of the CPU or store
information that is being processed.
b) ALU (Arithmetic logic unit)
Processes data or performs logical
operations and arithmetic of data
either from the memory or input
device.
c) Control Unit
The main function is to control
operation of all units with
providing control signals CPU Block Diagram
and timing.
Chapter 1
Introduction To Microcomputer
Architecture
1.4.2 Memory
• Its function is to store binary data representing instructions that are executed
by the microprocessor.
• In addition to the instruction, the memory is also used to store data will be
used by the software.
• Operations are controlled by the control unit, in which the received signal is
either for READ operation (read) or WRITE (write).
• Formed in a 'long list' and each position contains the number of bits
the same
1.4.2 Memory
• Known number of μP is the address
bus 24 bus. By the amount of
memory that can be used is
Example: Input
- Keyboard
- Mouse
Example: Output
- Monitor
- Printer
Chapter 1
Introduction To Microcomputer
Architecture
• These buses connect the processor to each memory element and I / O for data
and information can flow between the processor and other elements.
• The process has two cycles during program execution / order, namely:
FDE
Chapter 1
Introduction To Microcomputer
Architecture
CPU puts address of the first byte of the instruction at the address bus signals
control, READ from memory location.
CPU take this byte (instruction) of the data bus (fetch). Byte is called opcode
and this operation is called 'op-code fetch'
Having completed the process take, the CPU will perform the operation
(execute) requested by the instruction.
Chapter 1
Introduction To Microcomputer
Architecture
1.4.2 Memory
3 00000000
01101110
Data bus
Read Operation
Chapter 1
Introduction To Microcomputer
Architecture
1.4.2 Memory
3 00110001
01101110
Data bus
WRITE Operation
Chapter 1
Introduction To Microcomputer
Architecture
References
i. Antonakos, J. L., The 68000 Microprocessor: Hardware and Software
Principles and Applications 5th edition , Prentice Hall, 2004.
iii. Tocci, R. J., Digital Systems: Principles and Applications 9th edition, Prentice
Hall,2004.
iv. Floyd, T. L., Digital Fundamentals 8th edition, Prentice Hall, 2003.
v. Spasov, P., Microcontroller Technology: The 68HC11 and 68HC12 5th edition,
Prentice Hall, 2004.