We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I have some code that was developed using the Archimedes Complier. I'm thinking about purchasing the DK51 complier. Has anyone had any expierence on what difficulties I may face? Thanks
If the Archimedes Compiler is a relatively recent version, let's say V6 or higher, it is a "rebranded" Keil version and you should have few, if any, difficulties. When Archimedes switched to Keil, I'm not sure, but I believe some earlier versions were a rebranded IAR compiler that had slightly different syntax for expressing the '51-isms like SFR's, bits, mem spaces, intrinsic functions, etc. If it's an IAR version you're dealing with, it will be more work, but not a real big deal. I suspect a number of the translation issues could be handled by some preprocessor macros.
"I suspect a number of the translation issues could be handled by some preprocessor macros." It's a good idea to always encapsulate all compiler-specifics in preprocessor macros - then changing compilers is just a matter of suitably redefining the macros.