Question Bank
CS 2 [SYJC] – SEM-I
1. Explain the primary functions of the CPU of a microcomputer.
2. Write a program to transfer one byte of data from memory location 2005H to 4020H
3. Define subroutine and explain its types.
4. Explain in brief how 8085 handles reading and writing in memory location and
input/output ports. Discuss it with reference to the IO/M signal.
5. How the data can be sent or received serially using the facility available on 8085
chip? Discuss the method
6. Draw a neat diagram of the typical microcomputer system. Explain the function of
each block in short.
7. Write a subroutine to multiply an 8-bit number stored at 1500H with 12H and store
the result in HL register pair.
8. Explain the difference between SUB and CMP instruction.
9. Write any three instructions to make Accumulator clear or to make acc zero with
explanation.
10. With the help of the example, explain direct and immediate addressing modes in
8085.
11. What is program counter? Explain its working.
12. Write a program to check whether data 02H is present in a memory block starting at
4065H to 4070H. If present store ‘FF’H at 4080H. Else store ‘00’H at the same
location.
13. Explain any three Arithmetic Instructions.
14. Write a program to subtract 16-bit binary number stored in B-C pair from 16-bit
binary number stored in D-E pair store the result in H-L register pair.
15. Define the following terms with suitable diagram:
a) Instruction cycle b) Machine cycle c) T-State
16. Write a program to add 13 BCD to 29 BCD store the results in L register.
17. Draw a neat simplified block diagram of CPU architecture of micro-computer.
18. Explain branching group instructions in detail.
19. Write a program which will read 10 bytes from port 7EF one after and will output the
sum of these bytes on port 8EF.
20. Explain the instruction classification of 8085.
21. Draw bit pattern of flag register and explain the significance of each flag bit.
22. Explain the following instructions with suitable example.
i) LDAX ii) XCHG iii) DAD
23. Explain following instructions – i) CMA ii) NOP iii) DCX
24. Explain a) SPHL b) PCHL instruction with suitable example.
25. Explain microcomputer organization with the help of a diagram.
26. Explain generic microprocessor.
27. Explain flags available in 8085.
28. Show with the help of a neat diagram how the address and data bus is multiplexed.
29. Explain direct and register indirect addressing modes in 8085.
30. Complete the following program by adding appropriate comments to each
instruction.
LXI D 3330H
LXI H 2300H
MOV A,M
OUT 39 H
IN 49 H
STAX D
HLT
31. Explain the term interrupt and explain any 3 hardware interrupts.
32. State the features of 8085.
33. Explain any 5 logical group instructions with suitable examples.
34. Draw an internal block diagram of 8085.
35. Write an assembly language program to count the occurrence of data 9CH in a
memory block starting from 4000H and 400FH. Store the count at memory location
4500H.
36. Write an assembly language program to find out 2’s complement of five numbers
stored from memory location 3330H and onwards. Store the result from memory
location address 4100H.
37. Write a short note on “Evolution of Microprocessor” giving one example of each
generation.
38. Write a program to output one byte stored at memory location 47FEH to the output
port 3FH.
39. Explain instruction format with the help of diagram.
40. List all hardware interrupts of 8085. List them according to their priority. Explain
maskable and non-maskable interrupts.