Assembly language assignment, Assembly Language

Assignment Help:

The main objective of the assignment is to explore the knowledge regarding parallel ports of a computer system. You can read and write datato/from the parallel port using IN and OUT instructions respectively.

962_Assembly Language Assignment.png

Suppose we have designed a device that enables us to control the room temperature using a system's parallel port.

For this circuitry, we have to use:

1. LM35 (Temperature Sensor)

2. ADC8080 (8-bit Analog to Digital convertor)

3. Parallel Port's data and control blocks.

We have interfaced LM35 (Temperature Sensor) with ADC8080 (Analog to Digital Converter) and Parallel Port of a computer system.

1131_Assembly Language Assignment1.png

The LM35 (temperature sensor) reads the room temperature and transmits analog data to ADC 8080 (analog to digital converter), which then converts analog reading (from sensor) to digital data (8-bit binary data). The converted digital data (b-bit binary number) will be read by processor through its parallel port and will control (either increase or decrease)the temperature of an air conditioner depending upon the working condition/criterion.

Objectives:

Students are required to code the device that controls the temperature of a room by signaling an Air Conditioner (AC).

In order to code, you have to consider the following objectives.

1. You have to read room temperature data from parallel port's data block (8-bit binary data).

2. Check either room temperature is between 21 or 23 degree Celsius (15H and 17H).

3. If Yes, No action taken (program exit).

4. If No, Check either temperature is below 21 degrees or above 23 degrees

a. If less than 21 degrees, increase the temperature by sending a pulse to Air Conditioner Control PIN C0.

b. If greater than 23 degrees, decrease the temperature by sending a pulse to Air Conditioner Control PIN C1.


Related Discussions:- Assembly language assignment

Sub-arithmetic instruction-microprocessor, SUB: Subtract :- The subtract in...

SUB: Subtract :- The subtract instruction subtracts the source operand from destination operand and result is left in the destination operand. Source operand might be memory locati

Implemented with an arm assembly language program, The problem to be solved...

The problem to be solved and implemented with an ARM assembly language program You are asked to do some image processing on an image composed of characters shaped in For exa

Assume-assemblers directive-microprocessor, ASSUME: Assume Logical Segment...

ASSUME: Assume Logical Segment Name:- The ASSUME directive which is used to inform the assembler, the specified names of the logical segments to be consider for different segme

Write policy-microprocessor, Write Policy A write policy determines how...

Write Policy A write policy determines how the cache deals with a write cycle. The 2 common write policies areWrite-Throughand Write-Back. In Write-Back policy, the cache behav

Calculator, how to add 111 and 333 in assembly language

how to add 111 and 333 in assembly language

Assignment, Write an assembly program that adds the elements in the odd ind...

Write an assembly program that adds the elements in the odd indices of the following array. Use LOOP. What is the final value in the register?

Program, 2. Write a program to separate out positive and negative numbers f...

2. Write a program to separate out positive and negative numbers from a given series of 16-bit hexadecimal numbers.

Procedures, How to define procedures?

How to define procedures?

Copy a string backwards, I can get it to copy the string but can''t get it ...

I can get it to copy the string but can''t get it to reverse it.

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd