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

Assignment 2 QP

This document is an assignment for CSE321 Microprocessors at IIIT Kottayam, focusing on monitoring furnace temperatures using a microcomputer. It includes tasks such as writing assembly language programs for the 8085 microprocessor to compare temperature readings and calculating delays in loops. The assignment consists of two main problems related to temperature comparison and delay calculations.

Uploaded by

Deepak Goyal
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)
7 views2 pages

Assignment 2 QP

This document is an assignment for CSE321 Microprocessors at IIIT Kottayam, focusing on monitoring furnace temperatures using a microcomputer. It includes tasks such as writing assembly language programs for the 8085 microprocessor to compare temperature readings and calculating delays in loops. The assignment consists of two main problems related to temperature comparison and delay calculations.

Uploaded by

Deepak Goyal
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

Class no: ……………… CSE321

Name: ...……………….

INDIAN INSTITUTE OF INFORMATION TECHNOLOGY (IIIT)


KOTTAYAM
Semester-6, Batch-I
ASSIGNMENT-2, FEBRUARY, 2025
CSE321 MICROPROCESSORS
Total marks: 20

1 The temperature of two furnaces are being monitored by a microcomputer. A set of five (10)
readings of the first furnace, recorded by five thermal sensors, is stored at the memory
location starting at XX50H. A corresponding set of five readings from the second firnace
is stored at the memory location starting at XX60H. Each reading from the first set is
expected to be higher than the corresponding reading from the second set.
For example, the temperature reading at the location 54H is expected to be higher than
the temperature reading at the location 64H.
Write a ALP for 8085 to check whether the reading from the first set is higher set is higher
than the corresponding reading from the second set. If all reading from the first set are
higher than the corresponding readings from the second set, turn on the 𝐷0 bit of the
output PORT1. If any one of the readings from the first set is lower than the corresponding
reading of the second set, stop the process and output FFH as an emergency signal to the
output PORT1.

DATA(H):
FIRST SET: 82,89,78,8A,8F
SECOND SET:71,78,79,82,7F

2 Calculate the delay in the following loop, assuming the system clock period is 0.33𝜇𝑠. (5)

3 Calculate the 16-BIT count to be loaded in the register DE to obtain the loop delay of two (5)
seconds in LOOP2(use the clock period of one microsecond and ignore the execution of
the first instruction MVI B).

You might also like