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
  • ... would cut the above questions to one or even zero.

    Are these conversions are correct?

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

    _data (Tasking compiler) --> data (Keil compiler)
    yes, but the position may be different (char data vs data char)

    REENTRANT void function() (Tasking Compiler) --> void function() REENTRANT; (Keil Compiler)
    reentrant should be avoided for the '51 series of chips

    Moreover do you know which controller I've to add to the keil project if the "Intel MCS 51 family" is required?
    there is no such thing as the "Intel MCS 51 family" any more, the derivatives have derived far away. Keil has specific include files for most derivatives

    Erik

Reply
  • ... would cut the above questions to one or even zero.

    Are these conversions are correct?

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

    _data (Tasking compiler) --> data (Keil compiler)
    yes, but the position may be different (char data vs data char)

    REENTRANT void function() (Tasking Compiler) --> void function() REENTRANT; (Keil Compiler)
    reentrant should be avoided for the '51 series of chips

    Moreover do you know which controller I've to add to the keil project if the "Intel MCS 51 family" is required?
    there is no such thing as the "Intel MCS 51 family" any more, the derivatives have derived far away. Keil has specific include files for most derivatives

    Erik

Children
More questions in this forum