Motorola 700/800-Series ユーザーズマニュアル

ページ / 153
4-10
Using the 162Bug Debugger
4
Creating a Program with the Assembler/Disassembler
You can create a program using the Memory Modify (
MM
command with the assembler/disassembler option. 
1.  Enter the program one source line at a time. 
2. After each source line is entered, it is assembled and the 
object code is loaded to memory. 
Refer to the Debugging Package for Motorola 68K CISC CPUs User's 
Manual
 for details on the 162Bug Assembler/Disassembler. 
Downloading an S-Record Object File
Another way to enter a program is to download an object file from 
a host system. 
The program must be in S-record format (described in the 
Debugging Package for Motorola 68K CISC CPUs User's Manual) and 
may have been assembled or compiled on the host system. 
Alternately, the program may have been previously created using 
the 162Bug 
MM
 command as outlined above and stored to the host 
using the Dump (
DU
) command. 
A communication link must exist between the host system and port 
2 on the MVME162LX. (Hardware configuration details are 
provided in Installation and Startup on page 3-3.) The file is 
downloaded from the host to MVME162LX memory by the Load 
(
LO
) command. 
Read the Program from Disk
Another way to enter a program is by reading the program from 
disk, using one of the disk commands (
BO
BH
IOP
). Once the 
object code has been loaded into memory, you can set breakpoints 
if desired and run the code or trace through it.