Ski IA-64 Simulator Reference Manual 1.0L

Figure 1-2. The Four Primary xski Windows

1.2.2Exiting Ski

You can quit xski and this tutorial with the Quit button, with the File->Quit menu selection, or with the “ quit” com- mand. All are in the Main Window. (Don’t quit now; you are just beginning!)

1.2.3Loading Your Program

Use the “Command” area of the “main” Window to load your program. For example, let’s say your program is the famous “Hello, world” program, the executable file is named “ hello”, and the source code file is named “ hello.c”. Type “ load hello” in the Command area to load it into Ski, as you see in Figure 1-3.After a moment, the other three windows will change appropriately: the Program Window will show the program code in assembly language form as shown in Figure 1-4,the Data Window will show global and static data as shown in Figure 1-5, and the Register Window will show, in r12 the value of the stack pointer, as shown in Figure 1-6. (You may need to use the scrollbar in the general registers pane of the Register Window to see these registers.)

Copyright © 2000 Hewlett-Packard Co.

Getting Started: A Ski Tutorial

1-3

Page 15
Image 15
HP IA-64, Ski Simulator manual Exiting Ski, Loading Your Program