Académique Documents
Professionnel Documents
Culture Documents
The Microprocessor is the Brain of the computer. Like brain a processor can process/compute the information collected from the world. More formally, microprocessor is a programmable integrated device (silicon chip) that has computing & decision making capabilities Communicates & operates in binary numbers 0 & 1, called bits (digital) Has a fixed set of instructions in the form of binary patterns machine language
Human vs Computer
Human Thinking/Computing Eating/breathing Processing Unit: Brain Computer Processing/Computing Supplying Electrical Power Processing Unit: Central Processing Unit (CPU) Memory: Brain Memory: RAM, ROM, Disk, CD Input Organs: Eye, Ear, Skin, ROM, .. Output Organs: Mouth (Voice), Input Devices: Keyboard, Mouse, Sensors, Hand Output Devices: Monitor, Printer, Body and Soul (Mind) . Hardware and Software
Basic Concepts
Microcomputer a computer with a microprocessor as its CPU. Includes memory, I/O etc. Microprocessor silicon chip which includes ALU, register circuits & control circuits Microcontroller silicon chip which includes microprocessor, memory & I/O in a single package. Digital signal processor (DSP) - microprocessor optimized for digital signal processing.
Microprocessors
Types of microcomputers
Application
CISC (Complex Instruction Set Computers) RISC (Reduced Instruction Set Computers)
between the components decreases and the speed increases. However, the important gain in the speed has been obtained by changing the architecture of the microprocesors including pipelining and parallel computing.
Harvard architecture
address data memory data address program memory data PC CPU
13
14
Microcomputer Architecture
Memory
8 bit 0000 0001 Instruction 1 Instruction 2 Instruction 2
64KByte Word: no. of bits microprocessor recognizes and processes at a time ( 4 - 64bit ). Instruction: combination of bit patterns with specific meaning known to microprocessor. Program: Set of all instructions.
FFFE FFFF
address
16
17
21
Multiple Interrupts
There may be more than one interrupt sources. What happens if interrupt Y occurs while microprocessor is executing the interrupt X?
User Program Interrupt Handler X User Program Interrupt Handler X
Interrupt
Interrupt Check
Data Operation
27