HP
Ski Simulator
manual
Ski IA-64 Simulator Reference Manual 1.0L Program Simulation
xski’s Symbol List Window
Misaligned Data Access Trap
Command Line Flags
Setting Program Breakpoints
How to
Page 70
Ski
IA-64
Simulator Reference Manual 1.0L
6-6
Program Simulation
Copyright © 2000
Hewlett-Packard
Co.
Page 69
Page 71
Image 70
Page 69
Page 71
Contents
Ski IA-64 Simulator Reference Manual
Copyright 2000 Hewlett-Packard Co
Printing History
Trademarks
Font Conventions
How to Use This Manual
Preface
Syntax Conventions
Italic+
Table of Contents
Ski IA-64 Simulator Reference Manual
Vii
Ski IA-64 Simulator Reference Manual Viii Table of Contents
List of Figures
Ski IA-64 Simulator Reference Manual 1.0L
List of Tables
Ski IA-64 Simulator Reference Manual 1.0L Xii List of Tables
Ski Simulator
How to Run an IA-64 Application Program
Getting Started a Ski Tutorial
Starting xski
Starting xski From the Command Line
Exiting Ski
Loading Your Program
Loading the hello Program
Inspecting Data
Xski Data Window
Changing the Data Window Display
Data Window Showing argv and envp Strings in Hexadecimal
Viewing Data in Ascii
Looking at Code
Viewing Source Code Mixed In with Assembly Code
12. Jumping the Program Window to the Beginning of main
Controlling Breakpoints
14. The Program Window Showing a Breakpoint at main
Running a Program
15. The Breakpoint List Window
Single-stepping a Program
16. The Terminal Window After the hello Program is Run
Changing Registers and Memory
18. The Main Window After Reaching the Breakpoint at main+10
Ski IA-64 Simulator Reference Manual 1.0L
20. The xski Register Window After Changing the ip Register
21. The xski Data Window Widened to Show Ascii
Getting Help
Next Steps
Copyright 2000 Hewlett-Packard Co
What You Need to Know to Use This Manual
Overview
Introduction
Defects and Defect Reporting
Using bski for Batch Simulations
Ski Variations
X Window System, Motif-based xski Interface
Command Line Flags
Starting Ski
XSki File
1.1 Summary of Flags
Quitting Ski
Summary of the Quit Command
Quit expression
Ski’s Use of Windows
Screen Presentation
Register Window
User Registers Pane
Register Window in xski
General Registers Pane
Floating Point Registers Pane
System Registers Pane
IA-32 Registers Pane
Resizing Register Window Panes with xski
Register Window and ski
Program Window
1 IA-64 Instruction Display
Ski IA-64 Simulator Reference Manual 1.0L
2 IA-32 Instruction Display
Changing the Range of Locations Shown in the Program Window
Invalid Code and the Program Window
Data Window
12. xski’s Program Window Showing Illegal Instructions
Changing the Range of Locations Shown in the Data Window
Invalid Code and the Data Window
Command/Main Window
Xski Main Window
Ski Command Window
16. xski’s Main Command Window
17. ski’s Command Window at Bottom
Other Windows
18. xski’s Symbol List Window
Copyright 2000 Hewlett-Packard Co
Command Arguments
Command Language
Command Entry
Command Sequences, Repetition, and Abbreviation
Numbers and Counts
Argument Specification
Numeric Arguments
Expressions
Ski Simulator Arithmetic and Logic Operators
Xski Evaluating Expressions
Program-Defined Symbols
Symbolic Arguments
Addresses
Labels
Resolving Ambiguous Symbols and Numbers
Internal Variables
Filenames
Ski IA-64 Simulator Reference Manual 1.0L
Summary of Register Window Commands
Screen Manipulation Commands
Register Window Commands
Xski Register Window Commands
Program Window Commands
Summary of Program Window Commands
Xski’s Program Window Showing IA-64 Assembly Language Code
Xski’s Assembly Language Dump Window
Pd startingaddress endingaddress filename
Dj address
Data Window Commands
Summary of Data Window Commands
Df count
Xski Showing Data in Raw Hexadecimal and Ascii
Dd startingaddress endingaddress filename
Ski Support for Application-Mode Programs
Program Simulation
Application-Mode and System-Mode Simulation
Ski Support for System-Mode Programs
System-Mode IA-32 Programs
Summary of TLB Display Commands
System-Mode IA-64 Programs
System-Mode TLB Simulation
How to Load a Program
Misaligned Data Access Trap
Program Loading
Adding Information after Loading
Summary of Program Loading Commands
Load filename args+
Creating the argc, argv, and envp Parameters
Summary of Program Execution Commands
Program Execution
Ski IA-64 Simulator Reference Manual 1.0L Program Simulation
Interruptions
Linux and MS-DOS ABI Emulation
Linux Application Environment
Linux System Calls Supported by Ski
Linux System Calls Accepted but Ignored by Ski
Program I/O
MS-DOS Application Environment
MS-DOS System Calls in Hexadecimal Supported by Ski
Copyright 2000 Hewlett-Packard Co
Examples of Assignment Commands
Changing Registers and Memory with Assignment Commands
Summary of Assignment Commands
Debugging
Original Program Loaded in ski
Bit-encoded Registers
Allocation
Evaluating Formulas and Formatting Data
Summary of The eval Command
Setting Program Breakpoints
Program Breakpoints
Deleting Program Breakpoints
Listing Program Breakpoints
Unexpected Breakpoints
Summary of Program Breakpoint Commands
Bs address
Data Breakpoints
Setting Data Breakpoints
Summary of Data Breakpoint Commands
Deleting Data Breakpoints
Summary of Symbol Commands
Symbol Table Commands
Summary of Save and Restore Commands
Dumping Registers and Memory to a File
Symlist Output from xski
Isyms filename
Ski IA-64 Simulator Reference Manual 1.0L Debugging
Goto Command and Labels
Command Files
Labels and Control Flow in Command Files
Initialization File
An Example Command File
Comments in Command Files
If Command
# comment
Summary of Command File Commands
filename
Label
Ski IA-64 Simulator Reference Manual 1.0L Command Files
Command Reference
=s address stringwithoutspaces
Dbs address length rwrw
Dbd breakpointnumber
Help commandname
Eval expressionwithoutspaces+
Quit returnvalueforshell
Rest filename
Step until expressionwithoutspaces
Ski IA-64 Simulator Reference Manual 1.0L
Register Names
IA-64 Registers
Register Names
Copyright 2000 Hewlett-Packard Co Register Names B-3
Ski IA-64 Simulator Reference Manual 1.0L
Copyright 2000 Hewlett-Packard Co Register Names B-5
Ski IA-64 Simulator Reference Manual 1.0L Register Names
Internal Variable Names
Internal Variables
Copyright 2000 Hewlett-Packard Co
Simulator Status and Error Messages
All breakpoints deleted
Simulator Status and Error Messages
Expression
Help Unknown command %s
Missing ELF header
Not an IA-64 file
Stopping at %s due to unimplemented instruction
Usage %s options file args
Related pages
Troubleshooting for Rotel RC-06
Power specifications for Seagate ST32000646SS
Indicator light Media tray Eject button Cardbus drive for Targus External Cardbus Drive
Flowchart 2.18-Nonfunctioning Keyboard for Compaq NC6400
When the Weld is Completed for Chicago Electric 95629
Installazione dei diffusori Installazione del lettore DVD for Samsung HT-TXQ120R/XET
parts list for venting kits and components for Desa CD36TN-M
Language Code List for Sanyo DVD-SL25
Side View of Dimm Installation into Slot for SUPER MICRO Computer 6012L-6
When you leave your work for HP V5000T
What is the warranty information for my Alpine CDA-9855?
Learn more
(#)
Top
Page
Image
Contents