8085 Architecture
8085 Architecture
A stack is nothing but the portion of RAM (Random access memory). So, does that mean the
stack pointer points to portion of RAM?
Yes. Stack pointer maintains the address of the last byte that is entered into stack. Each time
when the data is loaded into stack, Stack pointer gets decremented. Conversely it is
incremented when data is retrieved from stack.
Temporary Register
As the name suggests this register acts as a temporary memory during the arithmetic and logical
operations. Unlike other registers, this temporary register can only be accessed by the
microprocessor and it is completely inaccessible to programmers. Temporary register is an 8-bit
register.
Instruction Register and Decoder
Instruction register is 8-bit register just like every other register of microprocessor. Consider
an instruction. The instruction may be anything like adding two data's, moving a data,
copying a data etc. So, the instruction registers are specifically to store the instructions that
are fetched from memory. There is an Instruction decoder which decodes the information
present in the Instruction register for further processing
Timing and control unit is a very important unit as it synchronizes the registers and flow of data
through various registers and other units.
This unit consists of an oscillator and controller sequencer which sends control signals needed for
internal and external control of data and other units.
ALE is used for provide control signal to synchronize the components of microprocessor and
timing for instruction to perform the operation.
RD (Active low) and WR (Active low) are used to indicate whether the operation is reading
the data from memory or writing the data into memory respectively.
Status Signals: S0, S1, IO/M’
IO/M (Active low) is used to indicate whether the operation belongs to the memory or
peripherals.
• After receiving HLDA through Bus Grant (BG) pin of DMA controller, the DMA controller
takes control over system bus and transfers data directly between memory and I/O
without involvement of CPU. During DMA operation, the processor is free to perform
next job which does not need system bus.
• At the end of data transfer, the DMA controller terminates the request by sending low
signal to HOLD pin and MP regains control of system bus by making HLDA low.
RESET
This RESET key is used to clear the program counter and update it with the 0000H memory
location. When this RESET pin is activated by any external key, then all the internal operations are
suspended for that time. After that, the execution of the program can begin at the zero memory
address.
Interrupt
8085 microprocessor chips have some pins for interrupt like TRAP, RST 5.5, RST 6.5, and RST 7.5.
The microprocessor can be interrupted from the normal instructions and asked to perform some
other emergency operations, which are also known as Service routines. The microprocessor
resumes its operation
after the completion Service routine.
READY
The 8085 microprocessor has a pin called READY. If the READY signal is high (logic 1), it indicates
that the peripheral or memory is ready to complete the data transfer. If the READY signal is low
(logic 0), it tells the microprocessor to wait before completing the current operation. The READY
signal is particularly important when interfacing the 8085 microprocessor with slower memory
devices or peripherals
HOLD
Address buffer and Address-Data buffer
The contents of the stack pointer and program counter are loaded into the address buffer and
address-data buffer. These buffers are then used to drive the external address bus and
address-data bus. As the memory and I/O chips are connected to these buses, the CPU can
exchange desired data to the memory and I/O chips.
Which of the following registers is not directly accessible to the programmer in the
8085 microprocessor?
B) Accumulator B) Temporary Register C) Stack Pointer D) Program Counter
Which flag in the 8085 flag register is used to indicate a borrow in a subtraction
operation?
The output of the ALU in the 8085 microprocessor is directly fed into the:
C) Data busB) Address busC) AccumulatorD) Stack pointer
When the HOLD signal is active, which parts of the 8085 microprocessor continue to
operate normally?
D) Only the ALUB) The entire microprocessor haltsC) Internal registers and the ALUD) Memory
operations continue while all others stop.
Which of the following actions occur when the 8085 microprocessor is reset?
A) The memory contents are erased.B) The microprocessor enters HALT state.C) All the internal
registers are cleared.D) The Program Counter is set to 0000H, and the microprocessor begins
execution from this address.