Searching \ for '[PIC] Table organizing' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/memory.htm?key=table
Search entire site for: 'Table organizing'.

Exact match. Not showing close matches.
PICList Thread
'[PIC] Table organizing'
2006\02\07@074412 by Renzo

flavicon
face
I made a program that is essentially a clock and I use a Pic16F84a.
At fixed intervals of time the program call one of tree
possible  messages from a table made with the  "DT" directive.
Al goes well with the fist two messages but when  third message is
called the program is resetted and  count begins again from zero.
If I in the third message I use two character less all run well.
All messages have a maximum of  5 characters and total program memory
used is 253 words.

What could be wrong?

Thanks
Renzo


--
Internal Virus Database is out-of-date.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.13.13/199 - Release Date: 13/12/05


2006\02\07@081420 by Wouter van Ooijen

face picon face
> I made a program that is essentially a clock and I use a Pic16F84a.

aaaaaaaargh

> At fixed intervals of time the program call one of tree
> possible  messages from a table made with the  "DT" directive.
> Al goes well with the fist two messages but when  third message is
> called the program is resetted and  count begins again from zero.
> If I in the third message I use two character less all run well.
> All messages have a maximum of  5 characters and total program memory
> used is 253 words.
>
> What could be wrong?

Are you aware of the role of PCLATH when you write (probably add) to
PCL?

An easy way out for now: forget this chip and go for an 18F. But you
might still want to know what is going on? If so read the datasheet
carefully, the section about PCLATH/PCL.

Wouter van Ooijen

-- -------------------------------------------
Van Ooijen Technische Informatica: http://www.voti.nl
consultancy, development, PICmicro products
docent Hogeschool van Utrecht: http://www.voti.nl/hvu


2006\02\07@212017 by Bill & Pookie

picon face
Maybe you are doing what I just did.  Having the assembler in HEX  and
thinking 11 is eleven.


   movlw    '11'  loads decimal 17

Bill

{Original Message removed}

2006\02\07@212857 by Byron A Jeff

face picon face
On Tue, Feb 07, 2006 at 06:20:12PM -0800, Bill & Pookie wrote:
> Maybe you are doing what I just did.  Having the assembler in HEX  and
> thinking 11 is eleven.
>
>
>     movlw    '11'  loads decimal 17

That's why I always always set the radix to decimal and use 0xNN notation
for hex numbers.

BAJ

More... (looser matching)
- Last day of these posts
- In 2006 , 2007 only
- Today
- New search...