Skip to: Abstract | Comments | Solution | Migration | Download
APAR NUMBER: PJ29692 PRODUCT: TPF4 FUNCTIONAL AREA: ISO-C SUPPORT SHIPPED IN PUT: 19 ABSTRACT: This APAR provides two assembler macros to set up the compiler interface between an assembler program and a C/C++ function being called by the assembler program. APAR CONTENTS: FEATURE TYPE STATUS NAME Base Macro New macro/callc.mac Base Macro New macro/cproc.mac Base Object Changed obj/oco/cdechx40.o Base Object Changed obj/oco/chexdc40.o PREREQUISITE APARS: To be applied in order listed. None. COMMENTS: When an assembler program calls a C/C++ function, it needs to set up register R1 to point to a parameter list containing the arguments to be passed to the C/C++ function. If TPF can provide one or more macros to set up the parameter list, the application program does not have to set up R1 to point to the parameter list. SOLUTION: TPF is providing the CPROC and CALLC macros to enable an assembler program to pass parameters to a C/C++ function without having to set up the appropriate compiler interface with the C/C++ function. The CPROC macro defines the C language data type of the parameters, and the CALLC macro generates the code needed to enter the C/C++ function. For more information about these macros, see TPF General Macros. DEPENDENCIES SEGMENTS TO BE ASSEMBLED OR COMPILED: None. SEGMENTS TO BE LINK EDITED: ciso40.exe (Shipped in Tar File) COREQS: None. MIGRATION CONSIDERATIONS: None. UPDATED INFORMATION UNITS: TPF General Macros See your IBM representative if you need additional information. DOWNLOAD INSTRUCTIONS: http://www.ibm.com/software/htp/tpf/pages/maint.htm -- END APAR PJ29692
Download file(s): Login once to access server, leave window open, then click on link(s) below.Source Binary
