Microprocessor - Introduction To Basic Microprocessor
Microprocessor - Introduction To Basic Microprocessor
Technology Nawabshah
Lecture # 1
Address bus
RAM can be read and written to anytime the CPU commands it,
but ROM is pre-loaded with data and software that never changes,
so the CPU can only read from it.
Byte 8 bit
Word 16 bit
Address bus
ALU Register
Section
Data bus
General purpose
BCDEHL
Special purpose
Program counter
Accumulator
Stack pointer
Status register
V
N
C
Z
MAR
MDR
Instruction Register
Registers
Accumulator
A register in which intermediate
arithmetic and logic results are
stored.
example for accumulator use is
summing a list of numbers.
The accumulator is initially
set to zero, then each
number in turn is added to
the value in the
accumulator.
Only when all numbers have
been added is the result
held in the accumulator
written to main memory or
to another, non-
accumulator, CPU register.
Program Counter
The more bits there are in the address bus, the more
memory locations a microprocessor can access.