MindMap Gallery Chapter 1 Computer System Overview
This is a mind map about Chapter 1 Computer System Overview, which summarizes the computer system hierarchy, computer performance indicators, etc.
Edited at 2024-01-16 15:53:51El cáncer de pulmón es un tumor maligno que se origina en la mucosa bronquial o las glándulas de los pulmones. Es uno de los tumores malignos con mayor morbilidad y mortalidad y mayor amenaza para la salud y la vida humana.
La diabetes es una enfermedad crónica con hiperglucemia como signo principal. Es causada principalmente por una disminución en la secreción de insulina causada por una disfunción de las células de los islotes pancreáticos, o porque el cuerpo es insensible a la acción de la insulina (es decir, resistencia a la insulina), o ambas cosas. la glucosa en la sangre es ineficaz para ser utilizada y almacenada.
El sistema digestivo es uno de los nueve sistemas principales del cuerpo humano y es el principal responsable de la ingesta, digestión, absorción y excreción de los alimentos. Consta de dos partes principales: el tracto digestivo y las glándulas digestivas.
El cáncer de pulmón es un tumor maligno que se origina en la mucosa bronquial o las glándulas de los pulmones. Es uno de los tumores malignos con mayor morbilidad y mortalidad y mayor amenaza para la salud y la vida humana.
La diabetes es una enfermedad crónica con hiperglucemia como signo principal. Es causada principalmente por una disminución en la secreción de insulina causada por una disfunción de las células de los islotes pancreáticos, o porque el cuerpo es insensible a la acción de la insulina (es decir, resistencia a la insulina), o ambas cosas. la glucosa en la sangre es ineficaz para ser utilizada y almacenada.
El sistema digestivo es uno de los nueve sistemas principales del cuerpo humano y es el principal responsable de la ingesta, digestión, absorción y excreción de los alimentos. Consta de dos partes principales: el tracto digestivo y las glándulas digestivas.
Chapter 1 Computer System Overview
Computer System Overview
computer system hierarchy
computer system components
The hardware system and software system together constitute a complete computer system.
For a certain function, if it can be implemented by both software and hardware, it is said that the software and hardware are equivalent in logical functions.
If a function is used more frequently and the cost of hardware implementation is ideal, using hardware to solve it can improve efficiency.
Computer hardware
Basic idea of von Neumann machine
"stored procedure"
Adopt the "stored program" working method.
The computer hardware system consists of five major components: arithmetic unit, memory, controller, input device and output device.
Instructions and data are stored in the memory with the same status and there is no difference in form, but the computer should be able to distinguish them.
Both instructions and data are represented in binary code. The instruction consists of an operation code and an address code. The operation code indicates the type of operation, and the address code indicates the address of the operand.
The basic working mode is control flow driven mode.
The basic idea of "stored program" is: the pre-programmed program and original data can only be executed after being sent to the main memory. Once the program is started for execution, there is no need for operator intervention, and the computer will automatically execute the instructions one by one until the program execution is completed. .
computer functional parts
input device
output device
memory
Main memory (also called internal memory)
The memory that the CPU can directly access is main memory.
Auxiliary memory (also called external memory)
The information in auxiliary memory must be transferred into main memory before it can be accessed by the CPU.
operator
Arithmetic Logic Unit (ALU)
a series of registers
Several general-purpose registers are used to temporarily store operands and intermediate results.
The program status register (PSW), also called the flag register, is used to store some flag information obtained by the ALU operation or the status information of the processor.
controller
Program counter (PC)
Instruction Register (IR)
Control unit (CU)
computer software
System software and application software
system software
application
three levels of language
machine language
The only language that computers can directly execute.
Assembly language
high level language
translator
Assembler (Assembler)
interpreter (interpreter)
Compiler (compiler)
Logical functional equivalence of software and hardware
For a certain function, it can be realized by either hardware or software. From the user's point of view, they are functionally equivalent. This equivalence is called the equivalence of software and hardware logic functions.
Computer System Hierarchy
Layer 3 is the instruction set architecture layer. This layer can control computer hardware by writing programs in machine language. It is also called the traditional machine layer or ISA (Instruction Set Architecture) layer. It is the interface and link between the software system and the hardware system in the computer.
On the one hand, users can use binary representation of machine language programming to control the computer hardware system at this layer.
On the other hand, various programs of the software system above this layer must be converted into the machine language form of this layer before they can be executed by the underlying hardware.
How computer systems work
How "stored procedures" work
From source program to executable file
Description of the program execution process
Description of the instruction execution process
Fetch instructions: PC→MAR→M→MDR→IR
Analysis instructions: OP(IR)→CU
Execution instructions: Ad(IR)→MAR→M→MDR→ACC
Computer performance indicators
Main performance indicators of computers
word length
Generally, the number of binary digits that an arithmetic unit can process in one operation is called the machine word length.
The number of digits must be the same as the machine word length
ALU
general purpose register
data path bandwidth
Refers to the width of the external data bus.
The data transmission path formed by connecting each subsystem through the data bus is called a data path.
Main memory capacity
word count x word length
calculating speed
Throughput and response time
Main frequency and CPU clock cycle
CPI (Cycle Per Instruction)
CPU execution time
MIPS (Million Instructions Per Second)
MFLOPS, GFLOPS, TFLOPS, PFLOPS, EFLOPS and ZFLOPS
benchmark program
You can evaluate the performance of the same benchmark program by running it on different machines to compare the running time on different machines.
Several professional terms
firmware. The component composed of the program solidified in ROM is called firmware. Firmware is a kind of hardware with software characteristics. It absorbs the respective advantages of software and hardware. Its execution speed is faster than software and its flexibility is better than hardware. It is the product of the combination of software and hardware.
Transparency
In CPU, IR, MAR and MDR are transparent to all kinds of programmers.
The assembly programmer can set the PC value through the JMP instruction.
Status registers and general-purpose registers can only be programmed if they are visible to the assembly programmer.