Program fails crossing code page


Closed Thread
Results 1 to 11 of 11

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,612


    Did you find this post helpful? Yes | No

    Default Re: Program fails crossing code page

    Hi Art,
    Darrel is likely going to help you figure out the problem here is but I don't think the ISR is actually placed at locatoin 0x04. What's placed at that location is a GOTO to the adress where the ISR is actually located. So, if you're accessing variables from the ISR and doing so with ASM I think you need to take care of the bank/pages thing.

    /Henrik.

  2. #2
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default Re: Program fails crossing code page

    Wow, I'd be suprised if it was over the first page when it almost always needs to be accessed fast.
    Currently, only LCD_Anypin is included before the include for the elapsed timer.

    Easy to test though, there's nothing there that cannot be PBP.
    I suppose I can give up 9 instructions of code space to gain half of the chip of useable code space

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