Address 338 is not withing lower half of memory page?
How do I fix this error message?
I attach my file.
It is a modified version of MCP23017 (except that I've expanded the SHIFTIN and SHIFTOUT for learning purpose).
The program does not compile and gives error message about memory.
Can someone please advise how to modify this program so it will compile?
Thanks.
I attach my file.
It is a modified version of MCP23017 (except that I've expanded the SHIFTIN and SHIFTOUT for learning purpose).
The program does not compile and gives error message about memory.
Can someone please advise how to modify this program so it will compile?
Thanks.
SXB

5K
Comments
Then you don't need to use GOSUB.
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"A government big enough to give you everything you want, is big enough to take away everything you·have."·· Thomas Jefferson
"It is our choices, Harry, that show what we truly are, far more than our abilities."·Dumbledore from Harry Potter
www.iElectronicDesigns.com
·
Just out of curiosity: What is the difference between using GOSUB/RETURN vs. SUB / ENDSUB?
That is, why did this subtle change fix the memory issue?