HP IA-64 User Manual

Browse online or download User Manual for Software HP IA-64. HP IA-64 User's Manual

  • Download
  • Add to my manuals
  • Print
  • Page
    / 110
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 0
Ski IA-64 Simulator Reference Manual
Rev. 1.0L (26 Apr 00)
Copyright © 2000 Hewlett-Packard Co.
Page view 0
1 2 3 4 5 6 ... 109 110

Summary of Contents

Page 1 - Rev. 1.0L (26 Apr 00)

Ski IA-64 Simulator Reference ManualRev. 1.0L (26 Apr 00)Copyright © 2000 Hewlett-Packard Co.

Page 2 - Trademarks

x List of Figures Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0LFigure 8-1. The Original Program Loaded inski . . .

Page 3 - Syntax Conventions

B-6 Register Names Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0L

Page 4

Copyright © 2000 Hewlett-Packard Co. Internal Variable Names C-1Ski IA-64 Simulator Reference Manual 1.0LC Internal Variable NamesSki has one combined

Page 5 - Table of Contents

C-2 Internal Variable Names Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0L

Page 6

Copyright © 2000 Hewlett-Packard Co. Simulator Status and Error Messages D-1Ski IA-64 Simulator Reference Manual 1.0LD Simulator Status and Error Mess

Page 7

D-2 Simulator Status and Error Messages Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0LBreakpoint #%d wasn’t setYou used

Page 8

Copyright © 2000 Hewlett-Packard Co. Simulator Status and Error Messages D-3Ski IA-64 Simulator Reference Manual 1.0Lmissions are wrong or a remote fil

Page 9 - List of Figures

D-4 Simulator Status and Error Messages Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0Lhelp: Unknown command: %sYou aske

Page 10

Copyright © 2000 Hewlett-Packard Co. Simulator Status and Error Messages D-5Ski IA-64 Simulator Reference Manual 1.0LMissing ELF headerSee “File size

Page 11

D-6 Simulator Status and Error Messages Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0LNot an IA-64 fileSee “File size &g

Page 12

Copyright © 2000 Hewlett-Packard Co. Simulator Status and Error Messages D-7Ski IA-64 Simulator Reference Manual 1.0LReserved register/field faultYour

Page 13 - 1.1 The Ski Simulator

Copyright © 2000 Hewlett-Packard Co. List of Tables xiSki IA-64 Simulator Reference Manual 1.0LList of TablesTable 4-1. Ski Simulator Arithmetic and L

Page 14 - From the Command Line

D-8 Simulator Status and Error Messages Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0LUnable to open console windowYour

Page 15 - 1.2.3 Loading Your Program

xii List of Tables Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0L

Page 16 - Figure 1-4. The

Copyright © 2000 Hewlett-Packard Co. Getting Started: A Ski Tutorial 1-1Ski IA-64 Simulator Reference Manual 1.0L1 Getting Started: A Ski TutorialIn t

Page 17 - 1.2.4 Inspecting Data

1-2 Getting Started: A Ski Tutorial Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0LFigure 1-1. Startingxski From the Com

Page 18

Copyright © 2000 Hewlett-Packard Co. Getting Started: A Ski Tutorial 1-3Ski IA-64 Simulator Reference Manual 1.0L1.2.2 Exiting SkiYou can quitxskiand

Page 19

1-4 Getting Started: A Ski Tutorial Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0LFigure 1-3. Loading the “hello” Progr

Page 20 - 1.2.6 Looking at Code

Copyright © 2000 Hewlett-Packard Co. Getting Started: A Ski Tutorial 1-5Ski IA-64 Simulator Reference Manual 1.0L1.2.4 Inspecting DataTo look at the a

Page 21

1-6 Getting Started: A Ski Tutorial Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0Ltype “dj r12”or“dj 9ffffffffff780”, a

Page 22 - 1.2.8 Controlling Breakpoints

Copyright © 2000 Hewlett-Packard Co. Getting Started: A Ski Tutorial 1-7Ski IA-64 Simulator Reference Manual 1.0Lcharacter strings of argv and envp. (

Page 23 - 1.2.9 Running a Program

ii Notice Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0LNoticeThe information in this document is subject to change wit

Page 24 - Nothing to run”

1-8 Getting Started: A Ski Tutorial Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0LAnother shortcut is the * pointer-der

Page 25

Copyright © 2000 Hewlett-Packard Co. Getting Started: A Ski Tutorial 1-9Ski IA-64 Simulator Reference Manual 1.0L1.2.7 Viewing Source Code Mixed In wi

Page 26

1-10 Getting Started: A Ski Tutorial Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0Ldisplay off or on using the pa (“pro

Page 27

Copyright © 2000 Hewlett-Packard Co. Getting Started: A Ski Tutorial 1-11Ski IA-64 Simulator Reference Manual 1.0L1.2.9 Running a ProgramTo run your p

Page 28

1-12 Getting Started: A Ski Tutorial Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0L1.2.10 Single-stepping a ProgramTo t

Page 29 - 1.2.13 Next Steps

Copyright © 2000 Hewlett-Packard Co. Getting Started: A Ski Tutorial 1-13Ski IA-64 Simulator Reference Manual 1.0Lthe Main Window. Ski tells you why i

Page 30

1-14 Getting Started: A Ski Tutorial Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0LBy changing the value of the ip regi

Page 31 - 2 Overview

Copyright © 2000 Hewlett-Packard Co. Getting Started: A Ski Tutorial 1-15Ski IA-64 Simulator Reference Manual 1.0LChanging registers isn’t enough to d

Page 32 - 2.4 Ski Variations

1-16 Getting Started: A Ski Tutorial Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0LNext, issue the command “=s _IO_stdi

Page 33 - Interface

Copyright © 2000 Hewlett-Packard Co. Getting Started: A Ski Tutorial 1-17Ski IA-64 Simulator Reference Manual 1.0L1.2.12 Getting HelpTo see what comma

Page 34 - 2.5 Starting Ski

Copyright © 2000 Hewlett-Packard Co. Preface iiiSki IA-64 Simulator Reference Manual 1.0LPrefaceThis document is the Ski IA-64 Simulator Reference Man

Page 35 - 2.5.2 The XSki File

1-18 Getting Started: A Ski Tutorial Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0L

Page 36 - 2.6 Quitting Ski

Copyright © 2000 Hewlett-Packard Co. Overview 2-1Ski IA-64 Simulator Reference Manual 1.0L2 Overview2.1 IntroductionThe Ski simulator is a software pa

Page 37 - 3 Screen Presentation

2-2 Overview Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0L2.4 Ski VariationsThe simulator is available in three variet

Page 38 - 3.2.1 The User Registers Pane

Copyright © 2000 Hewlett-Packard Co. Overview 2-3Ski IA-64 Simulator Reference Manual 1.0LFigure 2-2. The X Window System, Motif-basedxski Interface

Page 39

2-4 Overview Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0L2.5 Starting SkiTo start the Ski simulator, type its name (s

Page 40

Copyright © 2000 Hewlett-Packard Co. Overview 2-5Ski IA-64 Simulator Reference Manual 1.0Lstandard Linux fashion. The Ski command line syntax is shown

Page 41 - 3.4 The Register Window and

2-6 Overview Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0L2.6 Quitting SkiThe quit command causes the simulator to exi

Page 42 - 3.5 The Program Window

Copyright © 2000 Hewlett-Packard Co. Screen Presentation 3-1Ski IA-64 Simulator Reference Manual 1.0L3 Screen Presentation3.1 Ski’s Use of Windowsxski

Page 43

3-2 Screen Presentation Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0Lskishows only a portion of a register set at a ti

Page 44

Copyright © 2000 Hewlett-Packard Co. Screen Presentation 3-3Ski IA-64 Simulator Reference Manual 1.0L3.2.2 The General Registers PaneThe general regis

Page 45

iv Syntax Conventions Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0Litalic+A plus sign applied to an argument indicates

Page 46 - 3.6 The Data Window

3-4 Screen Presentation Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0L3.2.4 The System Registers PaneThe system registe

Page 47

Copyright © 2000 Hewlett-Packard Co. Screen Presentation 3-5Ski IA-64 Simulator Reference Manual 1.0L3.3 Resizing Register Window Panes withxskiAs men

Page 48 - 3.7 The Command/Main Window

3-6 Screen Presentation Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0L3.5 The Program WindowThe Program Window provides

Page 49 - Command Window

Copyright © 2000 Hewlett-Packard Co. Screen Presentation 3-7Ski IA-64 Simulator Reference Manual 1.0Linstruction in the bundle. The end of each instru

Page 50 - 3.8 Other Windows

3-8 Screen Presentation Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0L3.5.2 IA-32 Instruction DisplayIA-32 instructions

Page 51 - ’s Symbol List Window

Copyright © 2000 Hewlett-Packard Co. Screen Presentation 3-9Ski IA-64 Simulator Reference Manual 1.0L3.5.3 Changing the Range of Locations Shown in th

Page 52

3-10 Screen Presentation Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0L3.6 The Data WindowIn the Data Window,xskiandski

Page 53 - 4 Command Language

Copyright © 2000 Hewlett-Packard Co. Screen Presentation 3-11Ski IA-64 Simulator Reference Manual 1.0Lwhich may change by the time the simulated IA-64

Page 54 - 4.4 Argument Specification

3-12 Screen Presentation Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0L3.6.2 Invalid Code and the Data WindowIf you tel

Page 55

Copyright © 2000 Hewlett-Packard Co. Screen Presentation 3-13Ski IA-64 Simulator Reference Manual 1.0L3.7.2 Theski Command Windowski’s Command Window

Page 56 - 4.4.2 Symbolic Arguments

Copyright © 2000 Hewlett-Packard Co. Table of Contents vSki IA-64 Simulator Reference Manual 1.0Table of Contents1 Getting Started: A Ski Tutorial .

Page 57

3-14 Screen Presentation Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0L3.8 Other WindowsSome commands, such as help, is

Page 58

Copyright © 2000 Hewlett-Packard Co. Screen Presentation 3-15Ski IA-64 Simulator Reference Manual 1.0LFigure 3-18.xski’s Symbol List Window

Page 59 - 5.1 Register Window Commands

3-16 Screen Presentation Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0L

Page 60 - 5.2 Program Window Commands

Copyright © 2000 Hewlett-Packard Co. Command Language 4-1Ski IA-64 Simulator Reference Manual 1.0L4 Command LanguageThe Ski command language is simple

Page 61

4-2 Command Language Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0Lthe commands “step 100” and “eval my_buffer”. This p

Page 62

Copyright © 2000 Hewlett-Packard Co. Command Language 4-3Ski IA-64 Simulator Reference Manual 1.0LAs an example, inxski,eval 64 0d64 0o64 0b100000 *ma

Page 63 - 5.3 Data Window Commands

4-4 Command Language Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0L4.4.1.3 AddressesAn address is specified by a 64 bit

Page 64

Copyright © 2000 Hewlett-Packard Co. Command Language 4-5Ski IA-64 Simulator Reference Manual 1.0Lassigns the value contained in the ip register to ge

Page 65 - 6 Program Simulation

4-6 Command Language Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0Lfirst in its symbol tables for program-defined symbols

Page 66

Copyright © 2000 Hewlett-Packard Co. Screen Manipulation Commands 5-1Ski IA-64 Simulator Reference Manual 1.0L5 Screen Manipulation CommandsSki provid

Page 67 - 6.5 Program Loading

vi Table of Contents Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.04.1 Command Entry. . . . . . . . . . . .

Page 68

5-2 Screen Manipulation Commands Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0LDisplays the IA-32 (eax, ebx, esp, etc.)

Page 69 - 6.6 Program Execution

Copyright © 2000 Hewlett-Packard Co. Screen Manipulation Commands 5-3Ski IA-64 Simulator Reference Manual 1.0LpmDisplay the program being simulated in

Page 70

5-4 Screen Manipulation Commands Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0Lpd starting_address ending_address [filen

Page 71 - 7.1 Interruptions

Copyright © 2000 Hewlett-Packard Co. Screen Manipulation Commands 5-5Ski IA-64 Simulator Reference Manual 1.0L5.3 Data Window CommandsThe Data Window

Page 72

5-6 Screen Manipulation Commands Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0Ldd starting_address ending_address [filen

Page 73 - 7.4 Program I/O

Copyright © 2000 Hewlett-Packard Co. Program Simulation 6-1Ski IA-64 Simulator Reference Manual 1.0L6 Program SimulationSki’s main responsibility is t

Page 74

6-2 Program Simulation Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0L6.3.1 System-Mode IA-64 ProgramsA system-mode IA-6

Page 75 - 8 Debugging

Copyright © 2000 Hewlett-Packard Co. Program Simulation 6-3Ski IA-64 Simulator Reference Manual 1.0L6.4 Misaligned Data Access TrapIf the psr.ac bit i

Page 76

6-4 Program Simulation Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0Lexample is “xski my_program”. The second way is to

Page 77 - 8.1.3 Notes on Assignment

Copyright © 2000 Hewlett-Packard Co. Program Simulation 6-5Ski IA-64 Simulator Reference Manual 1.0L6.6 Program ExecutionPrograms may be run in their

Page 78 - 8.3 Program Breakpoints

Copyright © 2000 Hewlett-Packard Co. Table of Contents viiSki IA-64 Simulator Reference Manual 1.08.7.1 Summary of Symbol Commands . . . . . .

Page 79

6-6 Program Simulation Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0L

Page 80

Copyright © 2000 Hewlett-Packard Co. Linux and MS-DOS ABI Emulation 7-1Ski IA-64 Simulator Reference Manual 1.0L7 Linux and MS-DOS ABI EmulationAs dis

Page 81 - 8.4 Data Breakpoints

7-2 Linux and MS-DOS ABI Emulation Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0LSki accepts but ignores the system cal

Page 82 - 8.7 Symbol Table Commands

Copyright © 2000 Hewlett-Packard Co. Linux and MS-DOS ABI Emulation 7-3Ski IA-64 Simulator Reference Manual 1.0L7.3 MS-DOS Application EnvironmentIA-3

Page 83 - [filename]

7-4 Linux and MS-DOS ABI Emulation Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0L

Page 84

Copyright © 2000 Hewlett-Packard Co. Debugging 8-1Ski IA-64 Simulator Reference Manual 1.0L8 DebuggingThe simulator provides many facilities to help y

Page 85 - 9 Command Files

8-2 Debugging Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0LThe hexadecimal value 0x1234 is assigned to general registe

Page 86 - 9.4 An Example Command File

Copyright © 2000 Hewlett-Packard Co. Debugging 8-3Ski IA-64 Simulator Reference Manual 1.0L8.1.3 Notes on Assignment8.1.3.1 Address AlignmentSki align

Page 87

8-4 Debugging Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0L8.2 Evaluating Formulas and Formatting DataThe eval command

Page 88

Copyright © 2000 Hewlett-Packard Co. Debugging 8-5Ski IA-64 Simulator Reference Manual 1.0L8.3.2 Deleting Program BreakpointsTwo commands delete progr

Page 89 - A Command Reference

viii Table of Contents Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0

Page 90

8-6 Debugging Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0L8.3.4 Notes on Program Breakpoints8.3.4.1 How Ski Implement

Page 91

Copyright © 2000 Hewlett-Packard Co. Debugging 8-7Ski IA-64 Simulator Reference Manual 1.0Liabs [address]Sets an IA-32 breakpoint at the specified addr

Page 92

8-8 Debugging Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0L8.5 Dumping Registers and Memory to a FileYou can dump the

Page 93

Copyright © 2000 Hewlett-Packard Co. Debugging 8-9Ski IA-64 Simulator Reference Manual 1.0Lisyms [filename]Writes the list of internal variables to file

Page 94

8-10 Debugging Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0L

Page 95 - B Register Names

Copyright © 2000 Hewlett-Packard Co. Command Files 9-1Ski IA-64 Simulator Reference Manual 1.0L9 Command FilesThe dot (“.”) command temporarily redire

Page 96

9-2 Command Files Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0Lexample of using goto and a label is:loop:... other com

Page 97

Copyright © 2000 Hewlett-Packard Co. Command Files 9-3Ski IA-64 Simulator Reference Manual 1.0L9.5 Summary of Command File Commands. filenameExecutes c

Page 98

9-4 Command Files Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0L

Page 99

Copyright © 2000 Hewlett-Packard Co. Command Reference A-1Ski IA-64 Simulator Reference Manual 1.0LA Command ReferenceIn the command descriptions that

Page 100

Copyright © 2000 Hewlett-Packard Co. List of Figures ixSki IA-64 Simulator Reference Manual 1.0LList of FiguresFigure 1-1. Startingxski From the Comma

Page 101 - C Internal Variable Names

A-2 Command Reference Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0Lcated page, including instruction pages. Multiple v

Page 102

Copyright © 2000 Hewlett-Packard Co. Command Reference A-3Ski IA-64 Simulator Reference Manual 1.0Ldf [count]Move the Data Window forward count lines

Page 103

A-4 Command Reference Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0Lisyms [filename]Write internal symbols to the screen

Page 104

Copyright © 2000 Hewlett-Packard Co. Command Reference A-5Ski IA-64 Simulator Reference Manual 1.0Lthe last line of the old window is displayed as the

Page 105

A-6 Command Reference Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0Lurski: Show the user registers (Predicate Registers

Page 106

Copyright © 2000 Hewlett-Packard Co. Register Names B-1Ski IA-64 Simulator Reference Manual 1.0LB Register NamesIA-64 registers are fully described in

Page 107

B-2 Register Names Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0Leflags.df IA-32 Direction Flag biteflags.id IA-32 ID Fla

Page 108

Copyright © 2000 Hewlett-Packard Co. Register Names B-3Ski IA-64 Simulator Reference Manual 1.0Lfpsr.sf2.pc IA-64 FPSR Status Field 2, Precision contr

Page 109 - =1, =2, =4, and =8

B-4 Register Names Copyright © 2000 Hewlett-Packard Co.Ski IA-64 Simulator Reference Manual 1.0Lldtd IA-32 Local Descriptor Table Descriptorlid IA-64

Page 110

Copyright © 2000 Hewlett-Packard Co. Register Names B-5Ski IA-64 Simulator Reference Manual 1.0Lpsr.tb IA-64 PSR Taken Branch trap bitpsr.um IA-64 PSR

Comments to this Manuals

No comments