Questions
Questions
B Register
- Use as temporary register .
- store upper bit Result of MUL & DIV.
- access through SFR adder 0F0H.
Stack Pointer
- Define anywhere on chip 128 byte RAM.
- It is Initialised to 07H address (after rest) .
Data Pointer
- - 16 bit register
- -Access external memory up to 64KB.
Program Status Word
- Reflect status ALU performing operation.
Port 0 to 3
- Each latch and corresponding drivers of port 0 to 3 is
allotted to the corresponding on chip I/O port.
Serial Data Buffer
- Two Independent Register : TX Buffer (8bit) & RX Buffer(8bit).
Program Counter
- 16 bit wide
- - Point to address of next instruction to be executed
13. Describe in detail about the Data transfer and arithmetic instruction 10 4 4 2
sets in 8051 microcontrollers with suitable examples.
Data transfer and arithmetic instrustion any 5 instruction with
example can be given (5+ 5 marks)
SECTION B2
Instructions: Answer ANY 2 Questions
14. Write a 8051 program for interfacing stepper motor with 8051and 10 3 5 3
explain its principle of operation.
Working principle (5 Marks)
After the rotation of the shaft through angle x, the rotor locks
itself with the next tooth in the sequence on the internal
surface of the stator. The typical schematic of a typical
stepper motor with four windings is as shown below.
Program – 6 marks
ON and OFF time delay calculation – 4 marks
16. a) List the interrupt vector table and explain how 8051 services an 6 2 5 3
interrupt request
Interrupt Source ROM Location Pin
Reset 0000H 9
Timer0 000BH
Timer1 001BH
BL Coverage (%)
60
50 40
40
30
30
20 20
10 10
0
0
CO1 CO2 CO3 CO4 CO5 CO6
BL-1 BL-2 BL-3 BL-4 BL-5