3-8
MPC564EVB User’s Manual
Commands
ASM
Assembler
Usage:
ASM <<addr> stmt>
The ASM command is a primitive assembler. The <stmt> is assembled and the resulting code
placed at <addr>. This command has an interactive and non-interactive mode of operation.
The value for address <addr> may be an absolute address specified as a hexadecimal value, or a
symbol name. The value for stmt must be valid assembler mnemonics for the CPU.
For the interactive mode, the user enters the command and the optional <addr>. If the address is
not specified, then the last address is used. The memory contents at the address are disassembled,
and the user prompted for the new assembly. If valid, the new assembly is placed into memory, and
the address incremented accordingly. If the assembly is not valid, then memory is not modified,
and an error message produced. In either case, memory is disassembled and the process repeats.
The user may press the <Enter> or <Return> key to accept the current memory contents and skip
to the next instruction, or a enter period to quit the interactive mode.
In the non-interactive mode, the user specifies the address and the assembly statement on the
command line. The statement is the assembled, and if valid, placed into memory, otherwise an error
message is produced.
Examples:
To place a NOP instruction at address 0x0001_0000, the command is:
asm
10000 nop
To interactively assembly memory at address 0x0040_0000, the command is:
asm
400000
Summary of Contents for MPC564EVB
Page 1: ...MPC564EVBUM Rev 1 2 3 2003 MPC564EVB User s Manual ...
Page 6: ......
Page 10: ...Contents Paragraph Number Title Page Number iv MPC564EVB User s Manual MOTOROLA ...
Page 50: ...2 12 MPC564EVB User s Manual System Power up and Initial Operation ...
Page 92: ...3 42 MPC564EVB User s Manual System Call Functions ...
Page 98: ...B 4 MPC564EVB User s Manual Troubleshooting Network Problems ...