Memory Set (Ms) - Motorola M68CPU32BUG User Manual

Debug monitor
Table of Contents

Advertisement

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
00025010 2733 3332 4275 6727
CPU32Bug>
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.
M68CPU32BUG/D REV 1
Memory Set
5468 6973 2069 7320
2345 6000 0000 0000
NOTE
3-44
DEBUG MONITOR COMMANDS
.#Eg.+MoThis is
'CPU32Bug'#E'.....
MS

Advertisement

Table of Contents
loading

Table of Contents