Develop an assembly language program, Assembly Language

Assignment Help:

• 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 diagram of the proposed system.
• To make use of the MPLAB environment with its simulator and appropriate stimulation file(s) to implement the software of the system.
• To investigate the modifications required in order to develop the system around an alternative microcontroller.

Introduction

The idea is to develop a program to control the electric lights in a home. According to a recent crime survey the highest percentage of homes burgled (77%) were those that were not occupied at the time. The idea behind this assignment is to develop a system that records the lighting pattern of an occupied home so that, when the home is unoccupied, the system will turn lights on and off to give the impression that the home is occupied.

The development should start by looking at the control of a single house-light. However, you should bear in mind how your program will deal with more than one light.

The system is to have two modes of operation:

• Record mode

• Playback mode

When the system is placed into record mode, it should monitor the status of the light, what time it came on, what time it was turned off, and record this data in memory.

When placed into playback, the system should turn the light on and off according to the recorded on/off pattern at the correct time.

The system will, of course, need to keep some sort of record of 'time of day'. In a practical system the light could be controlled by a triac. The system itself would be powered from the mains, via suitable circuitry.


Related Discussions:- Develop an assembly language program

Ret-unconditional branch instruction-microprocessor, RET : Return from the...

RET : Return from the Procedure:- At each CALL instruction, the register IP and register CS of the next instruction is pushed to stack, before the control is transferred to the

Hex , what is the hex value in ax after executing the instructions ax= 1E8...

what is the hex value in ax after executing the instructions ax= 1E8A bx=4080 add al,bl sub ah,bh

Program on fibonacci series , Write a program to calculate the first 20 num...

Write a program to calculate the first 20 numbers of Fibonacci series. Use the stack (memory) to store the calculated series. Your debugger output should look like the following sc

Dec-arithmetic instruction-microprocessor, DEC:  Decrement :- The decremen...

DEC:  Decrement :- The decrement instruction subtracts 1 from the contents of the particular memory location or register. All the conditions code flags except carry flag are affec

Display triangular shape using stars, write an assembly program to display ...

write an assembly program to display triangular star like shape

Conditional branch instruction-microprocessor, Conditional branch Instructi...

Conditional branch Instruction When these type of instructions are executed, they transfer control of execution to the address mention relatively in the instruction, provided t

Find out the content of program, a- Trace the following program fragment an...

a- Trace the following program fragment and find out the content of ax after the          the execution of the program.         X db   5,7  -3,-9,4,-7,9               Mov

The pentium pro-micro processor, The Pentium Pro    Introduced in the ...

The Pentium Pro    Introduced in the year 1995, the Pentium Pro reflected  still  more  design  breakthroughs.  The Pentium Pro may process 3 instructions in a single clock cy

Not-logical instruction-microprocessor, NOT : Logical Invert: The NOT inst...

NOT : Logical Invert: The NOT instruction complements (inverts) the contents of an a memory location or operand register bit by bit. The instance are as following: Example :

Program to add contents in memory-machine level programs, Example : Add th...

Example : Add the contents of the 2000H: 0500H memory location to contents of 3000H: 0600H and store the result in 5000H: 0700H. Solution : Unlike the past example progra

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