Download OS-9 C Language User Manual

Transcript
Chapter 10
Assembly Level Commands
MFill
Fill Memory
Syntax
mf[ill][n] <begin> : <end> : <value>
mfw[n] <begin> : <end> : <value>
mfillword[n] <begin> : <end> : <value>
mfl[n] <begin> : <end> : <value>
mfilllong[n] <begin> : <end> : <value>
byte fill
word fill
word fill
longword fill
longword fill
Usage
Mf[ill] fills
memory in the address range from <begin> to <end> with
<value>. All arguments are <C_expr>’s.
[n] indicates that the fill is to be performed without respect to
word/longword boundaries. That is, word and longword memory fills are
done on a byte for byte basis. If the [n] option is not specified, word and
longword memory fills must begin on even addresses on a
non-68020 processor.
If the size of the fill specified from <begin> to <end> is not an even word
or longword multiple (for a word or longword memory fill), the size is
trimmed to the next lowest respective multiple.
If <value> starts with a “ when using the byte fill size, all remaining
characters are used as a fill string. The pattern is reused from the beginning
if the fill count has not been exhausted.
10-18