Download VTU BE 2020 Jan CSE Question Paper 17 Scheme 4th Sem 17CS44 Microprocessor and Microcontrollers

Download Visvesvaraya Technological University (VTU) BE ( Bachelor of Engineering) CSE 2017 Scheme 2020 January Previous Question Paper 4th Sem 17CS44 Microprocessor and Microcontrollers

USN
.
, ? N..: j., 1
17CS44
?
Fourth Semester B.E. Degree Examination, Dec.2019/Jan.2020
Microprocessor and Microcontrollers
Time: 3 hrs. Max. Marks: 100
Note: 1. Answer any FIVE full questions, choosing ONE full question from each module.
2. Assume missing data suitably.
U
Module-1
7..
p
1 a. Explain Execution Unit (EU) and Bus Interface Unit (B1U) of 8086 with a neat diagram.
ti
-c)
(08 Marks)
v
ti b. With an example distinguish between physical address, logical address and offset address. If
CS = 2000h, DS = 3000h, SS = 4000h, ES = 5000h, BX = 0030h, BP = 0020h, find the
to
_
. ?, physical address for i) MOV AL, [BP] ii) MOV CX, [BX] iii) Add AX, 20[BX].
Y ,, (06 Marks)
--z
k c5
c
. explain the following addressing modes of 8086:
`''
to ii
c to
i) Register Indirect
: E --,
1 i ) Based Index
L
P
to
,_ I.)
i i 1.) Relative Based Index
.. v
iv) Direct Memory. (06 Marks) '
4
-
7
-

.
.1:
0.., ,
OR
- -
? 0
-; ?E
.
L. : 2 a. Explain all bits of flag register of 8086 li
p
with a neat diagram. Show the setting and
J.

2 0
-

c.) o
resetting of flag bits with a suitable example. (06 Marks)
.
1- b. What are Assembler directives? Explain the following assembler directives with an

?
-0
tl) a
example: i) PUBLIC ii) ORG iii) ASSUME iv) PTR. (08 Marks)
. cz cz
-a .6
c. Develop an 8086 Assembly Language Program (ALP) to sort a given set of 'n' 16-bit
, --t.
-'e 74
numbers in descending order. Using Bubble sort algorithm to sort given elements. (06 Marks)
c t ?,.
>, k;
c 0
O ..?
Module-2
? tv
:.--,
G
,
c. .. o.
3 a. Explain the following instructions with an example: i) DAA ii) AAM iii) SHR
9"
iv) TEST v) LEA vi) PUSH vii) LDS viii) CBW. (08 Marks)
u d
.

:i. .
0

:
1
3 ii
b. What is an interrupt? Explain various types with an interrupt vector table. (06 Marks)
3
0

cn , ""
c. Assume that there is a class of five people with following grades: 69, 87, 96, 45, 75.
c
ct E.
,- 0 Develop an ALP to find the highest grade. (06 Marks)
'6 ?P-
>,
o

.-
to
2)
OR
15 _
z 0
4 a. Develop an ALP that adds the following two multiword numbers and saves the result:
P >
5 a
)
Data 1 = 548FB9963CE7H
cs
Data 2 = 3FCD4FA23B8DH. (08 Marks)
b. Develop an ALP to perform the following:
? ?
i) Clear the screen.
ii) Set the cursor at row 8 and column 5 of the screen.
iii) Prompt "There is a message for you from VTU, to read it enter Y. If the user enter
O or then the message "Hello! All the best for you exams" will appear on the screen.
If the user enters any other key, then the prompt. "No more messages for you" should
appear on the next line.
(08 Marks)
c.
Develop an ALP to count the number of ones and zeros in a given 8 bit data using rotate
instructions.
(04 Marks)
1 of 2
FirstRanker.com - FirstRanker's Choice
USN
.
, ? N..: j., 1
17CS44
?
Fourth Semester B.E. Degree Examination, Dec.2019/Jan.2020
Microprocessor and Microcontrollers
Time: 3 hrs. Max. Marks: 100
Note: 1. Answer any FIVE full questions, choosing ONE full question from each module.
2. Assume missing data suitably.
U
Module-1
7..
p
1 a. Explain Execution Unit (EU) and Bus Interface Unit (B1U) of 8086 with a neat diagram.
ti
-c)
(08 Marks)
v
ti b. With an example distinguish between physical address, logical address and offset address. If
CS = 2000h, DS = 3000h, SS = 4000h, ES = 5000h, BX = 0030h, BP = 0020h, find the
to
_
. ?, physical address for i) MOV AL, [BP] ii) MOV CX, [BX] iii) Add AX, 20[BX].
Y ,, (06 Marks)
--z
k c5
c
. explain the following addressing modes of 8086:
`''
to ii
c to
i) Register Indirect
: E --,
1 i ) Based Index
L
P
to
,_ I.)
i i 1.) Relative Based Index
.. v
iv) Direct Memory. (06 Marks) '
4
-
7
-

.
.1:
0.., ,
OR
- -
? 0
-; ?E
.
L. : 2 a. Explain all bits of flag register of 8086 li
p
with a neat diagram. Show the setting and
J.

2 0
-

c.) o
resetting of flag bits with a suitable example. (06 Marks)
.
1- b. What are Assembler directives? Explain the following assembler directives with an

?
-0
tl) a
example: i) PUBLIC ii) ORG iii) ASSUME iv) PTR. (08 Marks)
. cz cz
-a .6
c. Develop an 8086 Assembly Language Program (ALP) to sort a given set of 'n' 16-bit
, --t.
-'e 74
numbers in descending order. Using Bubble sort algorithm to sort given elements. (06 Marks)
c t ?,.
>, k;
c 0
O ..?
Module-2
? tv
:.--,
G
,
c. .. o.
3 a. Explain the following instructions with an example: i) DAA ii) AAM iii) SHR
9"
iv) TEST v) LEA vi) PUSH vii) LDS viii) CBW. (08 Marks)
u d
.

:i. .
0

:
1
3 ii
b. What is an interrupt? Explain various types with an interrupt vector table. (06 Marks)
3
0

cn , ""
c. Assume that there is a class of five people with following grades: 69, 87, 96, 45, 75.
c
ct E.
,- 0 Develop an ALP to find the highest grade. (06 Marks)
'6 ?P-
>,
o

.-
to
2)
OR
15 _
z 0
4 a. Develop an ALP that adds the following two multiword numbers and saves the result:
P >
5 a
)
Data 1 = 548FB9963CE7H
cs
Data 2 = 3FCD4FA23B8DH. (08 Marks)
b. Develop an ALP to perform the following:
? ?
i) Clear the screen.
ii) Set the cursor at row 8 and column 5 of the screen.
iii) Prompt "There is a message for you from VTU, to read it enter Y. If the user enter
O or then the message "Hello! All the best for you exams" will appear on the screen.
If the user enters any other key, then the prompt. "No more messages for you" should
appear on the next line.
(08 Marks)
c.
Develop an ALP to count the number of ones and zeros in a given 8 bit data using rotate
instructions.
(04 Marks)
1 of 2
17CS4
5 a. Explain handling of overflow problem that arises in addition of signed numbers with a
suitable example. (06 Marks)
Module-3
b. Develop an ALP using string instructions to accept a string from keyboard and check for
palindrome and display appropriate messages on the screen. (06 Marks)
c. Design a memory system for 8086 with one 64KB RAM and one 64KB Rom at address
30000H to F0000H show the complete design along with memory mapping and draw the
final diagram with address decoder. (08 Marks)
OR
6 a. Briefly explain the control word format of 8255 in I/O mode and BSR mode. Find the
control word if PA = out, PB = in, PC0 ? PC3 = in and PC4 ? PC7 = out. Use post addresses
of 300H-303H for the 8255 chip. Then get data from port B and send it to port A. (08 Marks)
b. Assume that we have 4 byte of hexadecimal data: 25H, 62H, 3FH and 52H
i) Find the checksum byte
ii) Perform the checksum operation to ensure data integrity.
iii) If the second byte 62H had been changed to 22H. Show how checksum detects the
error. (08 Mark
,
?
c.
Explain XLAT instruction with example. (04 Marks)
Module-4
7 a. Differentiate between RISC and CISC processors. (06 Marks)
b. Explain ARM core data flow model with a neat diagram. (06 Marks)
c. With diagram explain the various blocks in a 3 stage pipeline of ARM processor
organization. (08 Marks)
OR
8 a. Explain the various fields in the current program status register. (08 Marks)
b. Explain the architecture of a typical embedded device based in ARM core with a neat
diagram. (08 Marks)
c. Describe the various modes of operation of ARM processor. (04 Marks)
Module-5
9 a. Write/develop an ALP to copy a block of data (Block 1) to another block (block 2) using
-
_
ARM instructions. (08 Marks)
b. Explain the following instructions of ARM processor with suitable examples:
i) MLA ii) QADD iii) SMULL iv) LSL. (08 Marks)
c. If r5 = 5, r
7
= 8 using the following instructions, write values of rs, r
7
after execution of
MOV r
7
, r
5
, LSL #2. (04 Marks)
OR
10 a. Write short notes on:
i) Memory access
ii) Branch instruction of ARM controller. (08 Marks)
b. Explain various types of SWAP instructions with syntax and example. (06 Marks)
c. Develop an ALP to find factorial of given number using LOOKUP table and ARM
instruction set.
FirstRanker.com - FirstRanker's Choice

This post was last modified on 02 March 2020