0% found this document useful (0 votes)
34 views2 pages

23-24 CAM Second Series QP New Format

Series exam question paper

Uploaded by

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

23-24 CAM Second Series QP New Format

Series exam question paper

Uploaded by

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

Roll No: ………… Name: …………………………

Total Pages:1
No. of question papers required: 61
LBS COLLEGE OF ENGINEERING, KASARAGOD
POVVAL, MULIYAR P O, KASARAGOD
Website: www.lbscek.ac.in
DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING
FOURTH SEMESTER B.TECH DEGREE SECOND INTERNAL EXAMINATION
APRIL 2024
ECT206 COMPUTER ARCHITECTURE AND MICROCONTROLLERS
Missing data, if any may be suitably assumed
Duration: 90 minutes Max. Marks:50
CO3: Develop simple programs using assembly language programming.
CO4: Interface 8051 microcontroller with peripheral devices using ALP/Embedded C
Marks CO Blooms
Category
Part A
(Answer all questions)
1. Write the difference between CY and OY flags in 8051 and where
each one is used 3 3 1
2. Explain the following instruction i) DA ii) CJNE 3 3 2
3. Find the delay in the following program
MOV R5,#5
HERE1 :MOV R4,#10H 3 4 2
HERE2 :DJNZ R4,HERE2
DJNZ R5, HERE1
4. What is MAX 232 IC? Why is it used in interfacing 8051? 3 4 1
Part B
5. Explain in detail about various addressing modes of 8051 12 3 1
microcontroller.
OR
6. Explain the instructions in 8051 for the following functions 12 3 1
i) Division ii) XOR operation iii) Looping iv) Long Call

7. Assume that P1 is an input port connected to a temperature sensor. 12 3 3


Write a program to read the temperature and test it for the value 75.
According to the test results, place the temperature value into the
registers indicated by the following
if T=75, then A= FF
if T<75, then R4= T
if T>75, then R5=T
OR
8. Write an ALP to multiply 25H with 1000H using repeated addition 12 3 3

9. Give the details about the modes and registers involved in serial 8 4 1
communication in 8051.
OR

Page 1 of 2
10. Give the details about interfacing of 7 segment display with 8051 8 4 1

11. Analyse the program 6 4 3


MOV A,PCON
SETB ACC.7
MOV PCON, A
SETB C
ORL C,P2.2
MOV P2.2,C
CLR C
ANL C, P2.5
MOV P2.5,C
OR
12. Analyse the program 6 4 3
#include <reg51.h>
sbit mybit =P1^5
void main(void)
{
mybit = 1
while(1)
{
if(mybit==1)
P0 = 0x55
else
P2=0XAA
}
}

Page 2 of 2

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy