Skip to main content

Internal Architecture of Intel 8085 Micro Processor (Study Notes)

Intel 8085 Micro Processor 

  • Intel 8085 is an Eight bit (8 bit) NMOS (n-type Metal Oxide Semiconductor type) Microprocessor.
  • It has 40 Pin on chip.
  • This package is made on a single LSI (Large Scale Integrated) chip.
  • The Intel 8085 requires +5V Dc supply for its operation.
  • Its clock speed is about 3MHz.
  • The clock cycle is of 320ns.
  • This microprocessor has 80 basic instruction and 246 Op-Codes (Operation Codes).

Internal Architecture (Figure):

Internal Architecture (In Detail):

1.     Arithmetic & Logic Unit (ALU)

·        ALU handles all kind of Arithmetical and Logical Operation.

·        It performs-

o Addition and Subtraction 

o Logic-AND, Logic-OR, Logic-XOR and Logic-NOT operation

o Increment and Decrement Operations

o Left Shift, Right Shift, Rotate Left, Rotate Right operation

o Clear

·        ALU receives input from Accumulator and Temperary Register, and sends output to Internal Bus to store the value in different register location.

·        The output helps in change of status flags and is sent to Accumulator.

2.     Timing and Controlling Unit

·        It is a section of CPU.

·        Data flow between CPU and Peripheral is controlled by it.

·        The entire operations of Microprocessor and peripheral connected to it is controlled by Timing and Controlling Unit.

·        It is seen that control unit of CPU acts as the brain of a computer system.

3.     Registers:

·        Registers are used as a temporary storage system by microprocessor.

·        It is also used for Manipulation of Data and instructions.

·        Data saves/stores in the registers till they are sent to the memory or i/o devices  

·        Intel 8085icroprocessor has 6 type of registers. They are –

o  Accumulator – 1 (8 bit)

ΓΌ It is associated with ALU.

ΓΌ It is also known as ‘A’ or ‘Acc’.

ΓΌ It is used to hold one of operand of Arithmetic or Logical operation.

ΓΌ It serves as one input of ALU.

ΓΌ The final result of an Arithmetic or Logical operation is stored in Accumulator.

o Temporary Register (8 bit)

ΓΌ It is associated with the ALU.

ΓΌ It holds data during Arithmetic or Logical operation.

ΓΌ It is not accessible to user.

ΓΌ It is used by microprocessor and not accessible to programmer.

o General Purpose Registers (8 bit)

ΓΌ 8085 microprocessor has six general purpose registers. They are B, C, D, E, H & L.

ΓΌ To store sixteen-bit (16 bit) data, the combination of two register is done like B-C, D-E and H-L.

ΓΌ The H-L pair is also used to act as a memory pointer to hold a 16-bit address.

o Program Counter (16 bit)

ΓΌ It is used to hold the memory address of the next instruction to be executed.

o Stack Pointer (16 bit)

ΓΌ It is a stacking system to store data of Accumulator, Flags, Program Counter and General-Purpose Registers.

ΓΌ It is a sequence of memory location being det by programmer.

ΓΌ Stack works in L-I-F-O formats. L-I-F-O means Last IN First Out.

ΓΌ The pointer which address the stack is known as stack pointer.

o Instruction Register

ΓΌ Instruction Register holds the op-code of the instruction.

4.     Status Flag

·        8085 Microprocessor has five status flags. These are-

o Carry Flag (CS) – [CP = 1 (Have Carry), CP = 0 (No Carry)]

o Parity Flag (P)

o Auxiliary Carry Flag (AC) – [AC = 1 (Have Auxiliary Carry), AC = 0 (No Auxiliary Carry)]

o Zero Flag (Z) – [Z = 1 (Result = 0), Z = 0 (Result is not Zero)]

o Sign Flag (S) – [S = 0 (+Ve), S =1 (-Ve)]

5.     Program Status Word (PSW)

6.     Data or Address Bus

·        8085 Microprocessor has an 8-bit data bus and 16-bit address bus.

·        Pin A8 to A15 is used for transmitting 8 most significant Bits (MSB) of sixteen address.

·        The eight least significant bit (LSB) of the address are transmitted by address/data bus (AD0 – AD7)

 

 

 

 

 

 

Comments

Popular posts from this blog

Logical Group Instruction Set of 8085 Microprocessor | ANA, ANI, ORA, ORI, XRA, XRI, CMA, CMC, STC, CMP, RLC, RAL, RRC, RAR instruction examples

Logical Group These Logical group instructions are used in the 8085 Microprocessor program. In this article, you would get the instructions with example. In some sections, referring images are also provided to make your understanding crystal clear. ANA r Here the data of r AND (Logical AND) with the data of Accumulator and the result will store in Accumulator.                                  Example -   ANA B                                                      (B) ⋀ (A) ⟶ (A)                                                Data in Accumulator is 23 and data in register B is 56.                                                 After executing the program,                                                 Data in Accumulator will be 02 ( Can't Understand Refer This Image  ) ANA M Here the data in the memory location pointed by HL pair AND (Logical AND) with data in Accumulator and the result will store in Accumulator.                                  Example -   ANA M                 

Pin Diagram of 8085A Microprocessor and working functions of each pin (Study Notes)

Pin Diagram of 8085A Microprocessor  Diagram: Pin Diagram of 8085 Microprocessor Functional of Each Pin (Briefly): πŸ‘‰A 8 – A 15 (Output): These are address bus and used for the eight most significant bits of the memory address or eight bits i/o address. πŸ‘‰ AD 0 – AD 7   (Both Input and Output): Thses are time multiplexed address/data bus that is served dual purpose. They are used for the LSB (Least Significant Bits) 8 bits of memory address and data during other time. πŸ‘‰ALE (Output): It is abbreviated as Address Latch Enable. It goes high when 8 lower bits of address is latched. πŸ‘‰IO/M* (Output): It is a status signal which distinguishes whether the address is for i/o or memory. When it goes high, the address bus is for an i/o device. And when it goes low, the address is for memory location because M is an active low signal. πŸ‘‰S 0 , S 1 (Ouput): These are status signal send by microprocessor to distinguish various types of operation. S 0 S 1 Operation

Instruction Set and their types, Functions with examples and Addressing Models of 8085 Microprocessor

Instruction Set of 8085 Microprocessor An instruction is a command given to the computer to perform a specified operation on the given data. In 8085 microprocessor, the instructions are classified into five (5) groups. They are, Data Transfer Group  Arithmetic Group Logical Group Branch Control Group I/O and Machine Control Group Addressing Models: Each instruction requires certain data on which it has to operate. In Intel 8085 Microprocessor, there are 4 types of addressing mode. More on Addressing Models>>> Data Transfer Group MOV r1, r2 This means the data of register - 2 will move to register - 1                                         Example - MOV A, B MOV r, M This means the data stored in ((H - L)) will move to the specified register.                                         Example - MOV B, M MOV M, r This means the data in the specified register will move to ((H-L)).                                         Example - MOV M, B MVI r, data This means the given data will