bf

Fills a block of memory with a value.
Syntax
bf [/bwl] <start> <end> <value>
Parameters
<start>
Specifies the starting memory location to be filled.
<end>
Specifies the ending memory location to be filled. If the end value is less than the start value, bf will fill memory from the starting location, for <end> bytes.
<value>
Specifies the value to fill with.
Options
/b
Specify 8 bit byte operation.
/w
Specify 16 bit word operation.
/l
Specify 32 bit long operation.
Example
To fill a block of memory from memory location 0x0100 to memory location 0x0200 with value 0x1111 in hexadecimal radix, in word operation, type the following command:

bf/w 100 200 1111

To fill a block of memory 100 bytes long, starting at memory location 0x0200 with value 0x1111 in hexadecimal radix, in word operation, type the following command:

bf/w 200 100 1111

Notes
If the /b, /w or /l option is not specified, bf will use the default size of the PDE environment, which can be set using the size command. bf uses the default radix of the PDE environment, which can be set using the radix command.

Back


Valid HTML 4.01 Comments or Questions? send email to : languard (at) pix (dot) net
Last Updated: $Date: 2003/01/25 03:45:41 $