Chap1 - Microprocessor Architecture and Its Operation
Chap1 - Microprocessor Architecture and Its Operation
ADVANTAGES OF MICROPROCESSOR
DISADVANTAGES OF MICROPREOCESSOR
1. Input unit
2. Control processing unit(CPU)
• ALU
• Timing and control unit
• Registers
3. Memory unit
4. Output unit
1. ACCUMULATOR:-
• The accumulator is an 8-bit register which is denoted by A.
• It is used as input to the ALU for any arithmetic or logical
operations.
• After arithmetic or logical operation from the ALU is
completed the output will be stored in accumulator itself.
3. STACK POINTER:-
• It is a 16 bit register and used as a memory pointer which is
linked to a memory location called as Stack,
NRUPATHUNGA G, HOD BCA DEPT, GTIMSR BANGALORE SUNKADAKATTE
• This stack can be used for read and write data into memory
location.
4. PROGRAM COUNTER:-
• It is a 16-bit register used as a memory pointer. The program
counter holds the address of starting memory location of set of
instructions.
• The program counter will be incremented each time when the
opcode is fetched the program counter will be incremented.
1. ADDRESS BUS:-
• An address bus is a group of 16 lines identified as 𝐴0 −
𝐴15 and the address bus is unidirectional because the bits
flow from microprocessor to peripheral devices or memory
device in single direction.
• That identifies memory location upto 216 =65,536 (64k)
kilo bytes of memory location.
• This memory location ranges from 000H to FFFFH.
2. DATA BUS:-
• The data bus is a group of 8 lines identified as 𝐷0 −
𝐷7 and the data bus is bidirectional because it carries
8 bits of data between microprocessor and external
units [ I/O and memory devices].
• The data bus ranges from 00H to FFH.
3. CONTROL BUS:-
• The control bus contains various single lines which
have specific function for co-ordinating and
controlling µp operations.
• The µp generates various signals such as memory
read/write or I/O read/write control signals and its
signals are carried out by specific control lines.
NRUPATHUNGA G, HOD BCA DEPT, GTIMSR BANGALORE SUNKADAKATTE
̅
IO/𝐌 ̅̅̅̅̅̅) 𝐬𝟏
(𝐰𝐑 ̅̅̅̅̅̅̅𝐬𝟎
(𝐑𝐃) Operations
0 0 0 HALT
0 0 1 Memory write
0 1 0 Memory read
1 0 1 I/O Write
1 1 0 I/O Read
0 1 1 Opcode fetch
1 1 1 Interrupt acknowledge