?? cputasks.html
字號:
<HTML>
<HEAD>
<TITLE>CPU Tasks</TITLE>
</HEAD>
<BODY BACKGROUND="Image3.jpg">
<H3><A NAME="opencpu">Opening the Register Section</A></H3>
<P>At the main window, click on the <B>View Register Section</B> button. The <B>Register Section</B> window will appear, displaying the internal architecture and current state of the CPU.</P>
<HR WIDTH="75%">
<H3><A NAME="startnew">Starting a New Simulation</A></H3>
<OL>
<LI>At the <B>Register Section</B> window, click <B>Start New Simulation</B> on the <B>Run</B> menu. A dialog box will appear asking for the address from which the CPU should start executing.</LI>
<LI>Enter the address in the <B>Start Address</B> text field.</LI>
<LI>Click the <B>OK</B> button. The CPU will then begin to execute the instructions starting at the specified address.</LI>
</OL>
<P><I><B>Note:</B></I> Starting a new simulation does not reset the registers of the CPU. In addition, memory is not affected by this action.</P>
<HR WIDTH="75%">
<H3><A NAME="startcpu">Starting a Stopped CPU</A></H3>
<P>At the <B>Register Section</B> window, click on the <B>Start CPU (Go)</B> on the <B>Run</B> menu. The CPU will start executing instructions using the current CPU state.</P>
<P><I><B>Note:</B></I> Unlike starting a new simulation, when starting a stopped cpu, the application will not ask for the start address. The CPU will continue from the state when it was stopped. In the case of a CPU that has just been reset, it will start executing from memory address 0.</P>
<HR WIDTH="75%">
<H3><A NAME="stopcpu">Stopping a Running CPU</A></H3>
<P>At the <B>Register Section</B> window, click on the <B>Stop CPU</B> on the <B>Run</B> menu. The CPU will immediately stop instruction execution.</P>
<HR WIDTH="75%">
<H3><A NAME="resetcpu">Resetting the CPU</A></H3>
<P>At the <B>Register Section</B> window, click on the <B>Reset CPU</B> on the <B>Run</B> menu. The CPU will immediately stop instruction execution and clear its registers.</P>
<HR WIDTH="75%">
<H3><A NAME="stepinst">Stepping Through an Instruction</A></H3>
<P>At the <B>Register Section</B> window, click on the <B>Step Through Instruction</B> on the <B>Run</B> menu. The CPU will execute the current instruction and will stop right before it starts fetching the next instruction.</P>
<HR WIDTH="75%">
<H3><A NAME="stepcycl">Stepping Through a Clock Cycle</A></H3>
<P>At the <B>Register Section</B> window, click on the <B>Step Through Cycle</B> on the <B>Run</B> menu. The CPU will execute the current clock cycle and will stop right before it starts executing the next clock cycle.</P>
<HR WIDTH="75%">
<H3><A NAME="editreg">Editing the Contents of a Register</A></H3>
<OL>
<LI>At the <B>Register Section</B> window, click on the particular register of interest on the <B>Edit</B> menu. A dialog box will appear asking for the new register value.</LI>
<LI>Enter the new register value in the text field.</LI>
<LI>Click the <B>OK</B> button to continue with the change operation. Otherwise, click the <B>Cancel</B> button.</LI>
</OL>
<HR WIDTH="75%">
<H3><A NAME="clrreg">Clearing the Contents of Every Register</A></H3>
<P>At the <B>Register Section</B> window, click on <B>Clear Registers</B> on the <B>Edit</B> menu. The contents of the registers will be cleared immediately.</P>
</BODY>
</HTML>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -