Setting code size boundaries


Closed Thread
Results 1 to 11 of 11

Hybrid View

  1. #1
    Join Date
    Sep 2005
    Location
    Campbell, CA
    Posts
    1,107


    Did you find this post helpful? Yes | No

    Default

    Of course!
    Charles Linquist

  2. #2
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Oh Great.

    Another Mind bender.

    It seems to work on every chip except 18F8xxx

    Hmm, now what's up with that.
    <br>
    DT

  3. #3
    Join Date
    Sep 2005
    Location
    Campbell, CA
    Posts
    1,107


    Did you find this post helpful? Yes | No

    Default

    Thanks for trying!
    Charles Linquist

  4. #4
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    You give up too easy Charles.

    Found it. Actually a documented MPASM error.

    Here's the fix. Just have to use a larger number for MAXROM.
    Code:
    @  __MAXROM  0x1FFFFF
    @  __BADROM  0x1FD00 - 0x1FFFFF
    DT

  5. #5
    Join Date
    Sep 2005
    Location
    Campbell, CA
    Posts
    1,107


    Did you find this post helpful? Yes | No

    Default

    I don't usually give up so easily - I just have a TON of code to write!

    Thanks!
    Charles Linquist

Similar Threads

  1. 16f887 44 pin demo board code problem?
    By jessey in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 7th December 2008, 14:17
  2. Making Program Code Space your playground...
    By Melanie in forum Code Examples
    Replies: 15
    Last Post: - 19th July 2008, 08:26
  3. code size
    By jmbanales21485 in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 27th October 2007, 23:06
  4. Basic to Hex file Code size ratio
    By barkerben in forum General
    Replies: 0
    Last Post: - 5th January 2006, 15:37
  5. code size using On Interrupt PBP instruction
    By eduardojx in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 21st December 2005, 09:57

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