EasyManua.ls Logo

Intel i960 - Page 173

Intel i960
347 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Profile Data Merging and Data Format (gmpf960)
5-5
5
For example, assume that __profile_data_length has the value 12 (12
bytes is three 4-byte words), and that
__profile_data_start contains
the values 0x000090A4, 0x000000C7, and 0x00008FDD. Then the binary
format of file
default.pf (printed as hexadecimal words) would be:
0000000C
000090A4
000000C7
00008FDD
Depending on the tools available, you may find it difficult to create the
binary format required in
default.pf. To circumvent this step, you can
write the profile data to a file in text format, and then use gmpf960 to
translate the file into binary format.
The text file format consists of the value of
__profile_data_length,
followed by the values in
__profile_data_start. The numbers must
appear in the file as decimal, and must be separated by whitespace.
For example, assume that
__profile_data_length has the value 20 (20
bytes is five 4-byte words), and that
__profile_data_start contains
the values 20, 15, 100, 2, and 63. If you use a text editor to create the text
format of
default.pf, it would be:
20
20 15 100
2 63
Note that there is no requirement as to the number of entries per line. The
format definition of the text file simply requires that the numbers are
separated by whitespace.

Table of Contents

Related product manuals