1828202 Members
1915 Online
109975 Solutions
New Discussion

asm on HPUX

 
Dima_Ru
Occasional Contributor

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.

1 REPLY 1
Dennis Handly
Acclaimed Contributor

Re: asm on HP-UX

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=4308e2f5bde02110e2f5bde02110275d6e10RCRD