Re: asm on HP-UX (89 Views)
Occasional Contributor
Posts: 5
Registered: ‎10-09-2006
Message 1 of 2 (89 Views)

asm on HPUX


I am trying to port an application to HPUX. But I need to build with gcc and there are some source code written on asm. So, are cc and gcc asms are different?
And is there any available full documentation about HPUX's asm?


Acclaimed Contributor
Posts: 26,010
Registered: ‎03-06-2006
Message 2 of 2 (89 Views)

Re: asm on HP-UX

[ Edited ]

asm for cc and gcc are completely different.

The only documentation for PA is in <machine/sys/inline.h> or <pa/inline.h> for 11.23 and 11.11. With the addition that all inputs must be register long long variables or constants.

For Integrity:

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.