本帖最后由 DamienPooh 于 2014-8-16 12:30 编辑 |
课程名称：软硬件接口感觉非常好的一门课，有点像CMU 计算机基础课中的15-513 的超级简化版
CMU 15-513 Course Description:
This course provides a programmer's view of how computer system
s execute programs, store information, and communicate. It enables students to become more effective programmers, especially in dealing with issues of performance, portability and robustness. It also serves as a foundation for courses on compilers, networks, operating systems, and computer architecture, where a deeper understanding of systems-level issues is required. Topics covered include: machine-level code and its generation by opt
imizing compilers, performance evaluation and optimization, computer arithmetic, memory organization and management, networking technology and protocols, and supporting concurrent computation. This course is intended for incoming Master's students only and may be taken on campus or at a distance.
This course examines key computational abstraction levels below modern high-level languages; number representation, assembly language, introduction to C, memory management, the operating-system process model, high-level machine architecture including the memory hierarchy, and how high-level languages are implemented. We will develop students’ sense of “what really happens” when software runs — and that this question can be answered at several levels of abstraction, including the hardware architecture level, the assembly level, the C programming level and the Java programming level. The core around which the course is built is C, assembly, and low-level data representation, but this is connected to higher levels (roughly how basic Java could be implemented), lower levels (the general structure of a processor and the memory hierarchy), and the role of the operating system (but not how the operating system is implemented).
This course should develop students’ sense of “what really happens” when software runs — and convey that this question can be answered at several levels of abstraction, including the hardware architecture level, the assembly level, the C programming level and the Java programming level. The core around which the course is built is C, assembly, and low-level data representation, but this is connected to higher levels (roughly how basic Java could be implemented), lower levels (the general structure of a processor), and the role of the operating system (but not how the operating system is implemented). For (computer science) students wanting to specialize at higher levels of abstraction, this could in the extreme be the only course they take that considers the “C level” and below. However, most will take a subset of Systems Programming, Hardware Design and Implementation, Operating Systems, Compilers, etc. For students interested in hardware, embedded systems, computer engineering, computer architecture, etc., this course is the introductory course after which other courses will delve both deeper (into specific topics) and lower (into hardware implementation, circuit design, etc.). The course has three principal themes:
At the end of this course, students should:
- Representation: how different data types (from simple integers to arrays of data structures) are represented in memory, how instructions are encoded, and how memory addresses (pointers) are generated and used to create complex structures.
- Translation: how high-level languages are translated into the basic instructions embodied in process hardware with a particular focus on C and Java.
- Control flow: how computers organize the order of their computations, keep track of where they are in large programs, and provide the illusion of multiple processes executing in parallel.
- understand the multi-step process by which a high-level program becomes a stream of instructions executed by a processor;
- know what a pointer is and how to use it in manipulating complex data structures;
- be facile enough with assembly programming (X86) to write simple pieces of code and understand how it maps to high-level languages (and vice-versa);
- understand the basic organization and parameters of memory hierarchy and its importance for system performance;
- be able to explain the role of an operating system;
- know how Java fundamentally differs from C;
- grasp what parallelism is and why it is important at the system level; and
- be more effective programmers (more efficient at finding bugs, improved intuition about system performance).
- Number representation
- Assembly language
- Basics of C
- Memory management
- Operating-system process model
- High-level machine architecture
- Memory hierarchy
- Implementation of high-level languages
Introductory programming in C or Java as well as familiarity with binary numbers.
Text are recommended but not required:
Students are also encouraged to have access to a good C reference – any will do – there are many available on the web as well:
The C Programming Language (Kernighan and Ritchie)
C: A Reference Manual (Harbison and Steele)
Video lecture topics. Written homework and programming assignments. Only the programming assignments will be graded. The written assignments provide students with a sense for the kinds of topics and analysis are considered most important.
Lab 0: http://www.1point3acres.com/bbs/thread-101076-1-1.html
Lab 1: http://www.1point3acres.com/bbs/thread-101248-1-1.html
Lab 2: http://www.1point3acres.com/bbs/thread-101484-1-1.html
Lab 3: http://www.1point3acres.com/bbs/thread-101937-1-1.html
Lab 4: http://www.1point3acres.com/bbs/thread-102411-1-1.html
Lab 5: http://www.1point3acres.com/bbs/thread-102983-1-1.html