"Words Used" changes from PIC to PIC


Closed Thread
Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Cool

    Hi JDG,

    Thanks for the information.

    I tried your little experiment using the most frequently used variables but it did not change anything for me (both for F877 and F628A, there is no change).
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default Program size

    Well, I suppose it might also have to do with how many variables you are using in the first place. If you use more than what will fit in BANK 0, then you'll never see a difference in code size.
    If your program is really short, try forcing all the variables to BANK 0, then try forcing them all to BANK 3 (or another BANK). You should see a difference.
    Again, if you read the memory organization section of the datasheet and compare that to how different areas of ram and code space are accessed, you'll see what I mean.
    By the way, none of this code space stuff works with the 18F series of PICs. Practically everything can be addressed with one instruction on those.
    JDG

Similar Threads

  1. SMS via pic
    By kenandere in forum GSM
    Replies: 15
    Last Post: - 10th March 2010, 10:00
  2. Replies: 67
    Last Post: - 8th December 2009, 02:27
  3. HSERIN & Interupts (aka controlling PIC programs from a remote PC)
    By HankMcSpank in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 17th June 2009, 14:46
  4. pic to pic ir link versus wired link : help please anyone
    By xnihilo in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 30th May 2008, 21:01
  5. Serial Pic to Pic using HSER
    By Chadhammer in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 11th March 2005, 23:14

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts