Motorola M68CPU32BUG Manuel d'utilisateur Page 9

  • 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 8
DEBUG MONITOR DESCRIPTION
M68CPU32BUG/D REV 1 2-4
EXAMPLES Valid expressions.
Expression Result (in hex)
FF0011 FF0011
45+99 DE
&45+&99 90
@35+@67+@10 5C
%10011110+%1001 A7
88<<10 00880000
AA&F0 A0
The total value of the expression must be between 0 and $FFFFFFFF.
2.2.1.2 Address as a Parameter
Many commands use <ADDR> as a parameter. The syntax accepted by CPU32Bug is similar to
the one accepted by the MC68300 Family one-line assembler. All control addressing modes are
allowed. An address+offset register mode is also allowed.
Table 2-1 summarizes the address formats which are acceptable for address parameters in
debugger command lines.
DEBUG MONITOR DESCRIPTION
M68CPU32BUG/D REV 1 2-1
CHAPTER 2
DEBUG MONITOR DESCRIPTION
2.1 INTRODUCTION
CPU32Bug performs various operations in response to user commands entered at the keyboard.
When the debugger prompt CPU32Bug> appears on the terminal screen the debugger is ready to
accept commands.
2.2 ENTERING DEBUGGER COMMAND LINES
As the command line is entered it is stored in an internal buffer. Execution begins only after the
carriage return is entered. This allows the user to correct entry errors using the control characters
described in paragraph 1.7.
The debugger executes commands and returns the CPU32Bug> prompt. However, if the entered
command causes execution of user target code, (i.e., GO), then control may or may not return to
the debugger. This depends upon the user program function. For example, if a breakpoint is
specified, then control returns to the debugger when the breakpoint is encountered. The user
program also returns control to the debugger by means of the TRAP #15 function, RETURN
(described in paragraph 5.2.16). Also refer to the paragraphs in Chapter 3 which detail elements
of the GO commands.
In general debugger commands include:
A command identifier (i.e., MD or md for the memory display command). Both
upper- or lower-case characters are allowed for command identifiers and options.
At least one intervening space before the first argument.
A port number for running with multiple ports.
Any required arguments, as specified by command.
An option field, set off by a semicolon (;) to specify conditions other than the default
conditions of the command.
Some commands (MD, GO, T, etc) are repeatable, i.e., entering a carriage return
(<CR>) only causes the last command to be repeated and the address (<ADDR>), if
any, incremented. Thus after an MD command, sequential memory locations will be
displayed by entering a carriage return only. Or after entering a TRACE (T)
command, entering a carriage return (<CR>) only traces the next instruction.
Multiple debugger commands may be entered on a single command line by separating
the commands with the explanation point (!) character.
Fr
eescale S
emiconduct
or
, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Vue de la page 8
1 2 3 4 5 6 7 8 9 10 11 12 13 14 ... 97 98

Commentaires sur ces manuels

Pas de commentaire