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

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

Cbw-cwd-arithmetic instruction-microprocessor, CBW: Convert Signed Byte to...

CBW: Convert Signed Byte to Word: This instruction converts a signed byte to a signed word. In other terms, it copies the sign bit of a byte to be converted to all of the bits in

Rol-logical instruction-microprocessor, ROL : Rotate Left without Carry: T...

ROL : Rotate Left without Carry: This instruction rotates the content of the destination operand to the left by the specified count bit-wise excluding the carry. The most signific

Interrupt system based on multiple 8259as-microprocessor, Interrupt System ...

Interrupt System Based on Multiple 8259As A multiple 8259A interrupt system is diagrammed in given figure in this figure data bus drivers are not indicated, but they could be i

Program for initialize two row lcd, init_lcd                        ;(this ...

init_lcd                        ;(this initialises a 2 row lcd)     bcf     TRISA,0             ;PORTA bit 0 as an output (lcd RS pin)     bcf     TRISA,1             ;PORTA bit 1

Stand alone system - assembly language program, Develop an assembly languag...

Develop an assembly language program for the system and simulate it using MPLAB. From this produce a demo program (in Assembly language) that will run on the MatrixMultimedia Devel

Software interrupts-microprocessor, Software Interrupts Software interr...

Software Interrupts Software interrupts are the result of an INT instruction in an executed program.  It may be assumed as a programmer triggered event that immediately stops e

Group-assemblers directive-microprocessor, GROUP : Group the Related Segme...

GROUP : Group the Related Segments:- The directive which is used to form logical groups of segments with same purpose or type. This isused to inform the assembler to form a log

Assembly language, how to find out the given number is positive or negative...

how to find out the given number is positive or negative?

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

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