随笔分类 - D-计算机结构
摘要:direct memory access :
阅读全文
摘要:内核和用户核 通过限制访问的地址来达到保护的目的: 动态内存分配优于静态内存分配: (静态会分到最小的那个合适的,就会产生浪费) example: 引用虚拟内存就是为了防止碎片化 例子: n/基本单位+ n%基本单位
阅读全文
摘要:缓存如何被使用: • Temporal locality: recently referenced addresses are likely to be referenced again (reuse) 时间 • Spatial locality: If a memory address is re
阅读全文
摘要:内存特征: 计算机中的内存: Capacity: The capacity of the memory is the number of bytes (or preferably words) it can store. The word size (or length) is the natura
阅读全文
摘要:指令集: CPU可以理解的完整的指令集合 形式: 机器代码,二进制, 汇编代码 assembly codes 最后一个 operand 是 ans的存放地址 操作数(数据)的存放地址 : Main memory • CPU register (or registers) • I/O device 指
阅读全文
摘要:讲述了计算机如何执行程序, 数据和指令储存在 读写内存中. Data and instructions are stored in a single read-write memory. 通过连续的地址操作实现, 上下文+位 程序由多个指令组成, PC (program count) 来存程序的第一
阅读全文
摘要:记住单词: 一些进制 • Denary/Decimal or base ten - ten symbols 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 • Binary or base two - two symbols 0, 1 • Hexadecimal or base 16 -
阅读全文