早起看CMU15213课程第一天

早起看CMU15213课程第一天,第1张

早起看CMU15213课程第一天 视频链接

双语字幕
https://www.bilibili.com/video/av31289365

单英文 or 单中文字幕
https://www.bilibili.com/video/BV1Rv411e7jE?from=search&seid=905349371269797900&spm_id_from=333.337.0.0

课件链接

http://csapp.cs.cmu.edu/3e/labs.html

课程练习链接

https://www.cs.cmu.edu/~213/labs.html

配套书籍

Computer Systems A Programmer’s Perspective
CSAPP
计算机组成原理

今天进度

P1 23:14

笔记

how numbers are represented in cuomputers

linux 使用 GDB
macOS 使用 LLDB


5000 x 5000 产生 overflow 现象

整数integer arithmetics 符合 assciative 交换 和 communative 结合
浮点数float 不符合

数组越界访问

课程大纲 第一部分

Number 数组
number of representation 表示
number properties 属性

第二部分

machine level programming meaning 机器水平的编程含义

the instruction are get executate by the computer 计算机指令
asembly language 汇编语言
object code in bit level 二进制编码
how code C turned into machine code and get executed on machine
C语言->机器码

第三部分

interl processors 英特尔处理器的汇编语言
X86-64 64-BIT instruction set 指令集合

第四部分

memory system 内存系统
layered memory 分层存储系统 provide high performance and high capacity
高性能 大存储

第五部分

understand memory refer errors in C C语言引用错误
and manifestation 表现

陌生单词

electronic copies 电子版
pirated versions 盗版
roll out 推广
tag team 搭档
logitics 统筹安排
text editor 文本编辑器
type 输入
digits 数字
undergradulate curriculum 本科课程
execute your code 执行代码
triccks 技巧
stepping stone 基石
our sort of specialized by topical area 我们专注于一些有关主题的方面
computer networking 计算机网络
operatings system *** 作系统
embedded system 嵌入式系统
eighth grade algebra 八年级的代数课
square a number 计算一个数的平方
at least zero 最小是0
imaginary number 虚数
imaginary 虚构的,想象的
integer 整数
a real number 实数
positive value or perhas zero 非负数
floats a presentation of floating-point number float类型所代表的的浮点数
Macintosh OS
peculiar number 奇怪的数字
peculair 特有的,独有的
negative 负数
numbers to be represented as 32-bit values 期待数字32bit的值
bit pattern 格式
multiplication 乘法
normal expectation 正常期待
integer arithmetic 整数运算
overflow 溢出
arithmetics 算术,算法,运算
product 算式
move the 300 from the beginning of the product to the end of the product
将300从算式的前面 移动到后面
associativity 结合律
commutativity 交换律
funny-looking result 有趣的结果
it obeys some of the traditional mathmematical properties 遵循常规运算性质
have figured both in the interger arithemtic 整数运算中计算出
it is associative and commutative 符合交换律和结合律
-e20 minears e twinteen
finite representations 有限的组合
compromise 妥协
roundoff problems 舍入问题
overflow floating point 浮点符号溢出
increment set by one 增加一
positive thrust 正向推力
security vulnerablitities 安全漏洞实例
corner cases 临界情况
nuances 细微的差别
text verion 文本版本
C compiler C编辑器
hierarchical memory system 分层存储系统 HMS
hierachical 等级的 分级的,分层次的
memory referencing error 内存引用错误
struct 结构
array 数组
double precision floating point number 双精度浮点数
arrgument i 参数i
assign a 3.14 to element of this structure
将3.14分配给结构体的元素

set a of two to this numbers 将这数组设置为2

i equal to 3 i等于3
program crashes 程序崩溃
something quirky is going on 奇怪的事情发生了
quirky 离奇的 古怪的
data is laid out in memory 数据和内存中的布局有关
how is accessed 如何访问
the features of C and C++ 特性
bound checking 边界检查
reference 访问
how structures are implemented and weighed out
结构如何实现 和 排序
blocks in this vertical chain represents four bytes
垂直链中的每块代表4字节
modify that array as deisgned 按设计好的修改数组
code that does invalid stuff 非法代码

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/zaji/5698877.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-12-17
下一篇 2022-12-17

发表评论

登录后才能评论

评论列表(0条)

保存