Has anyone returned a long long (64 bit) value from non-XPLINK assembler to
IBM XLC? (C++, if it makes any difference.) I am referring to a return value
as in long long MYFUNC(). I know I can pass a 64-bit integer by reference.

It seems to me it ought to work -- register 15 has been 64 bits for what?
ten years now? -- but the P/G explicitly says "R15 Return value for integer
types (long int, short int, char) and pointer types. Otherwise set to 0."

Thanks,

Charles 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to