Chapter 3. Using the Monitor/Debug Firmware
3-7
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 then assembled, and if valid, placed into memory,
otherwise an error message is produced.
Examples:
To place a NOP instruction at address 0x00010000, the command is:
asm
10000 nop
To interactively assemble memory at address 0x00400000, the command is:
asm
400000
Содержание M5271EVB
Страница 1: ...M5271EVBUM Rev 1 0 6 2004 M5271EVB User s Manual Supports Devices MCF5271 MCF5270 ...
Страница 8: ...8 M5271EVB User s Manual MOTOROLA CONTENTS Paragraph Number Title Page Number ...
Страница 37: ...Chapter 2 Initialization and Setup 2 7 Installation and Setup Figure 2 5 Jumper Locations ...
Страница 84: ...A 4 M5271EVB User s Manual MOTOROLA Troubleshooting Network Problems ...
Страница 85: ...MOTOROLA Appendix B Schematics B 1 Appendix B Schematics B 1 M5271EVB Schematics ...
Страница 86: ...B 2 M5271EVB User s Manual MOTOROLA M5271EVB Schematics ...
Страница 100: ...B 16 M5271EVB User s Manual MOTOROLA M5271EVB Schematics ...