Menu

#3479 support/scripts/keil2sdcc.pl outdated

open
nobody
None
other
5
2023-01-09
2022-09-07
No

support/scripts/keil2sdcc.pl output is in a format not accepted by current SDCC:

sfr at 0x81 SP;

Should be

__sfr __at(0x81) SP;

Etc.

Related

Discussion: Support for Zilog Z51F3220 ?

Discussion

  • Dj

    Dj - 2022-09-07

    And should it also be:

    __sbit __at(0xHH) XX

    ?

     
  • Dj

    Dj - 2022-09-07

    Updated script and a result.

     
  • Maarten Brock

    Maarten Brock - 2023-01-09

    Personally, I don't like header files for mcs51 derivatives that do not make use of the compiler.h macros. Using compiler.h makes the header files usable with almost any compiler. SDCC should try to lock in any users.

     

Log in to post a comment.

Monday.com Logo