[ Previous | Next | Contents | Home | Search ]
AIX Version 4.3 Assembler Language Reference

Running a Program

A program is ready to run when it has been assembled and linked without producing any error messages. To run a program, first ensure that you have operating system permission to execute the file. Then type the program's name at the AIX operating system prompt:

$ progname

By default, any program output goes to standard output. To direct output somewhere other than standard output, use the AIX operating system shell > (more than symbol) operator.

Run-time errors can be diagnosed by invoking the symbolic debugger with the dbx command. This symbolic debugger works with any code that adheres to XCOFF format conventions. The dbx command can be used to debug all compiler- and assembler-generated code.

Related Information

Assembling and Linking a Program.

Understanding Assembler Passes.

Interpreting an Assembler Listing.

Interpreting a Symbol Cross-Reference.

Subroutine Linkage Convention.

Understanding and Programming the TOC.

The dbx command.

[ Previous | Next | Contents | Home | Search ]