15513(2) Machine-Level Programming

In the second part, the course stepped into the machine level programming, that is assembly language. In this semester, the course switches from the y86 architecture to x86 one and so does the assembly language part. Here we goes! I’m writing this blog just when I go through all the slides for the first time.

General points

  • RISC, CISC
  • CPU (PC, Registers, Condition Codes) Memory(code, data, stack)

15513(1) Data Representation

Since this blog, I’ll turn to writing in English:) I’m now pursuing my ms degree in CMU now in mountain view. This series of blogs will act as the memo of my 15513, introduction to computer system course. Since I’ve already take the first part of the book in my undergraduates, I’ll only briefly write down those I’m still confused with as separate bullet points.

The 15513 course this semester is taught by Randal E. Bryant and David R.O’Hallaron again! That’s why I choose to be in it again!:) It’s great.

The first part of the book is about data representations. It covers the topics of how integer/float number are stored in computers following the IEEE rule. Here it goes:

AdaBoost

这次再来记录一下什么是adaboost(Adaptive Boosting),也是一个很早就知道用过的算法,一直没有仔细了解过,感谢林老师的课程,资料基本来自其课程内容,少量来自sklearn的官方文档

svm总结

第一次听说svm这个东西的时候,我还只有大一,在夏天的午后听张老师不厌其烦至少讲了三遍svm的推导,然后我还是不会……转眼要毕业了,最近看了台大林老师的视频课程,终于基本弄明白了整个推导过程,仅此记录一下。文章比较跳跃,省去了基本的背景信息,只有一些核心的推导思路,供自己以后再次忘记了的时候回来看看,这也是人生第一篇技术类的博客,哈哈。

A test blog

文章目录

This is my first test blog using hexo.

A test for math formula using hexo-math.

$ a=b+c $

$$
\frac{a+b}{c} + \partial{u}
$$

Test for code block

C++ Code
1
2
3
for(int i = 0; i<n; i++){
cout<<i<<endl;
}
objc
1
[rectangle setX: 10 y: 10 width: 20 height: 20];