Professional Documents
Culture Documents
Mandal’s
Evaluation Sheet
Figure (2) A
Understanding (2) A
Oral (2) P
Conclusion(2) C
Total(10)
Subject Teacher
1
G.S.Mandal’s
Experiment No.: 1
AIM: 1. Draw Architecture of 8085 and analyze the function of each block.
2. Draw pin out Diagram of 8085 and understand the function of each pin.
3. Analyze and Observe the DYNA 85 kit and understand the components.
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 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.
2
G.S.Mandal’s
Stack pointer- It is also a 16-bit register works like stack, which is always
incremented/decremented by 2 during push & pop operations.
Temporary register- It is an 8-bit register, which holds the temporary data of arithmetic and
logical operations.
Flag register- It is an 8-bit register having five 1-bit flip-flops, which holds either 0 or 1
depending upon the result stored in the accumulator.
These are the set of 5 flip-flops −
• Sign (S)
• Zero (Z)
• Auxiliary Carry (AC)
• Parity (P)
• Carry (C)
Its bit position is shown in the following table −
D7 D6 D5 D4 D3 D2 D1 D0
S Z AC P CY
Instruction register and decoder- It is an 8-bit register. When an instruction is fetched from
memory then it is stored in the Instruction register. Instruction decoder 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, which control external and
internal circuits −
3
G.S.Mandal’s
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.
4
G.S.Mandal’s
5
G.S.Mandal’s
6
G.S.Mandal’s
CONCLUSION:
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
7
G.S.Mandal’s
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
Q.2 How many data lines, address lines are present in 8085.
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
Q.4 Describe the function of clock oscillator in 8085. What is the operating frequency of 8085?
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
8
G.S.Mandal’s
Evaluation Sheet
Aim:-
Understanding (1) A
Program (2) A
Result(1) P
Oral (2) C
Conclusion(2) C
Total(10)
Subject Teacher
9
G.S.Mandal’s
Experiment No.: 2
AIM: Programs based on ‘Arithmetic Instruction Group’.
PROGRAM A: Write an assembly language program for addition of two 8 bit numbers.
Data Input:
Memory
Mnemonics Machine code Comments
Location
10
G.S.Mandal’s
Data Output:
PROGRAM B: Write an assembly language program for Subtraction of two 8 bit numbers.
Data Input:
Memory
Mnemonics Machine code Comments
Location
Data Output:
11
G.S.Mandal’s
PROGRAM C: Write an assembly language program for Addition of two 16 bit numbers.
Data Input:
Memory
Mnemonics Machine code Comments
Location
12
G.S.Mandal’s
Data Output:
Data Input:
Memory
Mnemonics Machine code Comments
Location
13
G.S.Mandal’s
Data Output:
CONCLUSION :
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
14
G.S.Mandal’s
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
15
G.S.Mandal’s
Evaluation Sheet
Aim:-
Understanding (1) A
Program (2) A
Result(1) P
Oral (2) C
Conclusion(2) C
Total(10)
Subject Teacher
16
G.S.Mandal’s
Experiment No.: 3
AIM: To write an assembly language program for multiplication and division for 8 bit.
INPUT DATA
Memory
Mnemonics Machine code Comments
Location
17
G.S.Mandal’s
RESULT:
OUTPUT DATA
PROGRAM B: Write an assembly language program for Division of two 8 bit numbers.
INPUT DATA
18
G.S.Mandal’s
Memory
Mnemonics Machine code Comments
Location
19
G.S.Mandal’s
RESULT:
OUTPUT DATA
CONCLUSION:
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
20
G.S.Mandal’s
21
G.S.Mandal’s
22
G.S.Mandal’s
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
23
G.S.Mandal’s
Evaluation Sheet
Aim:-
Understanding (1) A
Program (2) A
Result(1) P
Oral (2) C
Conclusion(2) C
Total(10)
Subject Teacher
24
G.S.Mandal’s
Experiment No.: 4
AIM: To write an assembly language program for larger number and smaller number
25
G.S.Mandal’s
PROGRAM A: Write an assembly language program for larger number out of two 8 bit
numbers.
INPUT DATA
Memory
Mnemonics Machine code Comments
Location
26
G.S.Mandal’s
RESULT:
OUTPUT DATA
27
G.S.Mandal’s
28
G.S.Mandal’s
PROGRAM B: Write an assembly language program for smaller number out of two 8 bit
numbers.
INPUT DATA
Memory
Mnemonics Machine code Comments
Location
29
G.S.Mandal’s
RESULT:
OUTPUT DATA
CONCLUSION:
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
30
G.S.Mandal’s
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
____________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
____________________________________________________________________________
31
G.S.Mandal’s
Evaluation Sheet
Aim:-
Understanding (1) A
Program (2) A
Result(1) P
Oral (2) C
Conclusion(2) C
Total(10)
Subject Teacher
32
G.S.Mandal’s
Experiment No.: 7
AIM: To write assembly language program and interfacing for Flashing and rolling LED based
on 8085 microprocessor.
THEORY:
33
G.S.Mandal’s
34
G.S.Mandal’s
Memory
Mnemonics Machine code Comments
Location
35
G.S.Mandal’s
Memory
Mnemonics Machine code Comments
Location
36
G.S.Mandal’s
CONCLUSION:
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
37
G.S.Mandal’s
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
38
G.S.Mandal’s
Evaluation Sheet
Aim:-
Understanding (1) A
Program (2) A
Result(1) P
Oral (2) C
Conclusion(2) C
Total(10)
Subject Teacher
39
G.S.Mandal’s
Experiment No.: 6
AIM: To Interface 7 segment LED to 8085 microprocessor
THEORY: Seven segment displays internally consist of 8 LEDs. In these LEDs, 7 LEDs are
used to indicate the digits 0 to 9 and single LED is used for indicating decimal point. Generally
seven segments are two types, one is common cathode and the other is common anode.
40
G.S.Mandal’s
In common cathode, all the cathodes of LEDs are tied together and labeled as com. and the
anode are left alone. In common anode, seven segment display all the anodes are tied together
and cathodes are left freely.
41
G.S.Mandal’s
Memory
Label Mnemonics Machine code Comments
Location
Hex code:
42
G.S.Mandal’s
CONCLUSION:
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
43
G.S.Mandal’s
Evaluation Sheet
Aim:-
Understanding (1) A
Program (2) A
Result(1) P
Oral (2) C
Conclusion(2) C
Total(10)
Subject Teacher
44
G.S.Mandal’s
Experiment No.: 7
AIM: To write Programs based on arithmetic instructions for 8051 microcontroller
Result:
Result:
45
G.S.Mandal’s
Result:
Results
CONCLUSION:
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
46
G.S.Mandal’s
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
47
G.S.Mandal’s
Evaluation Sheet
Aim:-
Understanding (1) A
Program (2) A
Result(1) P
Oral (2) C
Conclusion(2) C
Total(10)
Subject Teacher
48
G.S.Mandal’s
Experiment No.: 8
AIM: To Interfacing of DC motor to 8051 microcontroller
EQUIPMENTS: SIDE51 Software, 8051 Evaluation kit, Flash Magic, Dc motor Interfacing Kit,
FRC
49
G.S.Mandal’s
50
G.S.Mandal’s
CONCLUSION:
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
51
G.S.Mandal’s
Evaluation Sheet
Aim:-
Understanding (1) A
Program (2) A
Result(1) P
Oral (2) C
Conclusion(2) C
Total(10)
Subject Teacher
52
G.S.Mandal’s
Experiment No.: 11
AIM: To Interface stepper motor to 8051 microcontroller
EQUIPMENTS: SIDE51 Software, 8051 Evaluation kit, Flash Magic, Stepper motor
Interfacing Kit, FRC
53
G.S.Mandal’s
54
G.S.Mandal’s
CONCLUSION:
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
55
G.S.Mandal’s
56