SourcePoint Intel Help

Table of Contents

load

Load a user program into target memory.

Syntax

[[px]] load filename [init] [nocode] [nosym] [AT address | OFFSET expr]

Where:

[px]

specifies an optional viewpoint override. If the viewpoint override is omitted, the current viewpoint is used.

filename

specifies a filename. ย See Filenames for details.

init

specifies that registers are to be initialized from values in the loaded file.

nocode

specifies that object code is not loaded into memory during a load operation.

address

specifies the load address for a non-relocatable file.

expr

specifies a relocation offset for a relocatable file.

nosym

specifies that symbols are not loaded into SourcePoint.

Discussion

The following table shows the supported file types. ย Use the load command to read an executable file into target memory and/or to load a file's symbols onto the host for symbolic display.

Memory writes are verified depending on the state of the verify control variable.

ย 

elf

aout

bin

exe

hex

omf86

omf386

PE

textsym

load symbols

x

x

ย 

ย 

ย 

ย 

x

x

x

load target

x

ย 

x

x

x

x

x

x

ย 

relocate address

ย 

ย 

x

ย 

ย 

ย 

ย 

x

ย 

relocate offset

x

ย 

ย 

x

x

ย 

ย 

ย 

x

initialize

*

ย 

ย 

ย 

ย 

ย 

x

ย 

ย 

*Limited processor initialization

Note: If both nosymbols and nocode options are specified, the file gets loaded as if nocode were specified (symbols only).

Example 1

To load text.elf and initialize processor registers:

Command input:

load c:\test\test.elf init

Example 2

To load text.elf onto processor 1:

Command input:

[p1] load c:\test\test.elf ย 

Related Topics: