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

asm on HPUX

Hello!

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?

Thanks.

Highlighted
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:
http://h21007.www2.hp.com/portal/site/dspp/menuitem.863c3e4cbcdc3f3515b49c108973a801/?ciid=4308e2f5b...

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.