Step-By-Step SPL to HP C/XL Conversion [ SPL to HP C/XL Migration Guide ] MPE/iX 5.0 Documentation
SPL to HP C/XL Migration Guide
Chapter 11 Step-By-Step SPL to HP C/XL Conversion
This chapter describes a suggested method for converting SPL programs
into HP C/XL. It is by no means the only method, but it is one that works
well in a number of common circumstances. The person assigned to the
conversion should have a good working knowledge of SPL and the tools
(that is, editors) that are used to maintain SPL programs. That person
should also be acquainted with the C programming language. The SPL
program being converted should be currently correct, and there should be
a method of testing it for continued correct behavior.
It is preferable to convert an SPL program in a series of steps, actually
retaining the program in SPL source for as long as possible. The primary
steps are:
1. Remove as many of the hardware-dependent SPL constructs as
possible from the SPL version, recompile, and test.
2. Rewrite certain SPL constructs to be more like HP C/XL, recompile,
and test.
3. Convert the source code to HP C/XL (rewriting as little as
possible), then compile, debug, and test.
4. Examine the HP C/XL source for improvements that can take
advantage of constructs and capabilities not available in SPL.
MPE/iX 5.0 Documentation