Ski IA-64 Simulator Reference Manual 1.0L

isyms [filename ]

Write internal symbols to the screen or to the file given by filename . See “Symbol Table Commands” on page 8-8.

load filename [args]+

Prepare for IA-64 application-mode simulation: Load the IA-64 ELF executable program file given by filename and prepare to pass the program args using the C language argc/argv parameter mechanism. See “How to Load a Pro- gram” on page 6-3.

pj [address]

Jump the Program Window display to the specified address. If no address is given, the window display changes to the previous location, providing a handy way to swap the display between two different parts of the program. See “Summary of Program Window Commands” on page 5-2.

pa

Display the program in assembly language format only. (IA-64 only) See “Summary of Program Window Com- mands” on page 5-2.

pb [count]

Move the Program Window backward count IA-64 bundles or IA-32 instructions, or one windowful less one bundle or instruction if no count is given. See “Summary of Program Window Commands” on page 5-2.

pd starting_address ending_address [filename ]

Dump memory to the screen or to the file given by filename . The range dumped is between starting_address and ending_address inclusive. The dump is formatted as disassembled instructions, without source code. See “Summary of Program Window Commands” on page 5-2.

pf [count]

Move the Program Window forward count IA-64 bundles or IA-32 instructions, or one windowful less one bundle or instruction if no count is given. See “Summary of Program Window Commands” on page 5-2.

pm

Display an IA-64 program in both source and assembly form. The source code file must be available to the simulator in the location recorded in the executable file when this command is issued. The source code is displayed for conve- nience; it cannot be modified or interacted with. Mixed display may not be useful if a high degree of optimization was applied during compilation. (IA-64 only) See “Summary of Program Window Commands” on page 5-2.

quit [return_value_for_shell]

Quit the simulator. If no return_value_for_shell is given, a zero value is returned to the shell. Return values are use- ful in shell script programming. See “Quitting Ski” on page 2-6.

run

Simulate the program. Using the C language argc/argv mechanism, Ski will pass the program a copy of the com- mand line parameters Ski received on its command line, or, if specified, the command line parameters provided with the load and iaload commands. See “Program Execution” on page 6-5.

rest filename

Restore the state of a simulated processor from the specified file and prepare to resume a suspended simulation. Only the registers and memory of the simulated processor are restored; state information private to the simulator such as cycle counts is not restored. See “Saving and Restoring the Simulator State” on page 8-8.

rf [count]

Moves the Register Window “forward” (scroll down) through the currently-displayed register set. The Register Win- dow is scrolled count lines. If count is omitted, the Register Window scrolls down one windowful less one line, i.e.

A-4 Command Reference

Copyright © 2000 Hewlett-Packard Co.

Page 92
Image 92
HP Ski Simulator, IA-64 manual Quit returnvalueforshell, Rest filename