Professional Documents
Culture Documents
18ECC203J Microprocessor, Microcontroller & Interfacing Techniques Lab
18ECC203J Microprocessor, Microcontroller & Interfacing Techniques Lab
Max. Marks
Particulars
Marks Obtained
Pre-lab 5
Lab Performance 10
Post-lab 15
Total 30
REPORT VERIFICATION
Date :
Signature :
Experiment 1: Data transfer and Logical operation using 8086
1.1 Introduction:
The purpose of this experiment is to learn about the registers, instruction sets, data
transfer operation and logical operation of 8086 by using AND , OR in the given two 16 bit
numbers and store them in a memory location.
1.2 Hardware Requirement:
The 8086 Microprocessor kit, Power Supply.
1.1 Program Logic:
The logical AND instruction is used for masking off bits. The bits which have to be cleared are to
be AND ed with a logical zero and other bits are to be high. Hence to achieve the above objective, AND
with 0F0F.
The logical OR of a bit with procedure a result of 1. Hence bits can be set selectively by OR-ing the
particular bit with a 1.
Program 1(a)
07109 HLT F4
Observation
Program 1(b)
07109 HLT F4
Observation
OUT PUT DATA
ADDRESS
1200 0F
1201 0F
1.1 Outputs
AND:
OR:
XOR:
NOT:
1.2 Pre-LabQuestions
1. Difference between Microprocessor & Microcontroller?
2. Define BUS and give the classification of Buses
3. How the Microprocessors can be categorized?
1.3 Post Lab Questions
1. Calculate the physical address for the given data. DS=1000h, BP=1234h
2. Initialise register CX to value FFFF and register AX to value 0000. Write a program to exchange
the content of both these registers.
3. Write a program to find the ones complement of FE27 and store it in memory location 1400.
4. What is the purpose of HLT instruction?
5. What happens if the result is greater than 16bit?
1.4 Results and Conclusion
Thus, the registers, instruction sets, data transfer operation and logical operation of 8086 by using AND, OR in
the given two 16-bit numbers and store them in a memory location was experimented.