Programs that rename the same section type multiple times in a single file will need to be split into multiple files to maintain the same sections with the Microtec Compiler. The options used are different for each compiler. The HP compiler uses the -m option with parameters to specify the addressing mode of each or all sections. While the HP compiler can change the addressing mode for a single section, the Microtec Compiler changes it for all RAM or ROM sections. Additionally, the Microtec Compiler allows for some sections to be addressed as RAM or as ROM sections through the use of the -axx option.
All data alignment appears identical.
The Microtec C Compiler has no alignment options of this type. Structures All structure alignments are identical for 16-bit processors such as 68000 and CPU32. There are minor differences for 32-bit processors. The HP compiler allocates 8. The offset address of each structure member is identical in both compilers.