Ski IA-64 Simulator Reference Manual 1.0L
The hexadecimal value 0x1234 is assigned to general register 1. The six upper (more significant) bytes are padded with zeroes.
= r1 ip+10
The value in ip added to 0x10 is assigned to general register 1.
= f2.m 1234 ; = f2.s 1 ; = f2.e 10033
The hexadecimal value 0x300330000000000001234 is assigned to floating register 2. The register now encodes the decimal value of
=4 __data_start+30 0d10 13feffff b3
The decimal value 10 is assigned to the four bytes starting 48 bytes past the location of the symbol “ __data_start”. Because the value 10 occupies only one byte, three
=s main ThisProgramIsBroken
The string “ ThisProgramIsBroken” with a null byte appended is placed in memory overwriting the instructions at the start of the program, as shown in the “before” and “after” views of Figure
Figure 8-1. The Original Program Loaded in ski
Debugging | Copyright © 2000 |