I thought "Highest address" from hex2bin gave the highest address in my program. I found out it is not. At least not when using the IHX-file coming from SDCC.
What comes out from hex2bin is indeed a file of the size 31680 bytes (0x7BC0) - ref. image. There are a bunch of variables at the end of the program (before and after 0x7CB8), these are written to as part of the initializer, and in program use... Sounds like something is wrong / something I did wrong?
The program actually operates "outside" the executable file? Or is this well known behavior?
By the way, the program runs fine :)
ログイン/登録して投稿