Februray 14th Wednesday (一月 十四日 水曜日)

    技术2022-05-11  42

      Today is valentine's day again.  Let's put this day aside.  I found a book which has some chapters on developingin assembly language for linux.  I am going to learn those chapters.

      Our computers all almost are Von Neumann archiecture. Most CPU in our computers reads instructions from memory oneat a time and executes them.  This is known as the fetch-execute cycle.  The CPU contains the following elements toaccomplish this:

      Program Counter  Instruction Decoder  Data bus  General-purpose registers  Arithmetic and logic unit

      The program counter is used to tell the computer where to fetch the next instruction from.  The difference betweenthe way data and programs are stored, thery are just interpreted differently by the CPU.  The instruction decoder figuresout what the instruction means.  This includes whar process needs to take place (addition, subtraction, multiplication,data movement, etc.) and what memory locations are going to be involved in this process.  Computer instructions usuallyconsist of both the actual instruction and the list of memory locations that are used to carry it out.

      Now the computer uses the data bus to fetch the memory locations to be used in the calculation.  The data bus isconnection between the CPU and memory.  It is the actual wire that connects them.

      今日は私のお父さんの誕生日です。 今日もバレンタイン‐デーです。 会社の応接間に花があにます。  誰を もらいますが。 会社員は家へいきますたから 会社はにぎやかでは ありません。 


    最新回复(0)