Freescale Semiconductor Microcontrollers User Manual

Page 805

Advertising
background image

Debugger Engine Commands

Debugger Commands

805

Microcontrollers Debugger Manual

MS

The MS command sets a specified block of memory to a specified list of byte values.
When the range is wider than the list of byte values, the list of byte values is repeated as
many times as necessary to fill the memory block.

When the range is not an integer multiple of the length of the list, the last copy of the list
is truncated appropriately. This command is identical to the write bytes (

WB

) command.

Usage

MS range list

range: is an address range constant that defines the block of memory to be set to
the values of the bytes in the list.

list: is a list of byte values to be stored in the block of memory.

Components

• Debugger engine.

Example:

in>MS 0x1000..0x100F 0xFF

The memory range between addresses 0x1000 and 0x100F is filled with the 0xFF
value.

NB

Description

The NB command changes or displays the default number base for the constant values in
expressions. The initial default number base is 10 (decimal) and can be changed to 16
(hexadecimal), 8 (octal), 2 (binary) or reset to 10 with this command. The base is always
specified as a decimal constant.

Independent of the default base number, the ANSI C standard notation for constant is
supported inside an expression. That means that independent of the current number base
you can specify hexadecimal or octal constants using the standard ANSI C notation shown
in

Table 34.6

.

Advertising