You are on page 1of 1

GOVT.

COLLEGE OF ENGINEERING CHANDRAPUR


INSTRUMENTATION ENGINEERING DEPARTMENT
MIA
TIME: 1 HR

MARKS: 20

Solve any four. (5mark each)


Que. 1) Write a program to add the first ten natural numbers.
Que. 2) Write an 8051 C program to send hex values for ASCII characters of
0,1,2,3,4,5,A,B,C,D to port P1.
Que. 3) Explain the following instructions
a) DJNZ
b) DA c) SWAP
d) CJNE
Que. 4) Explain in brief the classification of instruction set of microcontroller with example.
Que. 5) Write a program to add two 16 bit numbers, the numbers are 5422H and 5433H
and store the result in RAM memory locations starting at 40H.
Que. 6) Write a program to multiply two numbers 04H and 18H. The result is to be stored
in any RAM location of Microcontroller.

GOVT. COLLEGE OF ENGINEERING CHANDRAPUR


INSTRUMENTATION ENGINEERING DEPARTMENT
MIA
TIME: 1 HR

MARKS: 20

Solve any four. (5mark each)


Que. 1) Write a program to add the first ten natural numbers.
Que. 2) Write an 8051 C program to send hex values for ASCII characters of
0,1,2,3,4,5,A,B,C,D to port P1.
Que. 3) Explain the following instructions
a) DJNZ
b) DA c) SWAP
d) CJNE
Que. 4) Explain in brief the classification of instruction set of microcontroller with example.
Que. 5) Write a program to add two 16 bit numbers, the numbers are 5422H and 5433H
and store the result in RAM memory locations starting at 40H.
Que. 6) Write a program to multiply two numbers 04H and 18H. The result is to be stored
in any RAM location of Microcontroller.

GOVT. COLLEGE OF ENGINEERING CHANDRAPUR


INSTRUMENTATION ENGINEERING DEPARTMENT
MIA
TIME: 1 HR

MARKS: 20

Solve any four. (5mark each)


Que. 1) Write a program to add the first ten natural numbers.
Que. 2) Write an 8051 C program to send hex values for ASCII characters of
0,1,2,3,4,5,A,B,C,D to port P1.
Que. 3) Explain the following instructions
a) DJNZ
b) DA c) SWAP
d) CJNE
Que. 4) Explain in brief the classification of instruction set of microcontroller with example.
Que. 5) Write a program to add two 16 bit numbers, the numbers are 5422H and 5433H
and store the result in RAM memory locations starting at 40H.
Que. 6) Write a program to multiply two numbers 04H and 18H. The result is to be stored
in any RAM location of Microcontroller.

You might also like