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

Tasking Keil compiler conversions

Hi,

I've some questions about the Cx51 keil development:

I've one c-file which must be converted from Tasking compiler to the keil compiler

_sfrbyte x _at(y) (Tasking Compiler) -> Sfr(x, y) (Keil compiler)?????

Are these conversions are correct?

_xdat (Tasking compiler) --> xdata (Keil compiler)

_data (Tasking compiler) --> data (Keil compiler)

REENTRANT void function() (Tasking Compiler) --> void function() REENTRANT; (Keil Compiler)

Moreover do you know which controller I've to add to the keil project if the "Intel MCS 51 family" is required?

best regards
Jens

Parents
  • We only have the ARM version of the MDK. Do you know a free 8051 compiler where I can run the code for the TUSB6250?
    I do not know, maybe SDCC
    the keil eval is a)not for commercial purposes, b) linkes at 4k-up and c)limited to 2k

    do not change, get rid of.
    Do you think that this code isn't needed or better said must be updated so that it works?

    I, obviously, have no idea if it is 'needed, but it should be eliminated not "so that it works" but "so that the compiler has a chance to generate good code"

    Erik

Reply
  • We only have the ARM version of the MDK. Do you know a free 8051 compiler where I can run the code for the TUSB6250?
    I do not know, maybe SDCC
    the keil eval is a)not for commercial purposes, b) linkes at 4k-up and c)limited to 2k

    do not change, get rid of.
    Do you think that this code isn't needed or better said must be updated so that it works?

    I, obviously, have no idea if it is 'needed, but it should be eliminated not "so that it works" but "so that the compiler has a chance to generate good code"

    Erik

Children
No data