Solved! Go to Solution.
Both snippets were compiled at the same time within the same function, a couple of lines apart. Originally there were to different source addresses, but for comparison, I made them both the same. -CS08 was included in the compiler options.
I did forget to include stdio.h. But adding it appears not to have worked.
After looking over my pragma statements to place my source variables into specific memory locations, I appear to have left the SHORT modifier when I copied over my zeropage definition. After removing SHORT, everything is compiling fine.
Thanks for your help.
Both snippets were compiled at the same time within the same function, a couple of lines apart. Originally there were to different source addresses, but for comparison, I made them both the same. -CS08 was included in the compiler options.
I did forget to include stdio.h. But adding it appears not to have worked.
After looking over my pragma statements to place my source variables into specific memory locations, I appear to have left the SHORT modifier when I copied over my zeropage definition. After removing SHORT, everything is compiling fine.
Thanks for your help.