3.types of Microprocessors
3.types of Microprocessors
2
Program Counter
A program counter is a register in a computer processor that contains the
address (location) of the instruction being executed at the current time.
3
Stack Pointer
A stack pointer is a small register that stores the address of the last
program request in a stack.
A stack is a specialized buffer which stores data from the top down. As
new requests come in, they "push down" the older ones. The most recently
entered request always resides at the top of the stack, and the program
always takes requests from the top.
When a new data item is entered or "pushed" onto the top of a stack, the
stack pointer increments to the next physical memory address, and the
new item is copied to that address.
When a data item is "pulled" or "popped" from the top of a stack, the item
is copied from the address of the stack pointer, and the stack pointer
decrements to the next available item at the top of the stack. 4
Pipelining
A technique used in advanced microprocessors where the microprocessor
begins executing a second instruction before the first has been completed.
The pipeline is divided into segments and each segment can execute its
operation concurrently with the other segments. When a segment
completes an operation, it passes the result to the next segment in the
pipeline and fetches the next operation from the preceding segment. The
final results of each instruction emerge at the end of the pipeline in rapid
succession.
5
8085 Microprocessor
The 8085 microprocessor is designed by Intel in the year of 1977 with the help of NMOS(N-type
metal-oxide-semiconductor logic) technology.
It is an 8-bit microprocessor
8-bit data bus
16-bit address bus, which can address upto 64KB
A 16-bit program counter
A 16-bit stack pointer
Requires +5V supply to operate at 3.2 MHZ single phase clock
6
8086 Microprocessor
It is 16 bit processor. So that it has 16 bit ALU, 16 bit registers and internal data bus
and 16 bit external data bus. It make s faster processing.
8086 has 20 bit address lines to access memory. Hence it can access
8086 has 16-bit address lines to access I/O devices, hence it can access
Fetch stage that prefetch up to 6 bytes of instructions stores them in the queue.
7
8086 Microprocessor
Operates in two modes:-8086 operates in two modes:
8086 uses memory banks:- The 8086 uses a memory banking system. It means
entire data is not stored sequentially in a single memory of 1 MB but memory is
divided into two banks of 512KB.
8
8086 Microprocessor
9
8086 Microprocessor Internal Block Diagram
10
Difference Between 8085 and 8086
Features 8085 Microprocessor 8086 Microprocessor
Address
It has 16 bit address bus It has 20 bit address bus
Bus
Data Bus It has 8 bit data bus It has 16 bit data bus
8085 can access upto 2^16 = 64 8086 can access upto 2^20 = 1 MB
Memory
Kb of memory of memory.
Multiproce
8085 does not support
ssing 8086 supports multiprocessing
multiprocessing
Support
Operating
single operating mode two modes
Modes
I/O I/O address is 28 = 256 I/O’s I/O address is 216 = 65536 I/O’s
Cost The cost of this processor is low The cost of this processor is high 11
End
12