Me again guys, problem still exist....
I'm working on a bootloader, based on this thread
This code require the PBP LONG option enabled as I have to write code above 64K and LONG variables are required.
In my adapted bootloader code, I have to use HEX and DEC modifiers, as in the example of the first post.
Testing normally with ORG 0, everything work fine, but then the code needs to be compiled with
"DEFINE RESET_ORG 1D800h ' Move all library sub and code to start from that location "
so the bootloader will stay in the last area of the memory.
And with this DEFINE, the first line where I use a DEC or HEX modifiers cause a reset of the chip.
Hope I have explained well. I don't know what to do now.
Not using DEC or HEX is really hard, they are very powerful ....
Any idea ?
Bookmarks