Hello,

I use SDCC compiler with a DS89C420.

I would like replace the header , produced by SDCC compiler:

    __interrupt_vect:
     ljmp __sdcc_gsinit_startup
     reti
     .ds 7
     reti
     .ds 7
     reti
     .ds 7
     reti
     .ds 7
     reti
     .ds 7
     reti
     .ds 7

     ... etc...
 

    ; code
    ;--------------------------------------------------------
     .area CSEG    (CODE)
    __sdcc_program_startup:
     lcall _main
    ; return from main ; will return to caller
     ret

By my own header, in order to initialize DS89C420, and all the peripherals on the board.

So the interrupt table will not be modified !

How do I proceed to do this please ?
 

Thnaks,

Greetings,

Toufiké  HENNI-CHEBRA