Steves
- 22nd July 2015, 06:35
Hi all,
I am starting a new project using pic18F47J53 and thought I would try long vars rather than using div32. Compiler version is PBPX 3.0.8.4, on Win7 64 bit laptop, I have selected "use compiler long words" in options and my test code compiles successfully and the result shows long variable types have been used.
However my variable sent to debug only increments to 64k (65536) and then rolls over. Even initializing a long var with a number above 64k and sending to debug will not work.
I have tried various pic settings including setting the extended instruction set of pic on/off etc. all no good.
Any suggestions would be appreciated.:confused:
Cheers.
I am starting a new project using pic18F47J53 and thought I would try long vars rather than using div32. Compiler version is PBPX 3.0.8.4, on Win7 64 bit laptop, I have selected "use compiler long words" in options and my test code compiles successfully and the result shows long variable types have been used.
However my variable sent to debug only increments to 64k (65536) and then rolls over. Even initializing a long var with a number above 64k and sending to debug will not work.
I have tried various pic settings including setting the extended instruction set of pic on/off etc. all no good.
Any suggestions would be appreciated.:confused:
Cheers.