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

Logical instruction-microprocessor, Logical Instruction : This type of...

Logical Instruction : This type of instructions is utilized for carrying out the bit by bit shift, basic logical operations or rotate. All of the condition code flags are affe

Matrices, code to add two matrices

code to add two matrices

Cmp-arithmetic instruction-microprocessor, CMP: Compare: - This instructio...

CMP: Compare: - This instruction compares the source operand, which can be a register or memory location an immediate data with a destination operand that might be a register or a

Cisc characteristics-microprocessor, CISC Characteristics : The design...

CISC Characteristics : The design of an instruction  set for a computer  might take into consideration  not only machine language constraints,  but  also  the  requirements  i

Write an assembly language program, Your assignment for this project is to ...

Your assignment for this project is to write an assembly language program that checks if the user's input is a valid ISBN number. A sample run of your program might look like:

Neg-arithmetic intruction-microprocessor, NEG: Negate:- The negate instruc...

NEG: Negate:- The negate instruction forms the 2's complement of the particular destination in the instruction. For obtaining 2's complement, it subtracts the contents of destinat

Assignment, You have to write a subroutine (assembly language code using NA...

You have to write a subroutine (assembly language code using NASM) for the following equation.

Develop an assembly language program, • To develop an assembly language pro...

• To develop an assembly language program to control a "simulated" intelligent domestic lighting system with the intention of deterring burglary. • To produce a schematic circuit d

Control transfer or branching instruction-microprocessor, Control Transfer ...

Control Transfer or Branching Instruction Control transfer instructions transfer the flow of execution of the program to a new address specified in the instruction indirectly o

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