

















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
This lecture provides a comprehensive introduction to microprocessors, covering their fundamental characteristics, architecture, and programming concepts. It delves into the key components of a microprocessor, including registers, memory addressing modes, and the arithmetic logic unit (alu). The lecture also explores the instruction set, instruction execution cycle, and assembly language programming, providing a foundational understanding of how microprocessors function and interact with software.
Typology: Lecture notes
1 / 25
This page cannot be seen from the preview
Don't miss anything!


















By
Dr. Mohammed Y.M Alnaham
(CPU) implemented on a single integrated
circuit (IC) chip.
that performs arithmetic and logical
operations, controls the computer's operation,
and manages the flow of information to and
from other components of the computer
system.
measured in terms of clock speed (frequency),
number of cores, and other architectural features
that enable faster processing of instructions.
design and manufacturing have led to
increasingly power-efficient microprocessors,
making them suitable for use in portable and
battery-powered devices.
modern computing and are found in
a wide range of devices, including
personal computers, smartphones,
tablets, servers, gaming consoles,
and a vast array of embedded
systems like industrial machinery,
household appliances, and
automotive electronics.
stores the memory address of the next
instruction to be fetched and executed. It is used
to keep track of the current position in the
program.
central register that holds the results of
arithmetic and logic operations. It is used to store
intermediate results during computational tasks.
address register holds the memory address from
which data is to be read or to which data is to be
written.
register holds the data that is to be written to or
read from memory.
The instruction set of a microprocessor refers to the
collection of machine-level instructions that the
processor can execute.
(e.g., add, subtract, load, store)
the operation
accessed (e.g., immediate, direct, indirect)
between registers, memory, and I/O
multiply, divide, logical operations (AND, OR, XOR, NOT)
unconditional jumps, calls, returns
flags - Interrupt Instructions: Enable, disable, and
handle interrupts
specified in the instruction
memory address
register
adding an index value to a base address
executed concurrently, improving performance
executed in parallel, further improving
performance
Computer (RISC) vs. Complex Instruction Set
Computer (CISC) architectures
a register. - Example: MOV AX, [BX]
by adding an index value (in a register) to a
base address. - Example: MOV AX, [BX + SI]
adding a base register, an index register, and a
constant displacement value. - Example: MOV AX, [BX
adding a signed offset to the current instruction's
address (program counter). - Example: JMP [PC +
0x100].
The main functions of an ALU include: