I'm trying to move the code location using: "--code-loc
0x1D00" but this also moves the interrupt vector table
which leads to interrupts not working. I thought I
could force the interrupt vector table back to 0x0000
using the "--ivt-loc 0x0000" command line switch but it
seems that that switch is not supported for mcs51.
Logged In: YES
user_id=589052
you can specify the location of the interrupt vector
table with a linker command:
sdcc -Wl-bHOME=0x2000 -Wl-bCSEG=0x8000 interrupt.c
would let your code start at 0x8000 and the IVT start
at 0x2000.
Note: the option "-Wl-bHOME=0x2000" is not compatible
with the option "--code-loc".
(I'm not sure whether this should be considered a bug)