You are on page 1of 3

EACT 536 EMBEDDED CONTROL SYSTEM

QUESTION BANK MIDSEM

1. Define system and embedded system.


2. How does an embedded processor differ from general purpose processor?
3. Explain single purpose processors use in convergence technology embedded
systems [i] smart mobile phones with internet connectivity, mail client and image
frame downloads, [ii] digital camera
4. Explain the need of watch dog timer.
5. What is the role of RAM in an embedded system?
6. What are the different components used in embedded systems? Explain the
purpose of each component.
7. What are the challenges faced in designing an embedded system?
8. Classify the embedded systems and give 4 examples for each.
9. An automobile cruise control system has to be designed as a project. What will
be the skills required in team of software and hardware engineers?
10. Explain the embedded system design cycle in detail.
11. Explain the architecture of 8051 in detail.
12. Describe serial interface, timer/counters and interrupts in 8051.
13. Describe real time interfacing. Explain key board interfacing.
14. Draw the memory organization of 8051.
15. How will you interface an 8051 with four servomotors in a robot using
timer/counter and ports of 8051?
16. Show the stack and stack pointer from the following. Assume the default stack
area.
MOV R4, #0F3H
MOV R1, #12H
MOV R6, #25H
PUSH 4
PUSH 1
PUSH 6
17. Examining the stack, show the contents of the register and SP after execution
of the following instructions. All values are in hex.
POP 2 ; POP stack into R2
POP 5 ; POP stack into R5
POP 3 ; POP stack into R3
18. Show the status of the CY, AC and P flag after the addition of 9CH and 64H in
the following instructions.
MOV A, #9CH
ADD A, #64H; after the addition A=00H, CY=1
19. Write a program to (a) load the accumulator with the value 55H, and (b)
complement the ACC 700 times.
20. Find the period of the machine cycle for 11.0592 MHz crystal frequency
21. Write a program to create a square wave of 50% duty cycle on bit 0 of port 1.
22. Write a program to copy the value 55H into RAM memory locations 40H to
41H using (a) direct addressing mode, (b) register indirect addressing mode
without a loop, and (c) with a loop
23. Write a program to save the accumulator in R7 of bank 2.
24. Write a program to add two 16-bit numbers. Place the sum in R7 and R6; R6
should have the lower byte.
25. Write a program that finds the number of 1s in a given byte.
26. Assume that XTAL = 11.0592 MHz, write a program to generate a square
wave of frequency 2 kHz on pin P1.5.

27. Write a program for the 8052 to transfer a letter”A” serially at 4800 baud
continuously.

28. What is the difference between RET and RETI instruction?

29. Assume that after reset, the interrupt priority is set the instruction MOV IP,
#00001100B. Discuss the sequence interrupts are serviced.

30. Find the control word of 8255 for the following configurations:

[i] All the ports of A,B and C are output ports[mode 0]

[ii]PA=in, PB= out, PCH=out and PCL =out

2ung University, TAIWAN


Department of Computer Science and Information Engineering

You might also like