0% found this document useful (0 votes)
60 views1 page

Lab Assignment

The document contains 10 questions related to assembly language programming and interfacing microcontrollers. It asks the reader to write programs for sorting arrays, adding numbers, and displaying output on devices like LCDs and seven segment displays. It also asks the reader to draw timing diagrams, explain microcontroller memory architectures, and calculate delays for programs running on microcontrollers.

Uploaded by

Paras Bhardwaj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
60 views1 page

Lab Assignment

The document contains 10 questions related to assembly language programming and interfacing microcontrollers. It asks the reader to write programs for sorting arrays, adding numbers, and displaying output on devices like LCDs and seven segment displays. It also asks the reader to draw timing diagrams, explain microcontroller memory architectures, and calculate delays for programs running on microcontrollers.

Uploaded by

Paras Bhardwaj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

1.

Write the format of assembly language program and flow chart to develop the code in
assembly language programming.
2. Interface the 8051 microcontrollers with LCD (16 x 2). Also, write the embedded ‘C’ /
Assembly program to display your Name.
3. Write down the program for sorting of array (assume any 5 input) using 8085 ALP.
4. Draw the timing diagram for the instruction STA 2000 H and explain the function of each
machine cycle.
5. Detail the completed internal RAM memory architecture of 8051 with complete description
of register banks, bit Addressable RAM allocation and SFR.
6. Interface the circuit of seven segment display unit with 8051 microcontroller. Also, write
down a program for the same using embedded C/Assembly language.
7. Assume that RAM locations 30 – 34H have the following values. Write a program to find the
sum of the values. At the end of the program, register A should contain the low byte and R7
the high byte.
30 = (7D)
31 = (EB)
32 = (C5)
33 = (5B)
34 (30)
8. Write down the program for addition of two 16-bit numbers with carry using 8085.
9. Illustrate the interfacing of Light Emitting Diodes to 8051 microcontroller, draw the diagram
and write the logic.
10. Find the size of the delay in the following program if the crystal frequency is 11.0592MHz.
DELAY: MOV R2, #200 H
AGAIN: MOV R3, #250 H
HERE: NOP
NOP
DJNZ R3, HERE 2
DJNZ R2,
AGAIN 2
RET

You might also like