#1425 unknown opcode generated by BANKSEL

closed-fixed
nobody
5
2013-05-25
2008-02-06
rick
No

This statement:

pSrc = (near unsigned char *)&dfu_data.dfu_config.dfu_functional_i00a00;

Can generate:

001fe4 0e04 movlw 0x4 MOVLW 0x04
001fe6 0060 dw 0x60 ;unknown opcode BANKSEL LOW(_dfu_data)

I believe "BANKSEL LOW..." is a bad combination.

Here is the sdcc version:

SDCC : mcs51/gbz80/z80/avr/ds390/pic16/pic14/TININative/xa51/ds400/hc08 2.7.4 #5002 (Feb 2 2008) (UNIX)

Rick

Discussion

  • rick

    rick - 2008-02-06
     
  • Raphael Neider

    Raphael Neider - 2008-08-08

    Logged In: YES
    user_id=1115835
    Originator: NO

    Fixed in SDCC 2.8.3, r5208.

    (The attached code still "fails": It passes pSrc as a generic pointer to printf, although it is only a near pointer (2 bytes). But since this goes wrong on the iCode level, I close this item ;-))

     
  • Raphael Neider

    Raphael Neider - 2008-08-08
    • milestone: --> fixed
    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks