Ski IA-64 Simulator Reference Manual 1.0L
Figure 1-21. The xski Data Window Widened to Show ASCII
Next, issue the command “ =s _IO_stdin_used+8 Ski!Ski!Ski!” in the Main Window. (You may need to
Figure 1-22. The xski Data Window After Changing the “Hello, world” String
The commands to change one, two, four, and eight byte quantities are =1, =2, =4, and =8, respectively. They are described in detail in Appendix 8.1, “Changing Registers and Memory with Assignment Commands” and in Appendix A, “Com- mand Reference”.
Often, you will need to evaluate formulas. For example, to find the address of the first envp string, you would need to compute the sum of the contents of r12 and 18 (hex) and then add the length of the argv vector (argc+1) multiplied by eight (the size of a char * on
Copyright © 2000 |