0% found this document useful (0 votes)
77 views

Dayananda Sagar College of Engineering Be Semester End Examinations - April 2017 Model Question Paper

(1) The document is a model question paper for the 6th semester Medical Electronics course Java Programming for Engineers. It contains 5 units of questions related to 8051 microcontroller programming. (2) Students must answer 1 full question from each unit, with each question worth 20 marks. The questions cover topics like 8051 architecture, registers, addressing modes, instructions, timers, serial communication and interrupts. (3) Sample questions include explaining the 8051 pin diagram and port configurations, demonstrating different addressing modes to load values to registers, describing timer modes and serial communication interfaces, and writing programs to interface devices like LCD and stepper motors to the 8051.

Uploaded by

bangalore2009
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
77 views

Dayananda Sagar College of Engineering Be Semester End Examinations - April 2017 Model Question Paper

(1) The document is a model question paper for the 6th semester Medical Electronics course Java Programming for Engineers. It contains 5 units of questions related to 8051 microcontroller programming. (2) Students must answer 1 full question from each unit, with each question worth 20 marks. The questions cover topics like 8051 architecture, registers, addressing modes, instructions, timers, serial communication and interrupts. (3) Sample questions include explaining the 8051 pin diagram and port configurations, demonstrating different addressing modes to load values to registers, describing timer modes and serial communication interfaces, and writing programs to interface devices like LCD and stepper motors to the 8051.

Uploaded by

bangalore2009
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

USN

DAYANANDA SAGAR COLLEGE OF ENGINEERING


(An Autonomous Institute Affiliated to VTU, Belagavi)
Shavige Malleshwara Hills, Kumaraswamy Layout, Bengaluru-560078

BE SEMESTER END EXAMINATIONS – APRIL 2017


MODEL QUESTION PAPER
Program: Medical Electronics
Course: Java programming for Engineers Semester : VI
Course Code: ML653 Date:
Max. marks: 100 Duration: 3 Hrs

Instructions to the Candidates: Answer one full question from each unit. Each question carries 20
marks.

Q. No. UNIT – I Marks


1. a) Explain the block diagram of 8051. (10)
b) Elaborate pin circuit configuration of port 2 and port 3. (10)
OR
2 a) Bring out the differences between microprocessor and microcontroller. (10)
b) Describe the pin diagram of 8051. (10)

UNIT – II
3. a) Load a value 22H into R0, R1 and R2 of register bank 0 using : (06)
(i) Immediate no. and register addressing
(ii) Register addressing with A
(iii) Direct addressing
b) copy the content of TMOD to R4 using: (04)
(i) Direct addressing mode
(ii) Indirect addressing mode
c) What is stack and stack pointer? Explain the data transfer using stack. (10)
OR
4. a) Enumerate immediate addressing mode and register addressing mode. (10)
b) Describe the following with an example: (05)
(i) Bit inherent addressing
(ii) Bit direct addressing
(iii) Inherent addressing
c) Elaborate register indirect addressing mode with example. (05)

UNIT – III
5. a) Which are the different types of data transfer instructions? Explain with an (10)
example.
b) What does these bit level operation code segments do? (5)
(i) SETB 00H (ii) CPL 23H
c) Show steps involved in following: (5)
CLR C
MOV A,#3FH
MOV R3,#23H
SUBB A,R3
OR
6. a) Explain the following instructions: (i) SETB (ii) RRC A (iii) ADDC (iv) DA A (v) JNZ (10)
b) Write a program to bring in data in serial form and send it out in parallel form. (06)
Take in data through port pin P0.0 and transmit it through P1.
c) Subtract the contents of R1 of bank 0 from contents of R0 of bank 2. (04)

UNIT – IV
7. a) Which are the different timer modes used in 8051? (10)
b) Explain SCON register and PCON register. (10)
OR
8. a) Generate a square wave with an ON time of 3 ms and an OFF time of 10 ms on (10)
all pins of port 0. Assume an XTAL of 22 MHz and use timer 0 in mode 1.
b) Describe the connection between 8051 and RS232 (10)

UNIT – V
9. a) Explain the priority implementation for 8051 interrupts. (10)
b) Write a 8051 assembly language program to display HELLO on the LCD (10)
connected to 8051.
OR
10. a) Describe the level triggered interrupt mode. (10)
b) How is the stepper motor interfaced to 8051? (10)

Signature of Model Paper Setter with date

You might also like