Motorola MVME2700 Series Manuel d'utilisateur Page 328

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 508
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 327
4-10 Computer Group Literature Center Web Site
One-Line Assembler/ Disassembler
4
to a byte of memory, with the eighth bit (MSB) always equal to zero. If
only one byte is entered, the byte is right justified. Any number of ASCII
characters may be entered for each WORD directive, and the characters are
right justified, but truncation occurs after four characters.
An ASCII string which contains spaces may not be used as an argument to
the WORD directive, even if the string is enclosed inside single quotes. In
this case, the mm command may be used in place of the assembler’s
WORD directive. Note that to use mm, the one-line assembler must be
exited.
The following example illustrates the Assembler Error which will occur if
the user attempts to enter a string containing spaces using the WORD
directive. Following the error is an example of the use of the mm
command to put the string into memory instead.
PPC1-Bug>as 80000
user enters WORD ’abcd’, which works fine
00080000 61626364 ORI R2,R11,$6364
user enters WORD ’ab d’, which is invalid
00080004 00000000 WORD $00000000? WORD ’ab d’
Assembler Error: Operand Conversion
exit the one-line assembler
00080004 00000000 WORD $00000000? .
use mm command instead
PPC1-Bug>mm 80004
00080004 00000000? ab d’
00080008 00000000? .
verify this using md command
PPC1-Bug>md 80000:4
00080000 61626364 61622064 00000000 00000000 abcdab d........
SYSCALL System Call Directive
The function of this directive is to aid you in making the appropriate
system call entry to the debugger system call routines. The format for this
directive is:
SYSCALL <.ROUTINE>
Vue de la page 327
1 2 ... 323 324 325 326 327 328 329 330 331 332 333 ... 507 508

Commentaires sur ces manuels

Pas de commentaire