Write a class called CPU that describes the following information about a CPU

Updated on technology 2024-03-28
7 answers
  1. Anonymous users2024-02-07

    Answer]: BCPU is mainly composed of combinators, controllers, registers and internal buses and other components, and the combinator is composed of a logic unit for arithmetic answering, an accumulation register, a data buffer register and a state condition register, which is a data processing component used to complete various arithmetic and logical operations of the computer; The controller is used to control the work of the entire CPU, which determines the automation of the computer operation process, which must not only ensure the correct execution of the program, but also be able to deal with abnormal events. The control belt controller generally includes several parts, such as instruction control logic, timing control logic, bus control logic and interrupt control logic.

    There are 3 ways to achieve parallelism:

    1. Time overlap;

    2. Duplication of resources;

    3. Resource sharing.

  2. Anonymous users2024-02-06

    Answer]: The BCPU is the control center of the computer, which is mainly composed of components such as combinators, controllers, register banks, and internal buses. The controller is composed of a program counter, an instruction register, an instruction decoder, a timing generator and an operation controller, and it is the "decision-making body" that issues the order of the coarse spine, that is, it completes the coordination and command of the operation of the entire computer system.

    Its main function is to retrieve an instruction from memory. and indicate where the next instruction is in memory; decode or test the instructions and generate the corresponding operation control signals in order to initiate the specified actions; Command and control the flow of data between the CPU, memory, and I/O devices.

    The program counter (PC) is a special register, with two functions of register information and counting, also known as the instruction counter, before the program starts to execute, the starting address of the program is sent to the PC, which is determined when the program is loaded into memory, so the initial content of the PC is the address of the first instruction of the program. When an instruction is executed, the CPU will automatically modify the contents of the PC so that it always holds the address of the next instruction that will be executed. Since most instructions are executed sequentially, the process of modification is usually as simple as adding 1 to the PC.

    When a transfer command is encountered, the address of the successor command is obtained according to the address of the current command plus a displacement amount that is transferred forward or backward, or according to the address of the direct transfer given by the transfer order.

  3. Anonymous users2024-02-05

    Answer] Survey: B

    The internal memory and the CPU directly exchange information, while the external memory cannot directly exchange information with the CPU, and the CPU can only directly read the data in the memory.

  4. Anonymous users2024-02-04

    Answer]: c, d

    CPU is short for controller and combinator; The CPU should not be used as a substitute for memory.

  5. Anonymous users2024-02-03

    Answer]: BCPU can only exchange data with internal memory, and the main components of Qingyin are combinators and controllers. The selection of the reed positive key term d is the function of the combinator.

  6. Anonymous users2024-02-02

    Answer]: The ACPU chip is the core of the microcomputer hardware system, also known as the microprocessor chip, which includes the controller, combinator and register bank. Note:

    The CPU includes not only controllers and combinators, but also register groups. A register group is a number of storage units inside the CPU, for example, a status register that stores the running status of a program, an instruction register that stores the running instruction, a program counter that stores the address of the next instruction to be executed, an accumulator that stores the data involved in the operation and the results of the operation, and a register splitter. So the correct answer is a.

  7. Anonymous users2024-02-01

    Answer]: bThis question tests the basic knowledge of computer hardware composition. The CPU is the control center of a computer, which is mainly composed of components such as combinators, controllers, register banks, and internal buses.

    The controller is composed of a program counter, an instruction register, an instruction decoder, a timing generator, and an operation controller, and it is the "decision-making body" that issues commands, that is, completes the coordination and directs the operation of the entire computer system. Its main functions are: taking an instruction from memory and pointing out the location of the next instruction in memory; The instructions are decoded or tested, and the corresponding operation control signals are generated in order to start the specified actions of the file limbs; Command and control the flow of data between the CPU, memory, and I/O devices.

    The program counter (PC) is a special register, with two functions of register information and counting, also known as the instruction counter, before the program starts to execute, the starting address of the program is sent to the PC, which is determined when the program is loaded into memory, so the initial content of the PC is the address of the first instruction of the program. When an instruction is executed, the CPU will automatically modify the contents of the PC so that it always maintains the address of the next instruction that will be executed. Since most instructions are executed sequentially, the process of modification is usually as simple as adding 1 to the PC.

    When a transfer instruction is encountered, the address of the successor instruction is obtained from the address of the current instruction plus a displacement of forward or backward transfer, or from the address of the direct transfer given by the transfer instruction.

Related questions
4 answers2024-03-28

The topic is: Who is the person who buried me in my previous life. >>>More

5 answers2024-03-28

Zhen zhēn

Move. 1) (Shape sound. From to, Qin Sheng. Original meaning: to, to arrive) 2) Same as original meaning [arrive; attain a high level] >>>More

10 answers2024-03-28

In the great forest, inhabited.

10 answers2024-03-28

arp packages can be used in ms's platformsdk in ip helper dword sendarp (ipaddr destip, ipaddr srcip, pulong pmacaddr, pulong phyaddrlen); >>>More

3 answers2024-03-28

3. All include

using namespace std; >>>More