Motorola MPC564EVB Manuel d'utilisateur Page 58

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 98
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 57
3-8 MPC564EVB Users 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
Frees
cale Semiconductor,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Vue de la page 57
1 2 ... 53 54 55 56 57 58 59 60 61 62 63 ... 97 98

Commentaires sur ces manuels

Pas de commentaire