Operating System - HP-UX
1827293 Members
3583 Online
109717 Solutions
New Discussion

Re: PA-RISC 2.0 Assembly Help

 
Chris_164
Contributor

PA-RISC 2.0 Assembly Help

I am looking for an example of, "Hello World", in assembly for PA-RISC 2.0 architecture. Specifically, I'm looking for a mechanism to write to the screen (i.e. STDOUT). Does anyone know of any useful URL's?
2 REPLIES 2
James Murtagh
Honored Contributor

Re: PA-RISC 2.0 Assembly Help

Hi Chris,

The assembler reference manual may help :

http://www.docs.hp.com/hpux/onlinedocs/92432-90012/92432-90012.html

Regards,

James.
Mike Stroyan
Honored Contributor

Re: PA-RISC 2.0 Assembly Help

You can learn a lot by following in the footsteps of the C compiler.

cc -S hello_world.c
cat hello_world.s