LAb Report
LAb Report
LAb Report
Semester: 2nd
PRACTICAL DETAILS:
a) List of Experiments
The above diagram shows the block diagram of 8085 microprocessor. The device
has 40 pins, which requires +5V power supply and can operate with 3MHz. This
microprocessor contains 3 buses.
i.e.
Address = 16bits
(MVI A, 30H)
(MVI B, 40H)
SUB B (A = A-B)
-10H
S 1
Zero flag (Z): After any arithmetic or logical operation if the result is zero
flag becomes set (1) otherwise it becomes reset (0).Eg
(MVI A, 10H)
(MVI B, 10H)
SUB B (A = 10-10)
00H
Z 1
Auxiliary carry (Ac) flag: If after any arithmetical or logical operation, the
result has even parity register becomes set (1) otherwise it becomes reset
(0).Eg
(MVI A, 00H)
(MVI B, 01H)
A 00H 00
B 01H +01
A A+B 01
P 0
Carry flag (C): If last operation generates a carry it status will beset (1)
otherwise it becomes reset (0).Eg
(MVI A, FFH)
(MVI B, FFH)
ADD B
1111 1111
+1 1 1 1 +1111
1111 1110
Instruction and decoder: It is an 8-bit register, when an instruction is
fetched from the memory then it is stored in the instruction register.
Instruction decodes the information present in the instruction register.
Timing and control unit: It provides timing and control signal to the
microprocessor to perform operations following are the timing and
control signals.
READY: RD, WR, and ALE
Status signal: S0, S1, Io/M
DMA signals: HOLD, HLDA
RESET signals: RESET IN, RESET OUT
Interrupt Unit-As the name suggests, it controls the interrupt during the
process. When microprocessor is executing a main program and whenever
an interrupt occurs, the microprocessor shifts the control goes back to the
main program,
There are 5 types of interrupt signals in 8085 microprocessor,
INTR
TRAP
RST 5.5
RST 6.5
RST 7.5
GNU simulator 8085