Lecture 1 CSE 3205 Microprocessor and Assembly Language by Marjia
Lecture 1 CSE 3205 Microprocessor and Assembly Language by Marjia
Assembly Language
Marjia Sultana
Lecturer
Department of Computer Science and Engineering
Begum Rokeya University, Rangpur
Grading Policy
❖In-course/Quizzes/Class Tests= 10%
❖Class Attendance= 5%
❖Assignment and Presentation/Class Performance=10%
❖Mid-term=25%
❖Final Examination=50%
Total=100 %
Books Recommended
Microprocessor
Input Unit (ALU+ Register Output Unit
array+ control unit)
Memory
Concept of Microprocessor
Microcomputer:
• A digital computer, in which one microprocessor has been provided to
act as a CPU, is called Microcomputer.
• A desktop computer, laptop, notebook, palmtop, etc. contain one
microprocessor to act as a CPU and hence they come under the
category of microcomputer.
• The term microcomputer is generally synonymous with personal
computer.
Concept of Microprocessor
Multiprocessor System:
• The CPU of a large powerful digital computer contains more than one
microprocessor.
• High-end powerful servers, mainframe computers, supercomputers,
etc. contain more than one microprocessor to act as CPU.
• A computer whose CPU contains more than one microprocessor is
called Multiprocessor System.
Concept of Microprocessor
Microcontroller:
• A highly integrated chip that contains all the components such as
CPU, RAM, some form of ROM, I/O ports, and timers is called
Microcontroller.
• Unlike a general-purpose computer, which also includes all of these
components, a microcontroller is designed for a very specific task to
control a particular system.
Functions of a Microprocessor
• The processor first fetches instruction from the main memory.
• The instruction is then decoded to determine what action is required to
be done.
• Based on instruction the processor fetches, if required, data from main
memory or I/O module.
• The instruction is then executed which may require performing
arithmetic or logical operations on data.
• In addition to execution, CPU also supervises and controls/I/O devices.
• Finally, the results of an execution may required transfer of data to
memory or an I/O Module.
Microprocessor Characteristics
Instruction Set: The set of instructions that a microprocessor can
understand.
Bandwidth: The number of bits processed in a single instruction.
Capability: It depends upon the number of instructions and capability
of each instruction.
Microprocessor Characteristics
Clock Speed:
• The clock speed determines the number of operations per second the
processor can perform.
• Clock speeds are expressed in megahertz (MHz) or gigahertz (GHz).
• It is also called Clock Rate.
Microprocessor Characteristics
Word Length:
• It depends upon the width of internal data bus, registers, ALU etc.
• An 8-bit microprocessor can process 8 bit data at a time.
• The word length ranges from 4 bits for small microprocessor, to 64
bits for high-end microcomputers.
Microprocessor Characteristics
Width of Data Bus: This is the size of the data bus. It defines the
number of bits that can be transferred through data bus.