2.7. Viewing object and executable files

You can view the contents of a binary file (object, library, or image) using one of the ARM decoders, decaof, decaxf, or armlib. For example, to display the contents of hello.o:

  1. Select hello.o from the Project View.

  2. Select Contents hello.o from the View menu. The appropriate Viewing dialog for the translator is displayed (Figure 2.18).

    Figure 2.18. Viewing dialog

    Viewing dialog
  3. Use the default command-line option, -c to display disassembled code areas (other options are listed in the online help).

  4. Click OK. The information is displayed in the specified format in a View window (Figure 2.19).

Figure 2.19. View window

View window
Copyright © 1997, 1998 ARM Limited. All rights reserved.ARM DUI 0040D