This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Interrupt vector redirection problems

Hello! I use XC167CI and wrote bootloader described in C166: SHARE INTERRUPT VECTOR WITH BOOT LOADER http://www.keil.com/support/docs/2881.htm
Differences with my code are:

VEC_SEG  EQU 192
VEC_OFF  EQU 4000H

my irq_redir.a66 consist of

?PR?irq8 section code
irq8 proc near
  JB   boot,irq8_boot
  JMPS VEC_SEG,VEC_OFF+20H
irq8_boot:
  JMP  irq
irq8 endp
?PR?irq8 ends

When compiling linker gives error:

*** ERROR L121: IMPROPER FIXUP
    MODULE:  .\Object\irq_redir.obj (IRQ_REDIR)
    SECTION: ?PR?IRQ8
    CLASS:
    OFFSET:  000AH


May be I missed something?

0