If i choose ?B_MODE 4 in the L51_Bank.A51 file the Assembler generate the following error: error A30: SEGMENT SYMBOL EXPECTED. If i insert ?BANK?SELECT SEGMENT CODE the Linker now generates this errors: ERROR L121: IMPROPER FIXUP MODULE: L51_BANK.obj (?BANK?SWITCHING) SEGMENT: ?BANK?SELECT OFSET: 0009H Can anyone help me?
What version of the tools are you using? What changes did you make to L51_BANK.A51? Jon
I use the 2.0 Version of L51_Bank.A51 and the version 7.0 of C51 and A51. I only chenge the user switch macros for Bank mode 4.
Hmmm, I don't get any errors or warnings when I assemble with mode 4. Check your changes to be sure they are not the cause of the problems. Jon
C51 Version 7 comes with L51_BANK.A51 V2.20. There have been some modifications in this file to make linker and L51_BANK.A51 file compatible. You should use therefore the current version of the L51_BANK.A51 file.