Computer Organization and Design 笔记 - Abstractions



Moore’s law

Over the history of computing hardware, the number of transistors on integrated circuits doubles approximately every two years.


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


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.


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.

转载请注明来源: https://harttle.land/2014/02/02/computer-design-abstractions.html 欢迎对文中引用进行考证,欢迎指出任何不准确和模糊之处。可以在下面评论区评论,也可以邮件至 harttle@harttle.com