Lecture-1 (Intro To Microprocessors)
Lecture-1 (Intro To Microprocessors)
to
Microprocessors
⮚ Ramkrishna Saha
Lecturer, Department of Computer Science & Engineering
⮚ Sifat Tanvir
Lecturer, Department of Computer Science & Engineering
⮚ Ragib Morshed
Lecturer, Department of Computer Science & Engineering
⮚ Coprocessors.
3
Recommended Texts
⮚ Microprocessors and Interfacing: Programming and Hardware, by Douglas V. Hall
⮚ Assembly Language Programming and Organization of the IBM PC, by Ytha Y. Yu,
Charles Marut
4
Some tips before we begin
? Basic Programming
5
Concept of Computer
Data
Computer
Processing
Data Storage
MEMORY
I/O
SYSTEM
BUS
Computer
CPU
Architectures of Microprocessors:
❖ RISC (Reduced Instruction Set Computer)
❖ CISC (Complex Instruction Set Computer)
❖ Special-purpose designs: Microcontrollers, Digital Signal
Processors (DSP) and Graphics Processing Units (GPU).
10 CSE – 341 : Microprocessors
BRAC University
Concept about Microprocessor
? A microprocessor incorporates most or all of the
functions of a central processing unit (CPU) on a single
integrated circuit (IC). Die of an Intel 80486DX2 microprocessor
(actual size: 12×6.75 mm) in its packaging
CPU
Overall size of the system is large Overall size of the system is smaller
Data Bus
CPU CPU RAM ROM
General Seria
purpose RAM ROM I/ Timer l
Micro O Seria
COM I/
processor Port Timer
Port O l
Port COM
Address Bus Port
? Assembler:
? An assembler is a program that converts assembly language into
machine language.
❑ Add 2 with 3
mov cl, 3 : copy the value 3 in the internal register cl // so currently cl is
holding the value 3
add cl, 2 : add the value 2 with the current value of cl // after adding 2, cl is now
and store sum in cl holding the value 5
❑ Subtract 2 from 3
mov cl, 3 : copy the value 3 in the internal register cl //so currently cl is
holding the value 3
sub cl, 2 : sub the value 2 from the current value of cl //after subtracting 2, cl is now
holding the value 1
? mov cl, 5
? add cl, 6
? sub cl, 10