Hi Gilbert,
>For example the Reset vector is at 00h and the timer0 vector is at 0Bh
>and what I need to do is to offset all the the vectors by 8000 decimal.
>The reason for this is that the hardware I am using causes the program to
>jump by the offset on startup and from interrupts and while it is fairly
>easy to do in assembly, I would like to know how this can be achieved
>using sdcc.
You probably mean 8000h hexadecimal...
You can use the --code-loc command-line option to tell the compiler where
to put the code.
Regards,
Joris van der Sande
vdsande@...
|