Suppose I have a 64-bit XPLINK C Module that uses 

#pragma linkage(assembler_routine, OS_NOSTACK)

 to call the 64-bit assembler_routine.

Would the 64-bit assembler subroutine use the EDCXPRLG or some variation of 
standard linkage (obviously we'd need to save off 13 double word registers and 
not 13 single word registers)?  How does the #pragma linkage affect the linkage 
convention between C and assembler?

Suppose that 64-bit assembler copies the parameter list to 31-bit land, 
switches to 31-bit and then calls a non-LE, non-XPLINK 31-bit assembler 
subroutine.  At that point we'd be safe using standard linkage, correct?

Janet

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to