Fork me on GitHub
Cloyee's blog


  • Home

  • About

  • Categories

  • Archives

  • Search

CSAPP-datalab

Posted on 2019-02-11 | In 计算机系统基础 |
Words count in article: 2k 字 | Reading time ≈ 9 mins
看CSAPP看的实在是绝望,觉得假期肯定啃不完,所以决定先做实验,遇见不会的再翻书,过年这一个多周的时间,做了下datalab bitAnd题目:只能用~和|来实现位的与操作。 bitAnd - x&y using only ~ and | Example: bitAnd(6, 5) = ...
Read more »

CSAPP_3

Posted on 2019-02-01 | In 计算机系统基础 |
Words count in article: 185 字 | Reading time ≈ 1 mins
无符号数编码$$B2U_\omega(\vec x)=\sum^{\omega-1}_{i=0}x_i2^i$$ $$eg:B2U_4([0001])=0•2^3+0•2^2+0•2^1+1•2^0=0+0+0+1=1$$ 无符号数编码唯一性 双射 补码编码$$B2T_\omega(\vec x ...
Read more »

CSAPP_2

Posted on 2019-01-30 | In 计算机系统基础 |
Words count in article: 270 字 | Reading time ≈ 1 mins
寻址和字节顺序 小端法:最低有效字节在最前面 大端法:最高有效字节在最前面 浮点型和整型数据有不同的字节模式 二进制代码不兼容 布尔代数 布尔运算 逻辑运算 ~ NOT & AND 单竖线 OR ^ 异或(不同为1,相同为0) 位向量:固定长度,由0,1组成 ...
Read more »

CSAPP_1

Posted on 2019-01-27 | In 计算机系统基础 |
Words count in article: 274 字 | Reading time ≈ 1 mins
计算机系统只由ASCii字符构成的文件称为文本文件,其他为二进制文件。 硬件 总线:贯穿整个系统的电子管道 I/O设备:系统和外部联系的通道 主存:执行程序时,存放相关数据 处理器:解释或执行储存在主存中指令中的引擎 软件 应用程序 操作系统 虚拟内存 C全局变量相对应的数据位紧跟在代码 ...
Read more »

ss科学上网

Posted on 2019-01-26 | In Others |
Words count in article: 522 字 | Reading time ≈ 2 mins
嗯……第一次更博,有点晚了,一直在弄,期间走了不少弯路,今天可算是弄好了。 一、vultr注册—>绑定银行卡—>建服务器 前两个就不细说了 Server Location: sydney Server Type:centos7 x64 Server Size: 按实际需要选 Deploy ...
Read more »
1…34
CloyeeYH

CloyeeYH

35 posts
12 categories
© 2020 CloyeeYH
访问人数:  |  总访问量:  |  博客全站共 27.8k 字
0%