0% found this document useful (0 votes)
4 views2 pages

Microprocessor

The document outlines an assignment with programming tasks related to 8085 assembly language, including finding the smallest value between two numbers, adding and subtracting two-byte numbers, and performing bitwise operations. It also includes theoretical questions about microprocessor functions, data buses, instruction execution, addressing modes, and interrupt structures. The deadline for submission is April 24, 2024.

Uploaded by

Quonjor Kess
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)
4 views2 pages

Microprocessor

The document outlines an assignment with programming tasks related to 8085 assembly language, including finding the smallest value between two numbers, adding and subtracting two-byte numbers, and performing bitwise operations. It also includes theoretical questions about microprocessor functions, data buses, instruction execution, addressing modes, and interrupt structures. The deadline for submission is April 24, 2024.

Uploaded by

Quonjor Kess
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/ 2

ASSIGNMENT 1

Try these questions in your groups. Deadline 24/4/2024


Include those questions marked with tick form given
notes handout

1. Write an 8085 assembly language program to find the


smallest value between two number in memory location
2800H and 2801. Store the value in mnemory location
3000H.

2. Write an 8085 assembly language program, which adds two


Two-byte numbers. The first number is stored in
memory locations 3800H, 3801H and the second
number is stored in memory location 3 803H, 3804H. Store the answer
in memory locations 381OH
3. Develop aprogram in assembly that subtracts the number
in the DE register pair from the number in the HL
register. Place the result in BC register.

4. Write an 8085 assembly language program using minimum


number of instructions to add the 16 bit number in BC,
DE & HL. Store the l6 bit result in DE.

5. Write an assembly language program that AND, OR and XOR


together thecontents of register B, C and E and place
the result into memory location 3000H, 3001H and 3002H.

6. Design an up-down counter to count from 0 to 9 and 9 to 0


continuously with a 1.5 second delay between each count, and display
the count at one of the output ports.
QUESTIONS:
1. What is the function of a
microprocessor in a system?
2. Why is the data bus in S085 bidirectional?
How does microprocessor differentiate
A How long would the between data and instruction?
processor take to execute the instruction LDA
1753H ir the T-state duration is 2us?
s Draw the timing diagram of the
instruction LDAX B.
6. Sketch and explain the various pins of the
7. Explain direct addressing mode of
8085.
8085 with an example?
V8. Draw and explain the timing diagram of the
v9. What is meant by priority of the interrupts? instruction IN 82H.
the interrupts structure of the 8085, with the Explain the operation of
help of a circuit diagram.
V10.Explain the bit patten for SIM instruction. Write the assembly language
programn lines to enable all the interrupts in the 8085 after
11.Write the logical instructions which affect and which does not reset.
flags in 8085. affect
12.Write an ALP in 8085 MPU to reject all the negative readings and add all
the positive reading from a set of ten reading
stored in
locations starting at XX6OH. When the sum exceeds eight bits memory produce
output FFH to PORT1 to indicate overload otherwise display the sum.
13.Write an ALP in 8085 to eliminate the blanks (bytes with zero
from a string of eight data bytes. Use two memory
value)
pointers: one to get a
byte and the other to store the byte.
14.Design an up-down counter to count from 0 to 9 and 9 to 0
continuously with a 1.5 second delay between each count, and display
the count at one of the output ports.

You might also like