Be Electrical-Engineering Semester-4 2024
Be Electrical-Engineering Semester-4 2024
8
23
PB16 [Total No. of Pages : 2
ic-
[6268]-210
tat
S.E. (Electrical Engineering) (Insem)
2s
FUNDAMENTALS OF MICROCONTROLLER AND
4:1
02 91
APPLICATIONS
4:1
0
41
(2019 Pattern) (Semester-IV) (203149)
7/0 13
0
3/2
Time : 1 Hour] [Max. Marks : 30
.23 GP
8
1) Solve Q.1 or Q.2 : Q.3 or Q.4.
C
23
2) Figures to the right indicate full marks.
ic-
16
tat
8.2
2s
4) Assume suitable additional data, if necessary.
.24
4:1
5) Use of non-programmable calculator is allowed.
91
49
4:1
30
41
Q1) a) Explain in detail data memory and program memory organization of 8051
01
microcontroller. [7]
02
3/2
GP
8
23
ii) Copy the contents of memory location 60H to accumulator.
.23
ic-
16
tat
iii) Copy the contents of accumulator to register R1 of Bank 1.
8.2
2s
iv) Copy the contents of internal RAM location 30H to location 40H
.24
4:1
91
49
OR
4:1
30
41
ii) EA pin
.23
iii) AC bit
16
8.2
P.T.O.
49
P.T.O.
Q3) a) Write a short note on addressing modes of 8051. Also give 2 examples of
8
23
each addressing mode. [7]
ic-
b) Five 8-bit numbers are stored at external memory location 400H onwards
tat
2s
consecutively. Write a program to copy these contents to internal RAM
4:1
locations from 50H onwards consecutively. [8]
02 91
4:1
OR
0
41
Q4) a) 7/0 13
Explain with syntax and suitable example, following instructions- [7]
0
3/2
.23 GP
i) SWAP
ii) RLC
E
82
8
C
23
iii) JNZ
ic-
16
tat
iv) CJNE
8.2
2s
b) Write a program in assembly to divide the number stored in register R2
.24
4:1
91
by a value 05H and store the quotient at external memory location 200H
49
4:1
and remainder at location 201H. [8]
30
41
01
02
3/2
GP
7/0
CE
82
8
23
.23
ic-
16
tat
8.2
2s
.24
4:1
91
49
4:1
30
41
01
02
3/2
GP
7/0
CE
82
.23
16
8.2
.24
49
[6268]-210 2