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

L121 IMPROPER FIXUP

hello out there,

my problem is on understanding. I receive this error message from the linker.

*** ERROR L121: IMPROPER FIXUP
    MODULE:  .\obj\charleader.obj (CHARLEADER)
    SEGMENT: PROG
    OFFSET:  0172H
*** ERROR L121: IMPROPER FIXUP
    MODULE:  .\obj\charleader.obj (CHARLEADER)
    SEGMENT: PROG
    OFFSET:  0174H
manual explains, this may be caused by a call or jump to an unaccessible address.
the correspondig code is like this (from the lst-file)
016D                1525     X06b4:  scroll_it       up,#EinScroll
016D E500     F     1526+1           mov     a,cl_scroll
                    1527+1           if      up
016F 04             1528+1           inc     a
0170 B40400   F     1529+1           cjne    a,#EinScroll,0
0173 4000     F     1530+1           jc      +1
0175 E4             1531+1           clr     a
                    1532+1           else
                        +1           jnz     +2
                        +1           mov     a,#EinScroll
                        +1           dec     a
                        +1           endif
0176 F500     F     1537+1           mov     cl_scroll,a
0178 8009           1538             sjmp    X06ca
                    1539     ;
017A                1540     X06c1:  scroll_it       down,#EinScroll
017A E500     F     1541+1           mov     a,cl_scroll

appreciate any hint...