⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 c_mt.htm

📁 mips架构的bootloader,99左右的版本 但源代码现在没人更新了
💻 HTM
字号:
<title>The mt Command</title><h1>mt</h1><!--INDEX "Memory Test" "Walking ones" "mt command" -->The mt command tests memory.<p></dl><h2>Format</h2><dl><dd>The format for the mt command is:<p>PMON<br><pre>	mt [-c][sadr [siz]]</pre>IMON95<br><pre>	mt sadr eadr</pre><p>where:<p><table><tr><td width=50><var>sadr</var></td><td>		specifies the start address for the test. </td></tr><td><var>siz</var></td><td>		specifies the amount of memory to be tested (in bytes). </td></tr><td><var>eadr</var></td><td>		specifies the end address for the test. </td></tr><tr><td>-c </td><td>perform a continuous test</td></tr></table><p></dl><h2>Functional Description</h2><dl><dd>The mt command tests memory by performing a series of read/writeoperations. It first performs a walking one's test by walking a singlebit across each word in the memory to be tested. It then writes theaddress of each word to itself, it then checks back to make sure thateach word still contains its address.<p>With PMON the range of addresses to be tested defaults to a sadr of CLIENTPC, and has a size equal to the remaining memory. You may also specifya start address, and optionally a size.<p>With IMON95 you must always specify both a start and end address.<p>Note that any addresses specified on the command line must be non-cachable.<p>Some examples illustrating the use of the mt command follow.<p><table><tr><td><samp>PMON> mt</samp></td><td align=top>Test all available memory.</td></tr><tr><td valign=top><samp>PMON> mt a0040000 </samp></td><td align=top>	Test from a0040000 to end of memory.</td></tr><tr><td valign=top><samp>PMON> mt a0040000 1000 </samp></td><td align=top>Test 4K bytes of memory starting at a0040000.</td></tr><tr><td valign=top><samp>IMON95> mt a0040000 a0070000 </samp></td><td align=top>Test memory from a0040000 to a0070000.</td></tr></table> <p> </dl><h2>See Also </h2><dl><dd><a href="c_m.htm">m</a>,<a href="c_d.htm">d</a>,<a href="c_copy.htm">copy</a>,<a href="c_compare.htm">compare</a>,and <a href="c_fill.htm">fill</a> commands.</dl><p><hr><b>Navigation:</b> <a href="index.htm">Document Home</a> | <a href="doctoc.htm">Document Contents</a> | <a href="docindex.htm">Document Index</a> <p>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -