Computer Systems Fundamentals - Advanced C & Memory Management 计算机系统基础 - C语言进阶与内存管理
Memory layout, function call stack, compilation pipeline, MIPS basics & system calls. Build core theoretical foundation for systems programming. 内存布局、函数调用栈、编译流程、MIPS基础与系统调用。建立系统编程的核心理论基础。
Beginner 初级Binary/hex conversions, two’s complement, masks, shifts, overflow patterns. Exam-aligned with Lab/Tut 02. 二/十六进制转换、补码、掩码、移位、溢出判定;与第02周实验/教程对齐。
Beginner 初级Branch templates, syscall safety, loop skeletons, and Lab03 swap/sort walkthroughs. 分支模板、系统调用安全、循环骨架以及 Lab03 交换/排序讲解。
Beginner 初级Calling conventions, lookup tables, sieve loops, and Lab04 recursion templates. 调用约定、查表模式、筛法循环以及 Lab04 递归模板。
Beginner 初级Buffered input, endian swaps, packed BCD arithmetic, and Lab05 automation scripts. 缓冲输入、端序转换、打包 BCD 算术以及 Lab05 自动化脚本。
Beginner 初级Program structure (.data/.text/.globl main), registers ($t0–$t9, $v0, $a0–$a3), core instructions (li/la/add/sub/mul/div/move), syscalls (print/read/exit). Challenge exercises: bad_pun.s & gaussian_sum.s. 程序结构(.data/.text/.globl main)、常用寄存器($t0–$t9, $v0, $a0–$a3)、核心指令(li/la/add/sub/mul/div/move)、syscall(打印/读入/退出),挑战练习:bad_pun.s 与 gaussian_sum.s。
Beginner 初级Deep understanding of pointer concepts, memory addresses, pointer arithmetic, and modifying variables outside functions via pointers. RGB color conversion practice. 深入理解指针概念、内存地址、指针运算以及通过指针修改函数外部变量。RGB颜色转换实践。
Beginner 初级Learn how to organize related data using structs, struct pointers, and memory layout of structs. 学习如何使用结构体组织相关数据,结构体指针,以及结构体在内存中的布局。
Beginner 初级Master malloc and free functions, understand heap memory management, and dynamic array creation/deallocation. 掌握malloc、free函数,理解堆内存管理,动态数组创建与释放。
Intermediate 中级Memory layout of 1D and 2D arrays, array-pointer relationships, temperature average calculations. 一维数组、二维数组的内存布局,数组与指针的关系,温度平均值计算。
Beginner 初级String operations, file extension processing, string combination, understanding the importance of string terminators. 字符串操作、文件后缀处理、字符串组合,理解字符串终止符的重要性。
Intermediate 中级Recursive function principles, stack frame management, basic cases and termination conditions, countdown launch program. 递归函数原理、栈帧管理、基础案例与终止条件,倒计时发射程序。
Advanced 高级