You are on page 1of 2

LOYOLA-ICAM COLLEGE OF ENGINEERING AND TECHNOLOGY LICET CS2252 MICROPROCESSORS AND MICROCONTROLLERS POST ASSIGNMENT QUESTIONS EASY - 1.

MEDIUM -

7.5

HARD

10

Fill in the boxes below by referring to the following diagrams and instructions B. LXIH 4203

A. LHLD 4203 A.

B.

2.

Write an 8085 program for a temperature monitoring and control system as shown in the below diagram. Refer to the suggestions attached.

ERROR = SET VALUE FEEDBACK VALUE Suggestions: SET VALUE SHOULD BE GIVEN FROM THE INPUT LOCATION 4200H IF TEMPERATURE OF THE ROOM IS HIGH TURN ON FAN IF TEMPERATURE OF THE ROOM IS LESS TURN ON HEATER TO TURN ON FAN STORE 6EH IN LOCATION 4210H AND CLEAR LOCATION 4211H TO TURN ON HEATER STORE 3CH IN LOCATION 4211H AND CLEAR 4210H

LOYOLA-ICAM COLLEGE OF ENGINEERING AND TECHNOLOGY LICET CS2252 MICROPROCESSORS AND MICROCONTROLLERS

3. Fill the table given below with appropriate 8086 registers

S.No

SEGMENT

BASE ADDRESS

OFFSET

CODE

DATA

STACK 3 4 EXTRA

4.

In the given program fill the address locations, identify the program.
Address 4100 Label Mnemonics MVI C,00 LDA 4200 MOV B,A MOV D,A XRA A ADD B JNC INR C DCR D JNZ # STA 4500 MOV A,C STA 4501 HLT

5.

What is the advantage of using LXIH rather than LHLD?

You might also like