Shop OBEX P1 Docs P2 Docs Learn Events
Subroutine Not in Lower Half of Page — Parallax Forums

Subroutine Not in Lower Half of Page

Jim CJim C Posts: 76
edited 2006-03-27 14:19 in General Discussion
I need some help from the brain trust.

In trying to get a program working with SXB I'm getting stuck with the following error message:
Line 610, Error 44, Pass 2: Address 279 is not within lower half of memory page

In looking through the Help files, in the explanation of GOSUB it states: "allows subroutine code to be placed anywhere in memory without concern of code page boundaries (now handled automatically)."

For reference, the SX-Key states the version number as v3.10. In the program, I am following instructions on how to define subroutines. Also, for more reference, I am using an interrupt routine at the beginning of the program.

This may not be enough information to get an answer, but let me know what else is needed. My main source of confusion is about whether position in the memory page is important or not. If it is, and an ISR has to be first and the ISR is fairly 'wordy', how can I get an additional subroutine into the lower half??

Thanks,

JimC

Comments

Sign In or Register to comment.