How do you find Variable table start?

For questions and comments on programming in general. And for any items that don't fit into the forums below.

Moderators: Benj, Mods

Post Reply
meliasuk
Posts: 4
Joined: Tue Jul 04, 2006 7:55 pm
Contact:

How do you find Variable table start?

Post by meliasuk »

Where can I find the value I need to input to the "Variable Table Start", i.e. how do you know for 16F84A it's 0x0c, etc. I have been downloading spec sheets for PIC MCU but I am having trouble finding that value. Thanks.

User avatar
Steve
Matrix Staff
Posts: 3422
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times
Contact:

Post by Steve »

The info is usually in the PICmicro datasheet under "Data Memory Organization". Look for a map of the registers. The value you want is the start of the "general purpose register" section in Bank 0.

For most PICmicros, setting this value to 0x20 should be fine.

Post Reply