I am supporting old code for the MC9S08DZ60ACLH. IDE version 11.1 is the last one that supports that processor so that's what I'm using, per NXP support. The old code uses "bit" as a data type, and "@tiny" as an attribute. This IDE doesn't know what they mean. Can someone give me an idea how to work around those two? I filed a support case a week ago about this and nothing happened.
Thanks for any assistance,
Lloyd Slonim
extern bit flg_test_failed;
extern word @tiny bg_tmp; /* used to assure background word accesses to data used in interrupts are atomic (avoid interrupt disable time) */
Hi,
The attribute "@tiny" and the data type bit is normally used on Cosmic compiler.
Strict ANSI-C/C++ code can be ported without any modifications. Non ANSI-C keywords and pragmas are different or have different semantics
I recommend the technical note TN234 for further information regarding how to port Cosmic to CodeWarrior