Computer Organization and Design 笔记 - Abstractions

操作系统 编译 汇编

Concepts

Moore’s law > Over the history of computing hardware, the number of transistors on integrated circuits doubles approximately every two years.

Compiler > A program that translates high-level language statements into assembly language statements.

Assembler > A program that translates a symbolic version of instructions into the binary version.

High-level programming langrage > A portable language that is composed of words and algebraic notation that can be translated by a compiler into assembly language.

Assembly language > Asymbolic representation of machine instructions.

Machine language > A binary representation of machine instructions.

5 components of a computer

Input, Output, Memory, Control, Datapath

The last two sometimes combined and called the processor.

Instruction set architecture One key interface between the levels of abstraction is the instruction set architecture-the interface between the hardware and low-level software.

Performance

Measurement and Limitation

Fallacies and Pitfalls

Pitfall: Expecting the improvement of one aspect of a computer to increse overall performance by an amount proportional to the size of the improvement.

Amdahl’s law

Pitfall: Using a subset of the performance equation as a performance metric.

For example:

Instruction per program is not considered.

Execution time is the only valid and unimpeachable measure of performance.

Harttle

致力于简单的、一致的、高效的前端开发

看看这个?