SPL to HP C/XL Migration Guide (30231-90001)
P-3
Preface
The
SPL to HP C/XL Migration Guide
describes how to convert SPL programs
to HP C/XL. It is intended for experienced SPL programmers who are also
acquainted with the C language.
The guide is organized to parallel the
Systems Programming Language
Reference Manual
. Chapter 2 of this guide corresponds to chapter 1 of
the reference manual, and so forth. The topics are presented in the same
order.
Section Description
Chapter 1 Provides a general overview of the migration process.
Chapter 2 Highlights the differences between the SPL and HP C/XL
source formats.
Chapter 3 Describes the differences in data storage formats,
constants, identifiers, arrays, and pointers.
Chapter 4 Describes the differences in global declarations.
Chapter 5 Describes conversions for SPL arithmetic and logical
expressions, and assignment, MOVE, and SCAN
statements.
Chapter 6 Describes conversions for SPL program control
statements.
Chapter 7 Suggests some HP C/XL alternatives for SPL ASSEMBLE
statements.
Chapter 8 Describes the conversions required for SPL procedures,
local declarations, and subroutines.
Chapter 9 Discusses the conversion of SPL input/output
intrinsics to HP C/XL standard functions that perform
analogous operations.
Chapter 10 Describes the differences between the SPL compiler
commands and the HP C/XL compiler directives.
Chapter 11 Discusses a method for converting SPL programs into HP
C/XL.
Appendix A Lists SPL procedures that are used as a first step
toward converting to the HP C/XL macros and functions
listed in Appendix B.
Appendix B Lists HP C/XL functions that emulate special features
of the SPL language.