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

Div-idiv-arithmetic instruction-microprocessor, DIV: Unsigned Division:- T...

DIV: Unsigned Division:- This instruction performs unsigned division operation. It divides an unsigned word or double word by a 16-bit or 8-bit operand. The dividend might be in t

8088 timing system diagram-Microprocessor, 8088  Timing System Diagram ...

8088  Timing System Diagram The 8088 address/data  bus is divided  in 3 parts (a) the lower 8 address/data  bits, (b) the middle 8 address bits, and (c) the upper 4 status/

8279 keyword /display controller-microprocessor, 8279 Keyword /Display Cont...

8279 Keyword /Display Controller : Figure shows the structure of 8279 and its interface to the bus. Addressing is according to the table given below. CS        RD

Format of control register-microprocessor, Format of Control Register T...

Format of Control Register The format for the control register is given in Figure. Bit 0 of this register might be one before data may be output  and  bit  two  might be  one

Opcode-microprocessor, Opcode : The opcode generally appear in the firs...

Opcode : The opcode generally appear in the first byte.but in a few instructions, a register objective is in the first byte and few other instructions may have their 3-bits of

Assembly language programming, Write an assembly language program that defi...

Write an assembly language program that defines symbolic constants for all seven days of the week

Relocate program and data, ) What is the difference between re-locatable pr...

) What is the difference between re-locatable program and re-locatable data?

Eeprom programming, how to store a bulk data in a external eeprom

how to store a bulk data in a external eeprom

Seg-segment-assemblers directive-microprocessor, SEG : Segment of a Label:...

SEG : Segment of a Label:- The SEG operator is which is used to decide the segment address of the, variable, label or procedure and substitutes the segment base address in plac

Icwi-microprocessor, The definitions of the bits in ICWI are following: ...

The definitions of the bits in ICWI are following: Always set to the value 1. It directs the received byte to ICWI as oppose to OCW2 or OCW3. Which also utilize the even addr

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