Motorola M68CPU32BUG Manuel d'utilisateur Page 38

  • 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 37
DEBUG MONITOR COMMANDS
M68CPU32BUG/D REV 1 3-44
MS Memory Set MS
3.21 MEMORY SET
MS <addr>{hexadecimal number}/{’string’}
Use the MS command to write data to memory starting at a specified address. Hex numbers are
not size specific, so they can contain any number of digits (as allowed by command line buffer
size). If an odd number of digits is entered, the least significant nibble of the last byte accessed is
unchanged.
ASCII strings are entered by enclosing them in single quotes (’string’). To include a quote as part
of the string, enter two consecutive quotes.
EXAMPLE Memory is initially cleared:
CPU32Bug>ms 25000 0123456789abcDEF ’This is ’’CPU32Bug’’’ 23456<CR>
CPU32Bug>md 25000:10;w<CR>
00025000 0123 4567 89AB CDEF 5468 6973 2069 7320 .#Eg.+MoThis is
00025010 2733 3332 4275 6727 2345 6000 0000 0000 ’CPU32Bug’#E‘.....
CPU32Bug>
NOTE
If the address location requested is not displayed, the automatic
offset register is non-zero and has been added to the address. See
the offset (OF) command.
The MS command stores all data on a byte-by byte basis and thus
should not be used on any locations that require word accessing
only, such as the MC68332 TPU registers. For those locations
requiring word accessing, use the memory modify (MM) command
with the ;W or ;L option.
DEBUG MONITOR COMMANDS
M68CPU32BUG/D REV 1 3-45
OF Offset Registers Display/Modify OF
3.22 OFFSET REGISTERS DISPLAY/MODIFY
OF [Rn[;A]]
The OF command allows the user to access and change pseudo-registers called offset registers.
These registers are used to simplify the debugging of relocatable and position independent
modules (refer to offset registers in paragraph 2.1.1.3).
There are 8 offset registers (R0 through R7), but only R0 through R6 can be changed. Both the
base and top addresses of R7 is always set to 0. This disables the automatic register function by
selecting R7 as the automatic register.
Each offset register has two values: base and top. The base is the absolute least address used for
the range declared by the offset register. The top address is the absolute greatest address used.
When entering the base and top, the user may use either an address/address format or an
address/count format. When specifying a count the value of count is in bytes. If the top address is
omitted from the range, then a top address of $FFFFFFFF is the default. The top address must
equal or exceed the base address. Wrap-around is not permitted.
Command usage:
OF Display all offset registers. An asterisk indicates which register is the
automatic register.
OF Rn Display/modify Rn. Scroll through the registers using the same method as
the MM command.
OF Rn;A Display/modify Rn and set it as the automatic register. The automatic
register is added to the absolute address argument of every command
except if an offset register is explicitly added. in the display an asterisk
indicates which register is the automatic register.
Range entry:
Ranges are entered in three formats; base address alone, base and top as a pair of
addresses, and base address followed by byte count. Step control characters as
described in the MM (memory modify) command are supported.
Range syntax:
[<base address> [<del> <top address>] ] [^|v|=|.]
or
[<base address> [ : <byte count> ] ] [^|v|=|.]
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 37
1 2 ... 33 34 35 36 37 38 39 40 41 42 43 ... 97 98

Commentaires sur ces manuels

Pas de commentaire