Shop OBEX P1 Docs P2 Docs Learn Events
Error 44 Address XYZ not with in tho lower half of memory page — Parallax Forums

Error 44 Address XYZ not with in tho lower half of memory page

ctyxctyx Posts: 1
edited 2006-10-16 16:21 in General Discussion
Hello!

1.
Yes,·I have checked all threads on this topic but still can't find the error in the source code.

2.
I am using the latest version of the SXB compiler·"1.50.01 -- 05 JUL 2006"

3. I declared all subs as recomended by parallax
example:

FirstSub SUB
SecoundSub·SUB
...
LastSub SUB

Is there any rule about the order of the Sub declarations, maybe the longest at the top and then descending
Is the any oportonity to force·the SX/B compiler to arrange the code in a propper way? Somebody mentioned the ORG-Statement, but this seems·to be valid for assambler only.





·

Comments

  • BeanBean Posts: 8,129
    edited 2006-10-16 16:21
    Can you post your program ?

    The latest compiler is 1.51.03.

    SUBs need to be declared before any other code (except interrupt code).
    If your interrupt code is lengthy, then do this:
    '
    INTERRUPT
    GOTO HandleInt

    abc SUB
    xyz SUB

    HandleInt:
    ' Put interrupt code here
    RETURNINT
    '

    Bean.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Cheap used 4-digit LED display with driver IC·www.hc4led.com

    Low power SD Data Logger www.sddatalogger.com
    SX-Video Display Modules www.sxvm.com

    Don't mistake experience for intelligence. And vis-vera.
    ·
Sign In or Register to comment.