CPU class

CPU : When performing arithmetic operations or logical operations , the source operands and results are often temporarily stored in the  accumulator (AC)   .

During the running of the program, the CPU needs to fetch the instructions from the memory , analyze and execute them. The CPU distinguishes the instructions and data stored in the binary code in the memory according to (  the addressing mode   of instructions and data) .

The components that belong to the arithmetic logic unit in the CPU are (  adders   ).

In the CPU , the register that is often used to provide data for the ALU to perform arithmetic and logical operations and temporarily store the result of the operation is the (  accumulation register )  .

The number of bits in the instruction register depends on (  instruction word length  )

In the CPU , the (  controller    ) must not only ensure the correct execution of instructions , but also be able to handle abnormal events .

If an unconditional branch assembly instruction uses direct addressing , the function of the instruction is to send the address code in the instruction (  PC (program counter)  ).

The register used in the CPU to keep track of instruction addresses is (  Program Counter (PC)  ).

In the following description of the CPU , the error is (the  program counter PC can temporarily store the arithmetic/logical operation result in addition to storing the instruction address  ).

During the execution of the program,  the address mapping between the Cache and the main memory is done (  automatically by hardware  ). Note: (main memory means memory)

During program execution, the address mapping of   Cache and main memory is done by (automatically by hardware  ) 

The cache memory ( Cache ) located between the CPU and the main memory is used to store a copy of  part of the main memory data , and the conversion work between the  main memory address and the Cache address is completed by ( hardware   ).

During the execution of the program, the address mapping between the Cache and the main memory is done automatically by (  specialized hardware  ).

The fastest access to it   by the CPU in the computer is the ( general-purpose register  ).

The following statement about Cache is correct (  the design idea of ​​Cache is to improve the hit rate at a reasonable cost  ).

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325896499&siteId=291194637