fill

The fill command fill a memory area with the given pattern.

Command Format

fill from to pattern

where:

from first address to fill
to last address to fill
pattern fill pattern to use when filling. See below

Functional description

The fill command is used to fill an area of memory with the given data pattern. The pattern is expressed as bytes and can be of any size not exeeding the maximum size of 80 bytes.

Examples of valid pattern arguments are:

0x13                       One character pattern.
0x13 0x10 0x0 A three character pattern.
0x13 -s "Hello world" 0x0 A pattern with a
zero terminated string.

The fill operation reuses the pattern until the last location has been filled.

Environment

The command uses no environment variable.

See Also

The search and copy commands.

Powered by Drupal, an open source content management system