Hello, thank you for your reply! After reading AN2153 ,I have a few questions puzzled.
1.how to use C language to write the second interrupt vector jump table?
2.My Bootloader only lack the second interrupt vector jump table, how to add the the second interrupt vector jump table use assembly language ? The following is my assembly boot code:
xref main ;
xdef _BootStart ;
AppResetVect: equ $effe ; here is stored reset vector of user application
StackTop: equ $3000 ;
_BootStart: ;
nop ;wait a few cycles for stabilization of the signal
nop
nop
nop
nop
ldd AppResetVect ;
cpd #$ffff ;
beq GoBoot ; if the application reset vector is not available
; then start the bootloader
ldx AppResetVect ;
jmp 0,x ; jump to the application
GoBoot:
lds #StackTop ;
jmp main