Monday, April 13, 2009

TEN MARKS QUESTIONS

Section C(10 MARKS)

FROM LAST YEARS QUESTION PAPERS


1. Draw the block diagram of 8255 and explain its various modes. Also write down the control word for various combinations.
2. Write short notes on the following:
(i) 8251
(ii) Interfacing Seven Segment Display
3. Write an 8085 based assembly language program to find the square root of a number.
4. Explain the block diagram of 8086 microprocessor.
5. What do you mean by SIMULATION and EMULATION? In what way do these help in the development of a microprocessor based system?
6. Write an assembly language program to get the 2’s complement of a 16-bit number
7. What do you understand by DMA? Draw and explain the block diagram of 8257.
8. Describe the traffic light system, stepper motor interface.
9. Explain Microprocessor Development System.
10. (i)Write an 8085 based assembly language program to find the square root of a number.
(ii) Calculate the time required to execute the following two instructions if the system clock frequency is 750 kHz.
11. Draw block diagram of 8086 and explain the registers of 8086.
12. Explain how traffic light system works using stepper motor interface.
13. Interface the following memory ICS with 8086.
(i)Two 4KB EPROMS, ending at FFFFFH
(ii)Two 4KB SRAMS, starting at 00000H.
14. Describe the traffic light system, stepper motor interface.
15. Draw the 8085 timing of execution of the 2 byte instruction MVI A,32h ( load Accumulator with data 32h) & store in location as follows:
(i) 2000 3E
(ii) 2001 32
16. (i)Write the machine code for the instruction MOV H, A if the opcode=01, the register code for H=100 and register code for A=111.
(ii)Explain why the PTR attribute is sometimes necessary in 8086.
17. Write instruction to clear the CY flag, to load number FFH in register C, & to add 01 to (C),If the CY flag is set ;display 01 at an output port otherwise display the content of register C.
18. Explain how traffic light system works using stepper motor interface.
19. Draw the 8085 timing of execution of the 2 byte instruction MVI A,32H (load the accumulator with data 32H) and store in location as follows : Memory Location Machine Code Mnemonics2000 3E MVI A, 32H2001 32


20. (i)Write the 8085 mnemonics and the machine code to transfer the program sequence to the location 0155H.(ii) Calculate the time required to execute the following two instructions if the system clock frequency is 750 kHz.MOV C,B 5 T-statesJMP 2050H 10 T-states
21. Write instructions to clear the CY flag, to load number FFH in register B, and increment. If the CY flag is set, display 01 at an output port; otherwise display the contents of register B.

FIVE MARKS QUESTIONS

Section B(5 MARKS) FROM LAST YEARS QUESTION PAPERS
1. Draw the timing diagram of MOV B, A instruction.
2. Write an ALP to divide 16 bit no. by 8 bit no.
3. Draw the Block diagram of 8257.
4. Discuss various addressing modes of 8085.
5. Explain the interfacing 8251 chip with 8085 microprocessor.
6. Explain the function of the following 8085 instructions with examples.
(i) LHLD
(ii) XCHG
(iii) STA
(iv) JNC
(v) MVI
7. Write an 8085 based assembly language program to arrange a series of numbers in descending order.
8. Discuss the design of microprocessor based traffic light system.
9. What is RIM? Discuss the bit pattern of the accumulator for RIM instruction.
10. Explain the following instructions:
(i) SHLD 2040h
(ii) JMP
(iii) DAA
11. Discuss various addressing modes of 8085. explain with examples
12. Write an assembly language program to calculate the 2’s complement of a 16 bit no.
13. Explain why the PTR attribute is sometimes necessary in 8086
14. Differentiate between microprocessor and microcontroller.
15. Discuss various addressing modes of 8085. explain with examples
16. Draw timing diagram for MOV A,M instruction.
17. Explain the following instructions.
(i) MOV A, M
(ii) DAA
(iii) JMP 2000h
18. Differentiate between microprocessor and microcontroller.
19. Write an ALP to multiply the contents of memory location 2040h to 2041h.
20. Discuss various addressing modes of 8085.
21. Explain the control word register of 8255.
22. Differentiate between microprocessor and microcontroller.
23. Diagrammatically explain the difference between memory mapped & peripheral mapped I/O.
24. Draw a circuit diagram demonstrating how to create a 32k x 8 EPROM from two 16k x 8 EPROMs showing all signal connections.
25. Write an assembly language program to calculate the 2’s complement of a 16 bit no
26. Write an assembly language program that reads numbers from the users until the user types 5.
27. W.A.P. to generate Fibonacci sequence.
28. Draw Block diagram of 8251.
29. The instruction code 01001111 (4fh) is stored in memory location 2005 h, illustrate the data flow & list the sequence of events when the instruction code is fetched by MPU.
30. Draw a schematic to demultiplex bus ADO – AD7 using octal latch.
31. How does 8085 based single board microcomputer works?
32. Write an 8085 based assembly language program to arrange a series of numbers in descending order.
33. Write in brief about 8085 registers.
34. Draw microcomputer system using 8085 MPU, to memory (EEPROM, RWM), input and output and bus linking to (I/O and memory) peripherals to the MPU.
35. Draw the functional block diagram of 8085 microprocessor. Using example explain how an instruction is decoded and executed.
36. Explain the function of ALE and IO/M signals of the 8085 microprocessor.

TWO MARKS QUESTIONS

IMPORTANT QUESTIONS OF MOCROPROCESSORS FOR SEMESTER PAPERS
(Note: To be done by heart)
Section A
1. Many registers are available in 8086?
2. If A and B register contains 4 and 5 respectively what will be the status of Cy flag after execution of CMPB instruction?
3. What will be the contents of PC after execution of RST 7 instruction?
4. What is the word size of 8085 microprocessors? Which bus decides the word length of microprocessor?
5. Why demultiplexing of ADO – AD7 is required?
6. What is a parity flag? When is it affected?
7. State True or False:
a. CPU consists of ALU, PC and Instruction Register.
b. Instruction Cycle – Fetch Cycle + Execute Cycle
c. There is no direct instruction available to transfer 100 bytes from one location to another in 8085.
d. Only 8 Hardware interrupts can be handled with interrupt controller.
e. MOV, A, M is an example of indirect addressing
f. In RISC processor the No. of addressing modes are less than 4. False
g. An instruction will be executed in two machine cycles.
8. What do you mean by a synchronous and asynchronous bus? Give at least one explain of each.
9. Explain the function of the following 8085 instructions with example:
(i)XRA
(ii)RLC
10. Discuss the function of the following signals of 8085.
(i) RD
(ii)ALE
11. Explain the requirement of a program counter in 8085 microprocessor.
12. What is DMA data transfer? Explain in brief.
13. Explain what is SIM.
14. Explain the role of an emulator in microprocessor based system development
15. What is a single chip microcomputer? Explain.
16. Distinguish between PROM and ROM.
17. What are Volatile and Non-Volatile Memory?
18. Why the Instruction OUT 1234H, AL fails to compile?
19. Distinguish between synchronous and Asynchronous buses.
20. Write about the move instruction of 8085.
21. Discuss how pipelining improve performance.
22. Discuss the interrupt handling of 68000.
23. Give an example of a single 68000 assembly instruction involving an immediate addressing mode and an absolute address mode.
24. What is the basic difference between branch and call subroutine instruction?
25. Explain the function of the following 8085 instructions with example:
(i) XRA
(ii)RLC
26. Discuss the function of the following signals of 8085.
(i)RD
(ii)ALE
27. Explain four ways to clear the contents of accumulator.
28. Explain the requirement of a program counter in 8085 microprocessor.
29. What will be the contents of PC after execution of RST 5 instruction?
30. What is the word size of 8086 Microprocessor? Which bus decides and word length of a Microprocessor?
31. Explain SIM instruction in 8085.
32. What is a PSW?
33. What is a single chip microcomputer? Explain.
34. Find the errors in the following instructions.
(i)POP CS
(ii)ROR BL, 04
35. Write an assembly program that accepts an string of characters?
36. What is the word size on the 8086?
37. List the sequence of operations needed for the FETCH cycle of a basic computer?
38. How many clock cycles occur in 1 wait cycle?
39. Why data transfer with DMA is accelerated?
40. What is the last instruction executed by every interrupt?
41. What is the function of IF flag?
42. What is contained in interrupt vector table of each interrupt?
43. How many bus cycles are required to read as unaligned word of data from memory?
44. Write advantage of the assembly language in comparison with high-level language.
45. Write down the communication steps with an I/O device which are similar to those in communicating with memory.
46. Draw diagram of a memory chip with eight registers.
47. If the memory chip size is 256 x 1 bits, how many chips are required to make 1k byte of memory?
48. Draw Timing diagram of memory read cycle
49. Explain the function of system controller in 8085.
50. List the four categories of 8085 instructions that manipulate data.
51. Give the sum and flag setting for AF,ZF,SF,PF,CF and OF after hexadecimally adding 4AE0 to each of the following:
(i) 9090
(ii)EA04
52. Write note on 8051 chip.
53. Draw the timing diagram of memory write cycle.
54. Explain the following terms:
(i) SSI
(ii) MSI
(iii) LSI.
55. Write note on 8051 chip.
56. List the four categories of 8085 instructions that manipulate data
57. If the memory chip size is 1024x4 bits, how many chips are required to make up 2k bytes of memory?
58. List three improved features of the 8086over 8085
59. Explain two byte and three byte instructions.
60. Give the sum and the flag settings for AF, SF, ZF, CF, OF & PF after hexadecimally adding 62A0 to each of the following:(i)1234(ii)4321
61. How PROM programming differ from ROM programming?
62. Compare Motorola 68000 with 8086.