Skip to content

CMU labs for the course: Computer Systems: A Programmer's Perspective, 3/E (CS:APP3e)

Notifications You must be signed in to change notification settings

LuyaooChen/cmu-labs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

说明 Introduction

此项目为卡内基-梅隆大学(CMU)CS:APP3e课程的实验解答。 教材为《深入理解计算机系统》(Computer Systems:A Programmer's Perspective)。 实验可点击此处下载。 具体实验内容请见各文件夹内README。
PS. 网站上的实验内容会不定期有一些小更新

此项目为本人学习过程的分享,我会尽量注释上我的解题思路,欢迎讨论。 本人书没有仔细研读,在理解上可能存在一些错误,还请指正。

实验结果

datalab

具体解答见datalab-handout文件夹内的bits.c,有注释哦。其中每个函数用的操作符数量如下(用提供dlc程序得到):

fun operators
bitXor 7
tmin 1
isTmax 8
allOddBits 9
negate 2
isAsciiDigit 12
conditional 10
isLessOrEqual 11
logicalNeg 6
howManyBits 42
floatScale2 10
floatFloat2Int 16
floatPower2 4

bomblab

解析见bomb/README.md

About

CMU labs for the course: Computer Systems: A Programmer's Perspective, 3/E (CS:APP3e)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published