Professional Documents
Culture Documents
Questions
Questions
Questions
LXI H,3000;
MVI M,80;
INX H;
MVI M,75;
INX H;
MVI M,45;
INX H;
MVI M,85;
INX H;
MVI M,35;
INX H;
MVI M,55;
INX H;
PART - A
8. What is a MPU?
20. Show the bit positions of various flags in 8085 flag register?
23. What are the similarity and difference between subtract and compare instructions?
24. List the type of signals that have to be applied to initiate hardware interrupts in 8085.
27. List out the similarities between CALL_RET and PUSH_POP instructions.
29. Give the clock out frequency and state time T of 8085 when the crystal frequencies are:
30. How many times the given loop will be executed? What will be the contents of HL pair when the program control
reaches to HLT instruction?
MVI A, 00h
LX1H, 5003H
Loop: DCX H
DCR A
JNZ loop
HLT .
31. Define: (a) Instruction Cycle (b) M/c cycle (c) T-state.
34. If the program counter is always one count ahead of the memory locations from which the machine code is being
fetched, how does the microprocessor change the sequence of program execution with a "Jump" execution?
36. What is DAD and what are the flags, affected by this instructions?
40. Write an 8085 assembly language program, which checks to see if the number is even or odd returns a '0' in B
register else returns a '1'.
PART - B
1. (i) Draw the pin configuration of 8085 and explain the functional usage of each pin in details.
(ii) Write a 8085 program to generate a delay of 0.6 sec for the given crystal frequency of 5 MHz.
3. Write a 8085 assembly language program to generate a delay of 0.1 sec for the given crystal frequency of 2
MHz.
4. (i) With suitable examples, explain the addressing modes of 8085.
5. (i) Draw the timing diagram of I/O read cycle in 8085 and explain it.
(ii) Interface a 8-bit DIP switch with 8085 such that the address assigned to it is FFH.
8. (i) Write a 8085 program for multiplying two 8 bit numbers.
(ii) Write an assembly language program to evaluate the expression (A+(B*C))/D, where A, B, C and D are
single byte integer.
9. (i) Draw the timing diagram of opcode and memory write machine cycles of 8085 for following instructions: MOV
V, M; MVI D, data; IN OL; OUT 01; LDA 8000; RST7
11. (i) Write an 8085 assembly language program to perform 32 bit binary addition.
(ii) What will be the value in ACC, for the given 8085 program below:
MVI C, 7F
MVI B, 3E
MOV A,B
RLC
RLC
ANI 7F
HLT.
12. (i) Write an 8085 assembly language program to fill a block of 1000H bytes starting at address 9000H with
characters 2BH.
(ii) Indicate the logic levels on each control or status pin as logic '0' or logic '1' for 8085 microprocessor with the
given data below;
Machine cycle
RD
WR
IO/M
S0
S1
Memory write
Memory read
I/O read
I/O write
15. (i) Analysis the program and find the content of A register after execution.
MVI A, 07
RLC
MOV B,A
RLC
RLC
RLC
ORA B
16. (i) Draw and explain the timing diagram for STA 4500 instruction.
17. Interface 3 numbers of 8KB EPROM and 5 numbers of 8KB RAM to microprocessor 8085 to have a total memory
capacity of 64 KB.
18. (i) Write an assemble language program to add two 2-digit BCD numbers.
20. Write an assembly language program to find the biggest and smallest in an array of given numbers.
21. Write a program to count continuously in hexadecimal from FFB to 00H in a system with a 0.5 micro sec clock
period. Use register C to set up a one milli second delay between each count and display the number at one of the
output ports.
22. (i) Draw a flowchart and 8085 assembly language program for adding the two hexadecimal numbers 9BH and
A7H in register D and E respectively,. If the sum is greater than FFH, display 01H at output PORT0: otherwise,
display the sum.
23. Explain with the help of suitable diagram how the INTR pin can be used to interrupt the 8085 and how it
responds to the signal.
24. (i) Explain the logic instructions of 8085 microprocessor with examples.
(ii) Write and ALP using 8085 instruction set to add two n-byte numbers stored at memory locations starting at 'X'
and 'Y' respectively. Store the result and memory location starting from 'Z'. Draw the flow chart.
25. (i) List all the control signals of the Timing and Control Unit. Explain the sue of each of these signals.
26. (i) What are the features of FIFO and LIFO memory structures?
27. Draw and explain the timing diagram for the execution of the instruction LDA 2080H.
28. (i) How do you classify the 8085 interrupts what are they? How is the interrupt branch address obtain in each
case?
(ii) Draw the timing diagram of DCX instruction.