-
The memory that the CPU can directly access is the internal memory.
The internal memory is one of the important components in the computer, it is the bridge to communicate with the CPU, and the operation of all programs in the computer is carried out in the internal memory, so the performance of the internal memory has a great impact on the computer.
-
The CPU is just a supercomputer for doing things!
The register is a hard disk, and the hard disk can play the role of storage.
-
CPU registers are different for different architectures, and even for the same architecture, different models of CPUs have differences. Here we take the CPU of 80386 as an example, and the registers are divided into 6 categories. Among them, the most common registers (EAX, EBX, ECX, EDX, ESP, EBP, ESI, EDI), segment registers (CS, DS, SS, ES, FS, GS) and flag and control registers (EIP, EFLAGS) are available to programmers.
You can specify the contents of any generic register as the address of the operand, and perform simple arithmetic operations such as addition or subtraction in the process of forming the address. However, more complex operations such as string operations and double-precision multiplication and division operations require one or more operands to be taken from fixed registers.
Features of the registers:
In integrated circuit design, registers can be divided into two categories: registers used inside the circuit and registers that act as internal and external interfaces. Internal registers cannot be accessed by external circuitry or software, but are used to store functions for the implementation of internal circuitry or to meet the timing requirements of the circuit. Interface registers can be accessed by both internal circuitry and external circuitry or software, and registers in the CPU are one of them, which are well-known to a wide range of general-purpose programming users as interfaces to hardware and software.
There are at least six types of registers in the CPU: Instruction Registers (IR), Program Counters (PC), Address Registers (AR), Data Registers (DR), Accumulation Registers (AC), and Program Status Word Registers (PSW). These registers are used to stage a computer word, the number of which can be expanded as needed.
The above content reference:
Encyclopedia - Memory data register.
-
1. General register group.
The general-purpose register set consists of four 16-bit registers for AX, BX, CX, and DX to hold 16-bit data or addresses. It can also be used as an 8-bit register. When used as an 8-bit register, they are denoted as AH, AL, BH, BL, CH, CL, DH, and DL.
2. Segment registers.
Segmentation technology is used to solve the problem. Divide 1 MB of storage space into logical segments of up to 64 KB each, which can float across the entire storage space.
3. Pointers and address change registers.
This set of registers holds the contents of the scrambled content of the address offset within a certain segment.
It is used to form operand addresses, mainly on the stack.
operations and address change operations.
4. Instruction pointer register IP
It is used to store the offset address of the next instruction to be executed in the current ** segment. When the program is running, it is automatically modified by the BIU so that the IP always points to the address of the next instruction to be executed, so it is used to control the execution flow of the instruction sequence and is an important register.
-
It is not included in the composition of the CPU (b, memory; d, register).
**The processor mainly consists of two parts, namely the controller and the combinator, which also includes the cache memory and the data and control bus that realize the connection between them.
The three core components of an electronic computer are the CPU, internal memory, and input and output devices. **The functions of the processor are mainly to process instructions, perform operations, control time, and process data.
-
Register parts. These include general-purpose registers, dedicated registers, and control registers. General-purpose registers can be divided into two types: fixed-point and floating-point, which are used to store the register operands and operation results in the instruction.
General-purpose registers are an important part of the processor, and most instructions need to access them.
-
Registers are important data storage resources inside the CPU, and they are one of the hardware resources that can be directly used by assemblers.
Since registers can be accessed faster than memory, it is important to make the most of the registers' storage capabilities when writing programs in assembly language.
Registers are generally used to store the intermediate results of a program, and to quickly provide operands for subsequent instructions, thus avoiding the need to store intermediate results in memory and then read them in memory. In high-level languages (e.g., C C++), there are also variables that are defined as register types, which is a possible way to improve register utilization.
In addition, since the number and capacity of registers are limited, it is not possible to store all intermediate results in registers, so it is necessary to schedule the registers appropriately. According to the requirements of the instruction, how to arrange the appropriate registers to avoid the transfer operation with too many operands is a meticulous and careful work.
The "Register Allocation Strategy" is described in detail in "Principles of Compilation".
1. 16-bit register group.
The 16-bit CPU contains registers (see the 16-bit registers section in the figure):
4 data registers (ax, bx, cx, and dx).
2 address and pointer registers (SI and DI) 2 pointer registers (SP and BP).
4 segment registers (ES, CS, SS, and DS).
1 Instruction Pointer Register (IP) 1 Flag Register
2. 32-bit register group.
The 32-bit CPU contains all the registers of the previous CPU and expands the general-purpose registers, instruction pointers, and flag registers from 16-bit to 32-bit, and adds two 16-bit segment registers: FS and GS.
A 32-bit CPU contains registers (see registers in the figure):
4 data registers (EAX, EBX, ECX, and EDX).
2 Address and Pointer Registers (ESI and EDI) 2 Pointer Registers (ESP and EBP).
6 segment registers (ES, CS, SS, DS, FS, and GS).
1 Instruction Pointer Register (EIP) 1 Flag Register (EFLAGS).
-
The cache is the memory, but it is instantaneous.
-
Summary. Hello dear, happy to answer your <>
Programmable memory is not a CPU, they are two different things, and it belongs to one of the storage devices in a computer system. The CPU, also known as the processor, is one of the core components of a computer, which is mainly responsible for performing operations such as program instructions, controlling data flow, and logical calculations. Programmable memory, on the other hand, is a chip used to store electronic information, allowing users to write and store specific information in it.
For example, eprom can be erased and programmed multiple times, and its internal data can be modified; More modern storage devices, such as EEPROM and Flash memory and solid-state drives, also allow modifications to their internal storage and fast data reading. CPU and programmable memory are both essential components in computer systems, but they have different functional purposes and implementation mechanisms, and each has different roles and values.
Programmable memory is not a CPU
Hello dear, happy to answer your <>
Programmable memory is not a CPU, they are two different things, and it belongs to one of the storage devices in a computer system. The CPU, also known as the processor, is one of the core components of a computer, which is mainly responsible for performing operations such as program instructions, controlling data flow, and logical calculations. Programmable memory, on the other hand, is a chip used to store electronic information, allowing users to write and store specific information in it.
For example, eprom can be erased and programmed multiple times, and its internal data can be modified by Repentance; More modern storage devices, such as EEPROM and Flash memory and SSDs, also allow for modifications to their internal storage and fast data reading. CPU and programmable memory are both essential components in computer systems, but they have different functional purposes and implementation mechanisms, and each has different roles and values.
Here are some <> related extensions that we hope you will find helpful
Programmable memory is an electronic storage device that can be programmed or erased to alter the content they store. They are often used to store programs**, manipulation systems, and other data so that it can be read and used when needed. The CPU is the core component of the computer, which is responsible for executing instructions, performing arithmetic and logical operations, and controlling input and output.
Together, CPUs and programmable memory form the basic architecture of a computer system, but they are different components.
-
The memory that the CPU can directly access is the internal memory, the internal memory is one of the important parts of the computer, it is the bridge to communicate with the CPU, and the operation of all programs in the computer is carried out in the internal memory, so the performance of the internal memory has a great impact on the computer.
-
I guess it's static memory.
Memory, also known as memory, is an electronic device made of semiconductor technology to store data. The data of electronic circuits is stored in binary, and each memory cell is called a memory element or cell. >>>More
A: Dear, the future development trend of memory is that the global revenue of the new generation of memory will maintain an annual growth rate over the next 8 years, and the revenue is expected to be one million dollars in 2025. The major drivers for the growth of the next-generation memory market are the demand for big data for general-purpose storage devices; increased demand for enterprise storage applications; And there is a need for high-bandwidth, low-power, and highly scalable storage devices for artificial intelligence (AI), Internet of Things (IoT), and big data. >>>More
Microcomputers all have a bus structure.
The position of the system bus in the microcomputer, just like the human nerve center system, the CPU reads and writes the content of the memory through the system bus, and also writes the data in the CPU to the peripherals through the bus, or reads the CPU from the peripherals. >>>More
The similarity is that they all use the principle of program locality, divide the program into many information blocks, and automatically schedule the information blocks from slow memory to fast memory during operation, and use a certain replacement strategy to improve the hit rate when continuing to run. They use the same address transformation, address mapping method, and substitution algorithm. >>>More
latch. Difference from registers:
1.The registers are synchronous clock control, while the latches are potentiometric signal control. The latch is generally determined by level. >>>More