Reply-To: "Kevin Aylward"
From: "Kevin Aylward"
Subject: Re: Program help needed
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
Date: Fri, 20 Sep 2002 17:34:02 +0100
NNTP-Posting-Date: Fri, 20 Sep 2002 17:34:09 BST
"Danny" wrote in message
> Hi, I started to write a program for the PIC microcontroller as a
> alarm, the program was written in .asm/assembly language.
> The program uses the timers, macros, and is fragmented in the respect
> it has a different subroutine for each function it has to handle.
> The program now doesn't seem to work, could someone please help me by
> looking over the program, and perhaps debugging it, or telling me what
> mistakes are, anything would be a great help, and the more opinions I
> get the better. For the length of the program, it would be a great
> having to completely scrap the whole lot.
> If any one would like to help me at all, please post back, and I'll
> the source code, and/or the project files that have been build from
> The program is being written for the PIC16f874
> Thanking in advance
What I would suggest is that if you rewrote it in C you could probably
do it in a tenth of the time as doing it in asm.
Controlling hardware dose not usually require writing in asm. asm is
usually only required if you want the utmost in speed and/or require to
use the minimum of memory. Unless you actually and specifically *know*
that you *must* use asm, you probably *dont*. Memory is very, very
cheap, and burglar alarms hardly require dsp performance in speed.
SuperSpice, a very affordable Mixed-Mode
Windows Simulator with Schematic Capture,
Waveform Display, FFT's and Filter Design.