User`s manual
LO - Load S-Records from Host
3-112
3
Load this file into memory for execution at address $40000 as
follows:
PPC1-Bug>TM <Return>
Escape character: $01=^A.
Go into transparent mode to establish host link, input the necessary
character sequences to gain access to the S-Record file test.mx.
.
.
.
Exit transparent mode by inputting the escape character sequence,
default is Ctrl-a. At this point control will return to the debugger
prompt.
.
PPC1-Bug>
PPC1-Bug>LO ,,-65000000 ;X=cat test.mx <Return>
cat test.mx
S325650400007C8402A6908300007C8502A6908300044E800020000000006504000065040
02412
S30D65040020000000000000000069
S7056504000091
PPC1-Bug>
The S-records are echoed to the terminal because of the X option.
The offset address of -65000000 was added to the addresses of the
records in TEST.MX and caused the program to be loaded to
memory starting at $40000. The text cat test.mx is an operating
system command line that caused the file to be copied by the
operating system to the port which is connected with the debugger
hostÕs host port.
PPC1-Bug>DS 40000,40014 <Return>
00040000 7C8402A6 MFSPR R4,4
00040004 90830000 STW R4,$0(R3) ($00041000)
00040008 7C8502A6 MFSPR R4,5
0004000C 90830004 STW R4,$4(R3) ($00041004)
00040010 4E800020 BCLR 20,0
PPC1-Bug>
The target IP now contains the entry point of the code in memory
($40000).