Professional Documents
Culture Documents
(EED308)
Syllabus
✓ Has 40 pins
✓ It can operate with 3MHz (Some version can operate with 5MHz).
Syllabus
✓ In the ALU, in addition to the arithmetic & logic circuits, the ALU includes the
accumulator, which is part of every arithmetic & logic operation.
✓ Also, the ALU includes two temporary register (ACT and TMP) used for holding data
temporarily during the execution of the operation. These temporary registers are not
accessible by the programmer.
READY: It senses whether a peripheral is ready to transfer data or not. If READY is high(1)
the peripheral is ready. If it is low(0) the microprocessor waits till it goes high. It is useful for
interfacing low speed devices.
ALE : It is an Address Latch Enable signal. It goes high during first T state of a
machine cycle and enables the lower 8-bits of the address, if its value is 1
otherwise data bus is activated. Syllabus
IO/𝐌ഥ : It is a status signal which determines whether the address is for input-
output or memory. When it is high(1) the address on the address bus is for
input-output devices. When it is low(0) the address on the address bus is for the
memory.
S0, S1 : These are status signals. They distinguish the various types of
operations such as halt, reading, instruction fetching or writing.
Syllabus
HLDA : It is a signal which indicates that the hold request has been received. HLDA is set to
low after the removal of HOLD signal. Syllabus
𝐑𝐄𝐒𝐄𝐓 𝐈𝐍 : When the signal on this pin is low(0), the program-counter is set to zero, the
buses are tristate and the microprocessor unit is reset.
RESET OUT : This signal indicates that the MPU is being reset. The signal can be used to
reset other devices.
Program counter
It is a 16-bit register used to store the memory address location of the next
instruction to be executed. Microprocessor increments the program counter
whenever an instruction is being executed, so that the program counter points to the
memory address of the next instruction that is going to be executed.
Zero flag: This flag is set, when the result of operation is zero, else it is reset.
1-zero result
0-non-zero result
Auxiliary carry flag: This flag is set whenever there has been a carry out of the lower nibble into the
Syllabus
higher nibble or a borrow from higher nibble into the lower nibble of an 8 bit quantity, else AC is reset.
This flag is used by decimal arithmetic instructions.
1-carry out from bit 3 on addition or borrow into bit 3 on subtraction
0-otherwise
Parity flag: This flag is set whenever the result has even parity, an even number of 1 bits. If parity is odd,
P is cleared.
Carry flag: This flag is set whenever there has been a carry out of, or a borrow into, the higher order bit
of the result.
Syllabus
1. Address bus
2. Data bus
– initiated operations
MicroprocessorSyllabus
✓ Memory read
✓ Memory write
✓ I/O read
✓ I/O write
Peripheral operations
✓ Reset
✓ Interrupt
✓ Ready
✓ Hold
✓ TRAP Syllabus
✓ RST7.5
✓ RST6.5
✓ RST5.5
✓ INTR
Non-vector interrupt:
In this interrupt, the interrupt address is not known to the processor. So, the interrupt address
needs to be sent externally by the device to perform interrupt.
For example: INTR.
Syllabus
Maskable interrupt:
In this type of interrupt, we can disable the interrupt by writing some instructions into the
program.
For example: RST7.5, RST6.5, RST5.5, INTR.
Non-Maskable interrupt:
In this type of interrupt, we cannot disable the interrupt by writing some instructions into the
program.
For example: TRAP.
Software interrupt:
In this type of interrupt, the programmer has to add the instructions into the program to
execute the interrupt. There are 8 softwareSyllabus
interrupts in 8085.
For example: RST0, RST1, RST2, RST3, RST4, RST5, RST6, and RST7.
0000 H