Professional Documents
Culture Documents
It uses +5V
supply and runs on maximum frequency of about 3 MHz The pins on 8085 chip can be
grouped into 6 groups:
Address Bus
Data Bus
Control and Status Signals
Power supply and frequency
Externally Initiated Signals
Serial I/O ports
After an ALU operation, if the most significant bit of the result is 1, then sign flag is set.
The zero flag is set, if the ALU operation results in zero and it is reset if the result is
non-zero. In an arithmetic operation, when a carry is generated by the lower nibble, the
auxiliary carry flag is set. After an arithmetic or logical operation, if the result has an
even number of 1 's the parity flag is set, otherwise it is reset. If an arithmetic operation
results in a carry, the carry flag is set otherwise it is reset.
Among the five flags, the AC flag is used internally for BCD arithmetic and other four
flags can be used by the programmer to check the conditions of the result of an
operation.
TIMING & CONTROL UNIT: The timing and control unit synchronizes all the
microprocessor operations with the clock and generates the control signals necessary
for communication between the microprocessor and peripherals. It provides timing and
control signal to the microprocessor to perform operations. Following are the timing and
control signals, which control external and internal circuits −
INTERRUPT CONTROL
As the name suggests it controls the interrupts during a process. When a
microprocessor is executing a main program and whenever an interrupt occurs, the
microprocessor shifts the control from the main program to process the incoming
request. After the request is completed, the control goes back to the main program.
There are 5 interrupt signals in 8085 microprocessor: INTR, RST 7.5, RST 6.5, RST
5.5, TRAP.
SERIAL INPUT/OUTPUT CONTROL
It controls the serial data communication by using these two instructions: SID (Serial
input data) and SOD (Serial output data).
ADDRESS BUFFER AND ADDRESS-DATA BUFFER
The content stored in the stack pointer and program counter is loaded into the address
buffer and address-data buffer to communicate with the CPU. The memory and I/O
chips are connected to these buses; the CPU can exchange the desired data with the
memory and I/O chips.
ADDRESS BUS AND DATA BUS
Data bus carries the data to be stored. It is bidirectional, whereas address bus carries
the location to where it should be stored and it is unidirectional. It is used to transfer the
data & Address I/O devices.
INSTRUCTION REGISTER & DECODER: When an instruction is fetched from memory
it is placed in instruction register. Then it is decoded and encoded into various machine
cycles.
REGISTER ARRAY:
Apart from Accumulator (A-register), there are six general-purpose programmable
registers B, C, D, E, H and L.
They can be used as 8-bit registers or paired to store l6-bit data. The allowed pairs
are B-C, D-E and H-L.
The temporary registers W and Z are intended for internal use of the processor and
it cannot be used by the programmer.
STACK POINTER (SP):
The stack pointer SP, holds the address of the stack top. The stack is a sequence of
RAM memory locations defined by the programmer. The stack is used to save the
content of registers during the execution of a program.
Z(8)
TEMP. REG.