cosven / cosven.github.io

个人零碎笔记,博客草稿,阅读笔记
10 stars 0 forks source link

读《PC Assembly Language》 #59

Open cosven opened 5 years ago

cosven commented 5 years ago

书籍地址:https://pdos.csail.mit.edu/6.828/2018/readings/pcasm-book.pdf

总结:http://cosven.me/blogs/84

cosven commented 5 years ago

第一章:Introduction

Number System

讲解 2 进制,10 进制,16 进制相互转换

Computer Organization

Momery

The CPU

CPU 使用时钟(clock)来同步指令的执行。时钟以固定的频率跳动。

When you buy a 1.5 GHz computer, 1.5 GHz is the frequency of this clock. The clock does not keep track of minutes and seconds. It simply beats at a constant rate. The electronics of the CPU uses the beats to perform their operations correctly, like how the beats of a metronome help one play music at the correct rhythm. The number of beats (or as they are usually called cycles) an instruction requires depends on the CPU generation and model.

上面这一段很好的解释了 1.5GHz 的含义。

80x86 家族