GUJARAT TECHNOLOGICAL UNIVERSITY
BE - SEMESTER-V (NEW) EXAMINATION - WINTER 2018
--- Content provided by FirstRanker.com ---
Subject Code:2152006 Date:20/11/2018Subject Name:Basics of Micro Computer Systems
Time: 10:30 AM TO 01:00 PM Total Marks: 70
Instructions:
1. Attempt all questions.
--- Content provided by FirstRanker.com ---
2. Make suitable assumptions wherever necessary.3. Figures to the right indicate full marks.
MARKS
Q.1 (a) What is Bus? Why is Data bus bidirectional and Address Bus 03
unidirectional?
--- Content provided by FirstRanker.com ---
(b) Give the difference between High Level Language and Low level 04Language with appropriate example.
(c) Draw the timing diagram of the instruction: LXI D, 2555H. Explain 07
all the stages of instruction execution.
Q.2 (a) Explain the difference between Absolute Decoding and Partial 03
--- Content provided by FirstRanker.com ---
Decoding.(b) For the microprocessor 8085, explain De-multiplexing of Address 04
Bus.
(c) Explain the Architecture of 8085 with a neat diagram. 07
OR
--- Content provided by FirstRanker.com ---
(c) Write an 8085 assembly language program to count the number of 07bytes that are greater than 20H and lesser than 40H from an array of
ten bytes stored on memory locations 3000H onwards. Store such
numbers on memory locations 3500H onwards.
Q.3 (a) Write an 8085 ALP to add two 8-bit numbers stored in memory 03
--- Content provided by FirstRanker.com ---
locations 3000H and 3100H respectively. Store the answer in thememory locations of your choice.
(b) Explain the differences between microprocessors and 04
microcontrollers.
(c) Explain architecture of the microcontroller 8051 using suitable 07
--- Content provided by FirstRanker.com ---
block diagram.OR
Q.3 (a) Explain the difference between polling and interrupt. 03
(b) Write an 8085 assembly language program to convert a two-digit 04
BCD number into its equivalent hexadecimal number.
--- Content provided by FirstRanker.com ---
(c) For the microcontroller 8051, explain register banks and switching 07of register banks using PSW register.
Q.4 (a) What is an ISR? Differentiate between a Subroutine and an ISR. 03
(b) List the alternate functions of all the ports of 8051. 04
(c) Using suitable diagram, explain operation of timer 1 in mode 0. 07
--- Content provided by FirstRanker.com ---
ORQ.4 (a) For the microcontroller 8051, give the list of all the interrupts with 03
their vector address.
(b) For microcontroller 8051, how different modes of timer operations 04
can be selected? Explain in detail.
--- Content provided by FirstRanker.com ---
(c) Using suitable diagram, explain port structure of port 3 of the 07microcontroller 8051.
Q.5 (a) For the microcontroller 8051, explain the instruction DIV AB using 03
suitable example.
--- Content provided by FirstRanker.com ---
(b) An 8-bit Hex number is stored in ROM memory location 20F0H. 04Write an ALP for the microcontroller 8051 to get 2's complement
of this number and store the result in internal RAM memory
location 40H.
(c) Write an ALP for the microcontroller 8051 to add ten bytes stored 07
--- Content provided by FirstRanker.com ---
in internal RAM locations 50H onwards. Store the result in registerR7 of register bank 1 and store the carry of the answer in register
R7 of register bank 0.
OR
Q.5 (a) For the microcontroller 8051, explain the instruction MOVX 03
--- Content provided by FirstRanker.com ---
A,@DPTR using suitable example.(b) For the microcontroller 8051, explain the execution of PUSH and 04
POP instructions.
(c) For the microcontroller 8051, write an assembly language program 07
to generate a square wave of 10KHz frequency at P1.7 using Timer
--- Content provided by FirstRanker.com ---
0 in Mode 2 with crystal frequency of 12 MHz. Show thecalculations of time delay generation.
--- Content provided by FirstRanker.com ---
This download link is referred from the post: GTU BE/B.Tech 2018 Winter Question Papers || Gujarat Technological University