` 给文本添加标注
18 |
19 | `` 使字体相对于原本字体大一点
20 |
21 | `` 无序列表。列表中` `定义每一行。
22 |
23 | `
`有序列表。同上
24 |
25 | `
`创建定义列表,` `定义列表中的每一行,` `标签进行缩进。
26 |
27 |
28 | ----------------------------------------------------------------------------
29 | 参考资料:[Web label大全](http://www.w3school.com.cn/tags/index.asp)
30 |
--------------------------------------------------------------------------------
/Web front/WEB前端复习笔记/1511230918281.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Inger-Chao/Mylearning/948b9d0a697a2fa3d34396004c4b1cb86c3dd07e/Web front/WEB前端复习笔记/1511230918281.png
--------------------------------------------------------------------------------
/Web front/WEB前端复习笔记/1511240305928.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Inger-Chao/Mylearning/948b9d0a697a2fa3d34396004c4b1cb86c3dd07e/Web front/WEB前端复习笔记/1511240305928.png
--------------------------------------------------------------------------------
/Web front/WEB前端复习笔记/1511248366504.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Inger-Chao/Mylearning/948b9d0a697a2fa3d34396004c4b1cb86c3dd07e/Web front/WEB前端复习笔记/1511248366504.png
--------------------------------------------------------------------------------
/Web front/WEB前端复习笔记/1511249345876.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Inger-Chao/Mylearning/948b9d0a697a2fa3d34396004c4b1cb86c3dd07e/Web front/WEB前端复习笔记/1511249345876.png
--------------------------------------------------------------------------------
/Web front/WEB前端复习笔记/1511249387435.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Inger-Chao/Mylearning/948b9d0a697a2fa3d34396004c4b1cb86c3dd07e/Web front/WEB前端复习笔记/1511249387435.png
--------------------------------------------------------------------------------
/Web front/WEB前端复习笔记/1511340922398.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Inger-Chao/Mylearning/948b9d0a697a2fa3d34396004c4b1cb86c3dd07e/Web front/WEB前端复习笔记/1511340922398.png
--------------------------------------------------------------------------------
/Web front/WEB前端复习笔记/1511354979388.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Inger-Chao/Mylearning/948b9d0a697a2fa3d34396004c4b1cb86c3dd07e/Web front/WEB前端复习笔记/1511354979388.png
--------------------------------------------------------------------------------
/Web front/WEB前端复习笔记/1511365622432.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Inger-Chao/Mylearning/948b9d0a697a2fa3d34396004c4b1cb86c3dd07e/Web front/WEB前端复习笔记/1511365622432.png
--------------------------------------------------------------------------------
/Web front/WEB前端复习笔记/1511368296102.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Inger-Chao/Mylearning/948b9d0a697a2fa3d34396004c4b1cb86c3dd07e/Web front/WEB前端复习笔记/1511368296102.png
--------------------------------------------------------------------------------
/Web front/WEB前端复习笔记/1511368693285.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Inger-Chao/Mylearning/948b9d0a697a2fa3d34396004c4b1cb86c3dd07e/Web front/WEB前端复习笔记/1511368693285.png
--------------------------------------------------------------------------------
/Web front/WEB前端复习笔记/1511368732199.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Inger-Chao/Mylearning/948b9d0a697a2fa3d34396004c4b1cb86c3dd07e/Web front/WEB前端复习笔记/1511368732199.png
--------------------------------------------------------------------------------
/Web front/WEB前端复习笔记/1511369302771.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Inger-Chao/Mylearning/948b9d0a697a2fa3d34396004c4b1cb86c3dd07e/Web front/WEB前端复习笔记/1511369302771.png
--------------------------------------------------------------------------------
/Web front/WEB前端复习笔记/1511369398446.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Inger-Chao/Mylearning/948b9d0a697a2fa3d34396004c4b1cb86c3dd07e/Web front/WEB前端复习笔记/1511369398446.png
--------------------------------------------------------------------------------
/Web front/WEB前端复习笔记/HTML.md:
--------------------------------------------------------------------------------
1 | ## HTML
2 | #### 基本结构
3 | 由head和body两个部分组成。中可定义标题、元信息、样式等;中可定义段落、标题字、超链接、脚本、表格、表单等元素,主体内容是网页要显示的信息。
4 | ```html
5 |
6 |
7 |
8 |
9 | ```
10 |
11 | *页面标题* `Hello`
12 | *元信息*:描述一个HTML网页文档的属性。例如作者、日期和时间、关键词、页面刷新等。
13 | ```html
14 |
15 |
16 | ```
17 | **`name` 与`content`**属性用于描述网页,便于搜索引擎机器人查找分类。
18 | **`http-equiv`与`content`**用于提供HTTP协议的响应头报文,通常为页面加载前提供给浏览器等设备使用。
19 |
20 | | 属性 | 值 | 描述 |
21 | |:------|---:-|---:-|
22 | |http-equiv|content-type|提供编码信息|
23 | ||refresh|刷新与跳转页面|
24 | ||no-cache|页面缓存|
25 | ||expires|网页缓存过气时间
26 | |name|description|网页简短描述|
27 | ||keywords|网页关键词|
28 | ||generator|定义编辑器|
29 | |scheme||用于翻译content属性值的格式|
30 |
31 | *主体body*
32 | ```htmlbars
33 |
37 | ```
38 | 
39 |
40 |
41 | #### 语法
42 | * 单个标签`<标记名称>`或`<标记名称/>` 常用:`
换行` `
水平分割线`
43 | * 成对标记 `<标记名称>内容标记名称>`
44 | * 注释
45 | ```html
46 | . !
47 |
48 | ```
49 | *标题字* `-`
50 | *空格* :通过代码控制来添加` `
51 | *特殊字符*
52 | 
53 | *常见文本修饰*
54 | 
55 | *字体*
56 | ``
57 | *段落*会自动在其前后创建一些空白
58 | `
`
59 | ~~*居中显示*`居中显示的内容`~~
60 | *预格式化标记* ``浏览器完整保留设计者在源文件中所定义的格式。
61 |
62 | ##### 列表
63 | |列表类型|标记符号|
64 | |:----------|---:----|
65 | |无序列表|``|
66 | |有序列表|`
`|
67 | |定义列表|`
`|
68 | |~~菜单列表~~|~~``~~|
69 | |~~目录列表~~|~~``~~|
70 |
71 | *无序列表(Unordered List)*
72 |
73 | ```html
74 |
75 | - 项目名称
76 | - 项目名称
77 | - 项目名称
78 |
79 |
4 |
5 |
6 | 无标题文档
7 |
8 |
9 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/Web front/homework/TEST23.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 无标题文档
6 |
12 |
13 |
14 | CSS应用
15 |
16 |
17 |
18 | HTML标记标签通常被称为HTML标签(HTML Tag).HTML标签是由尖括号包围的关键词,HTML标签通常是成对出现的,标签对中第一个标签是开始标签,第二个标签是结束标签,开始和结束标签也被称为开放标签和闭合标签HTML标记标签通常被称为HTML标签(HTML Tag).HTML标签是由尖括号包围的关键词,HTML标签通常是成对出现的,标签对中第一个标签是开始标签,第二个标签是结束标签,开始和结束标签也被称为开放标签和闭合标签。
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/Web front/homework/TEST24.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 无标题文档
6 |
7 |
8 |
9 |
课程成绩评定
10 |
课程成绩为
11 |
成绩等级为
12 |
13 |
42 |
43 |
44 |
--------------------------------------------------------------------------------
/Web front/homework/TEST25.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 厂字型页面布局
6 |
7 |
8 |
9 |
12 |
13 |
16 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/Web front/homework/TEST26.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 无标题文档
6 |
7 |
8 | 计算1+1/2+1/3+1/4+1/5+...+1/n的和
9 | 连续 个倒数的和
10 | 保留后两位数的结果为
11 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/Web front/homework/TEST27.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 教学信息反馈
6 |
7 |
8 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/Web front/homework/TEST28.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Random,Sum
6 |
7 |
8 | 计算n个随机2位整数的和
9 | 个随机2位数整数
11 | 个随机2位数整数的和为
14 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/Web front/homework/TEST29.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 无标题文档
6 |
7 |
8 |
9 | 会议日程
10 |
11 |
12 | | 上午 |
13 | 8:00-9:50 |
14 | 专家报告 |
15 |
16 |
17 | | 10:00-12:00 |
18 | 学术交流 |
19 |
20 |
21 | | 12:30 |
22 | 体会 |
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/Web front/homework/TEST2_TitleText.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 标题字应用
6 |
7 |
8 | Web前端开发技术
9 |
10 |
11 | - Html
12 | - CSS
13 | - JavaScript
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/Web front/homework/TEST30.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 无标题文档
6 |
7 |
8 | 计算3+6+9+…+36的和
9 | 参与运算的数:
10 | =
11 |
12 |
13 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/Web front/homework/TEST31.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 无标题文档
6 |
46 |
47 |
48 |
49 |
50 |
51 |
左边
52 |
中间
53 |
右边
54 |
55 |
56 |
57 |
58 |
59 |
--------------------------------------------------------------------------------
/Web front/homework/TEST32.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 计算圆的面积
6 |
7 |
8 |
9 | 计算圆的面积
10 | 圆的半径:
11 | 圆的面积:
12 |
13 |
14 |
15 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/Web front/homework/TEST33.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 留言簿
6 |
7 |
8 | 留言簿
9 | 姓名:
10 | 密码:
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/Web front/homework/TEST34.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 无标题文档
6 |
7 |
8 | 计算N!
9 | !=
10 |
11 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/Web front/homework/TEST35.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 无标题文档
6 |
7 |
8 |
9 |
10 | | 教材表 |
11 |
12 |
13 | | 序号 |
14 | 教材名称 |
15 | 数量(本) |
16 |
17 |
18 | | 1 |
19 | 软件工程 |
20 | 64 |
21 |
22 |
23 | | 2 |
24 | 数据结构 |
25 | 54 |
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/Web front/homework/TEST36.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 无标题文档
6 |
7 |
8 | 计算1+2+3+4+5+...+N的和
9 |
10 |
11 | =
12 |
13 |
14 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/Web front/homework/TEST3_list_css.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
23 | 自定义列表与CSS
24 |
25 |
26 |
27 |
软件工程
28 |
29 | - Web程序设计
30 | - 数据库原理
31 | - 计算机网络
32 |
33 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/Web front/homework/TEST4_caipiao.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
14 | 福利彩票投注助手
15 |
16 |
17 |
18 |
27 |
45 |
46 |
47 |
--------------------------------------------------------------------------------
/Web front/homework/TEST5_cssText.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 格式化文本
6 |
7 | HTML
8 | 早期的HTML语法被定义成比较松散的规则,以有助于不熟悉网络出版的人采用。网页浏览器接受了这个现实,并且可以现实语法不严格的网页。
9 |
10 | 版权所有° 树人工作室
11 | Email:Joki233@163.com
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/Web front/homework/TEST6_CSS+DIV.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CSS+DIV
6 |
7 |
8 | 头部
9 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/Web front/homework/TEST7_gradeTable.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 表格应用
6 |
7 |
8 |
9 |
10 | | 序号 |
11 | 学号 |
12 | 姓名 |
13 | 第一学期成绩 |
14 |
15 | | 英语 |
16 | 高数 |
17 | 学科导论 |
18 | 就业 |
19 | 总分 |
20 |
21 |
22 |
23 | | 1 |
24 | 1507084209 |
25 | 陈柳梅 |
26 | 76 |
27 | 61 |
28 | 82 |
29 | 85 |
30 | 305 |
31 |
32 |
33 | | 2 |
34 | 1507084210 |
35 | 李丹妮 |
36 | 66 |
37 | 37 |
38 | 85 |
39 | 85 |
40 | 305 |
41 |
42 |
43 | | 3 |
44 | 1507084211 |
45 | 谭诗雨 |
46 | 66 |
47 | 37 |
48 | 85 |
49 | 85 |
50 | 305 |
51 |
52 |
53 | | 4 |
54 | 1507084212 |
55 | 赵琦 |
56 | 66 |
57 | 61 |
58 | 85 |
59 | 85 |
60 | 305 |
61 |
62 |
63 |
64 |
65 |
--------------------------------------------------------------------------------
/Web front/homework/TEST8_username.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 表单验证
6 |
7 |
8 | 用户名:
9 |
10 |
11 |
12 |
13 |
14 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/Web front/homework/TEST9_newcourse.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 新开课程
6 |
10 |
11 |
12 |
13 |
14 |
新开课程
15 |
16 | - 大学英语
17 | - 高等数学
18 | -
19 | -
20 | - 计算机科学与技术
21 | - Web前端开发技术
22 | - 大学物理
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/Web front/homework/div.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | DIV布局-1507084212赵琦
6 |
54 |
55 |
56 | #Container
57 |
64 |
67 |
68 |
69 |
70 |
71 |
--------------------------------------------------------------------------------
/Web front/homework/hover.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PIC DISPLAY
6 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/Web front/homework/img/0.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Inger-Chao/Mylearning/948b9d0a697a2fa3d34396004c4b1cb86c3dd07e/Web front/homework/img/0.jpg
--------------------------------------------------------------------------------
/Web front/homework/img/1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Inger-Chao/Mylearning/948b9d0a697a2fa3d34396004c4b1cb86c3dd07e/Web front/homework/img/1.jpg
--------------------------------------------------------------------------------
/Web front/homework/img/2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Inger-Chao/Mylearning/948b9d0a697a2fa3d34396004c4b1cb86c3dd07e/Web front/homework/img/2.jpg
--------------------------------------------------------------------------------
/Web front/homework/img/3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Inger-Chao/Mylearning/948b9d0a697a2fa3d34396004c4b1cb86c3dd07e/Web front/homework/img/3.jpg
--------------------------------------------------------------------------------
/Web front/homework/img/4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Inger-Chao/Mylearning/948b9d0a697a2fa3d34396004c4b1cb86c3dd07e/Web front/homework/img/4.jpg
--------------------------------------------------------------------------------
/Web front/homework/img/5.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Inger-Chao/Mylearning/948b9d0a697a2fa3d34396004c4b1cb86c3dd07e/Web front/homework/img/5.jpg
--------------------------------------------------------------------------------
/Web front/homework/img/bottom.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 无标题文档
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/Web front/homework/img/left.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 无标题文档
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/Web front/homework/img/right.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 无标题文档
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/Web front/homework/img/top.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 无标题文档
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/Web front/homework/syllabus.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 课程表样式
6 |
15 |
16 |
17 |
18 |
19 |
20 |
21 | | |
22 | 星期一 |
23 | 星期二 |
24 | 星期三 |
25 | 星期四 |
26 | 星期五 |
27 |
28 |
29 |
30 | | 上午 |
31 | |
32 | |
33 | |
34 | |
35 | |
36 |
37 |
38 | | |
39 | |
40 | |
41 | |
42 | |
43 |
44 |
45 | | |
46 | |
47 | |
48 | |
49 | |
50 |
51 |
52 | | |
53 | |
54 | |
55 | |
56 | |
57 |
58 |
59 |
60 |
61 | | 午休 |
62 |
63 |
64 |
65 |
66 | | 下午 |
67 | |
68 | |
69 | |
70 | |
71 | |
72 |
73 |
74 | | |
75 | |
76 | |
77 | |
78 | |
79 |
80 |
81 | | |
82 | |
83 | |
84 | |
85 | |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
--------------------------------------------------------------------------------
/assembly/寄存器.md:
--------------------------------------------------------------------------------
1 | ## 寄存器
2 |
3 | **CPU中的器件**
4 |
5 | - *运算器*:信息处理
6 | - *寄存器*:信息存储
7 | - *控制器*:控制各种器件进行工作
8 | - *内部总线*:连接各种器件,进行数据的传送
9 |
10 | ### 通用寄存器:AX/BX/CX/DX
11 |
12 | 8086CPU的所有寄存器都是16位,可存放两个字节。XX可分为高八位为XH,低八位为XL。
13 |
14 | - *AX(Accumulator)* :累加器。I/O、乘除运算
15 | - *BX(Base)*:基址寄存器。提供存储器地址
16 | - CX(Counter)计数器
17 | - DX(Data)数据寄存器:暂存数据,输入输出时,提供I/O地址
18 |
19 | `在进行数据传送或运算时,指令的两个操作对象的位数应当是一致的`
20 |
21 | **物理地址**:内存单元在内存中的唯一的地址。
22 |
23 | ***16位CPU的含义***
24 |
25 | - 运算器一次最多可以处理16位数据
26 | - 寄存器最大宽度为16位
27 | - 寄存器与运算器之间的通路为16位
28 |
29 | ***8086CPU给出20位物理地址的方法***
30 |
31 | 1. CPU中的相关部件提供两个16位的地址,一个称为**段地址**,另一个称为**偏移地址**
32 | 2. 段地址和偏移地址通过内部总线送入地址加法器
33 | 3. 地址加法器中**物理地址=段地址×16+偏移地址**
34 | 4. 地址加法器把物理地址送到**I/O控制电路**,IO控制电路再送到**地址总线**,地址总线再送到**存储器**
35 |
36 | ***段的概念***:地址连续的内存单元。段地址×16为起始地址,偏移地址定义段中的内存单元。
37 |
38 | `段的起始地址一定是16的倍数` 偏移地址为16,16位寻址能力为64KB,所以`段的长度最大为64KB`。
39 |
40 | ### 指针寄存器:SP/BP/SI/DI
41 |
42 | - *SP*:堆栈指针寄存器。
43 | - 入栈:`数->(SP);SP<--SP-2`
44 | - 出栈:`(SP)-> ;SP<-SP+2`
45 | - *BP*:基址指针。
46 | - *SI/DI*:变址指针。
47 |
48 | ### 标志寄存器(PSW/FLAGS)
49 |
50 | - 记录运算结果
51 | - 无符号数运算
52 | - *ZF*:零标志。ZF=1,运算结果为0
53 | - *CF*:进/借位标志。
54 | - *AF*:辅助进位标志。低四位向第五位的进位(BCD调整时使用)。
55 | - *PF*:奇偶标志。低八位中1的个数为偶数 PF=1。`偶奇校验`
56 | - 带符号数运算
57 | - SF:符号。SF<-最高位,SF=1为负。
58 | - OF:溢出标志。OF=1,运算结果是否正确?
59 | - 控制
60 | - *DF*:方向标志。串操作时有用。
61 | - DF=0:地址指针递增
62 | - DF=1:地址指针递减
63 | - *IF*:可屏蔽终端允许标志。
64 | - TF:陷阱标志。TF=1,只执行一条,中断,执行陷阱程序。用于调试程序。
65 |
66 | ### 段寄存器:CS/DS/SS/ES
67 |
68 | - *CS*:代码段寄存器。正在运行的程序段首地址
69 | - *DS*:数据段寄存器。正在访问的数据段首地址
70 | - *SS*:堆栈段寄存器。`堆栈:SS:SP(BP)`
71 | - *ES*:附加段寄存器。`串目标:ES:DI`
72 |
73 | ### ***CS和IP***:指示CPU当前要读取指令的地址
74 |
75 | ***8086读取执行一条指令的过程***
76 |
77 | 1. CS、IP中的内容送入**地址加法器**,地址加法器完成物理地址=CS×16+IP
78 | 2. 地址加法器把物理地址送入**输入输出控制电路**
79 | 3. 输入输出控制电路把物理地址送到**AB**
80 | 4. 从该物理地址单元开始存放的机器指令通过**DB**被送入**CPU**
81 | 5. 输入输出控制电路将机器指令送入**指令缓冲器**
82 | 6. IP的值**自动增加**读入指令的长度。转到步骤1 。
83 |
84 | *修改CS、IP的值*:强制跳转指令。`jmp 段地址:偏移地址`
85 |
86 | *代码段*:长度为N(N<=64KB)的一组代码,存放在一组地址连续、起始地址为16的倍数的内存单元中。执行代码段时,CS:IP指向代码段中的第一条指令的首地址。
87 |
--------------------------------------------------------------------------------
/nodejs/basic/block.js:
--------------------------------------------------------------------------------
1 | var fs = require('fs')
2 | // 阻塞代码
3 | // var data = fs.readFileSync('input.txt')
4 | // console.log(data.toString());
5 |
6 | fs.readFile('input.txt', function(err, data){
7 | if(err){
8 | console.error(err);
9 | return;
10 | }
11 | console.log(data.toString());
12 | });
13 | console.log("End");
14 |
15 |
--------------------------------------------------------------------------------
/nodejs/basic/buffer.js:
--------------------------------------------------------------------------------
1 | // Buffer 类:用于创建一个存放二进制数据的缓存区
2 | // 位于 Node 内核
3 | /*
4 | node 支持的字符编码:ascii, utf8, utf18le...8 种
5 | */
6 | // allocate
7 | // const: read only variable, must be initialized
8 | // var: 全局变量
9 | // let: 局部变量,可以不初始化
10 | const buf1 = Buffer.alloc(10);
11 | const buf2 = Buffer.alloc(11, 1);
12 | // allocUnsafe faster than allocate, but the returned buffer may contain older data
13 | // that needs to overwrite by fill() or write().
14 | const buf3 = Buffer.allocUnsafe(12);
15 | const totalLength = buf1.length + buf2.length + buf3.length;
16 | console.log(totalLength)
17 | const bufA = Buffer.concat([buf1, buf2, buf3], totalLength);
18 | console.log(bufA);
19 |
20 | buf3.fill('h');
21 | console.log(buf3.toString());
22 |
23 | // Buffer.from(array): allocates a new buffer using an array of bytes in the range 0-255.
24 | const buf4 = Buffer.from([0x1, 0x75, 0x3]);
25 | console.log(buf4);
26 | const buf5 = Buffer.from("string");
27 | console.log(buf5.toString())
28 | buf5[0] = 0x61;
29 | console.log(buf5.toString());
30 |
31 | const arr = new Uint16Array(2);
32 | arr[0] = 1;
33 | arr[1] = 2;
34 | // buf6 shares the memory with arr
35 | const buf6 = Buffer.from(arr.buffer);
36 | console.log(buf6);
37 | arr[1] = 3;
38 | console.log(buf6);
39 |
40 | const ab = new ArrayBuffer(10);
41 | const buf7 = Buffer.from(ab, 4, 4);
42 | console.log("the length of buffer: " + buf7.length + ", the length of ArrayBuffer: " + ab.byteLength);
43 | const buf8 = Buffer.from('7468697320697320612074c3a97374', 'hex');
44 | console.log(buf8.toString('latin1'));
45 | console.log(buf8.indexOf('is'));
46 |
47 | const buf9 = Buffer.from('buffer');
48 |
49 | console.log("=====entries()======")
50 | for(const pair of buf9.entries()){
51 | console.log(pair);
52 | }
53 |
54 | console.log("=====keys()======")
55 | for(const key of buf9.keys()){
56 | console.log(key);
57 | }
58 |
59 | const json = JSON.stringify(buf4);
60 | console.log(json);
61 | const copy = JSON.parse(json, (key, value) => {
62 | return value && value.type == 'Buffer'?
63 | Buffer.from(value.data) :
64 | value;
65 | });
66 |
67 | console.log(copy);
--------------------------------------------------------------------------------
/nodejs/basic/event.js:
--------------------------------------------------------------------------------
1 | var events = require('events');
2 | // EventEmitter 核心是事件出发与事件监听器功能的封装
3 | var eventEmitter = new events.EventEmitter();
4 |
5 | eventEmitter.on('delay_event', function(){
6 | console.log("delay event was invoked.");
7 | });
8 |
9 | setTimeout(function () {
10 | eventEmitter.emit('delay_event');
11 | }, 3000);
12 |
13 | var emitter = new events.EventEmitter();
14 | var callback1 = function(arg1, arg2){
15 | console.log('listener1', arg1, arg2);
16 | };
17 | var callback2 = function (arg1, arg2){
18 | console.log('listener2', arg1, arg2);
19 | };
20 | var callback3 = function(arg1){
21 | console.log('listener3', arg1);
22 | }
23 | emitter.once('someEvent', callback1);
24 | emitter.on('someEvent', callback2);
25 | console.log(emitter.listenerCount('someEvent') + " 个监听器监听连接事件。");
26 | emitter.emit('someEvent', 'Inger', 'Emitter1');
27 | console.log(emitter.listenerCount('someEvent') + " 个监听器监听连接事件。");
28 | // emitter.setMaxListeners(2);
29 | emitter.removeListener('someEvent', callback2);
30 | emitter.on('someEvent', callback3);
31 | console.log(emitter.listenerCount('someEvent') + " 个监听器监听连接事件。");
32 | emitter.emit('someEvent', 'Inger2', 'Emitter2')
33 | emitter.emit('error', function(){
34 | console.log('error');
35 | });
36 | console.log("End");
37 |
--------------------------------------------------------------------------------
/nodejs/basic/event_loop.js:
--------------------------------------------------------------------------------
1 | var events = require('events');
2 | var eventEmitter = new events.EventEmitter();
3 |
4 | var connectHandler = function connected() {
5 | console.log('connect success');
6 | eventEmitter.emit('data_received');
7 | }
8 | // connection event -> connectHandler
9 | eventEmitter.on('connection', connectHandler);
10 | // eventEmitter.on('connection', function(){
11 | // console.log('connect success');
12 | // eventEmitter.emit('data_received');
13 | // })
14 |
15 | // data_received -> listener
16 | eventEmitter.on('data_received', function(){
17 | console.log('receive data successfully');
18 | })
19 |
20 | eventEmitter.emit('connection');
21 |
22 | console.log('end');
--------------------------------------------------------------------------------
/nodejs/basic/express.js:
--------------------------------------------------------------------------------
1 | // require() 引入本地安装的包
2 | var express = require('express');
3 |
4 |
--------------------------------------------------------------------------------
/nodejs/basic/hello.js:
--------------------------------------------------------------------------------
1 | console.log("Hello Node");
2 |
--------------------------------------------------------------------------------
/nodejs/basic/input.txt:
--------------------------------------------------------------------------------
1 | 菜鸟教程官网地址:www.runoob.com
--------------------------------------------------------------------------------
/nodejs/basic/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "basic",
3 | "version": "1.0.0",
4 | "description": "Practice to learn basic node syntax.",
5 | "main": "express.js",
6 | "dependencies": {
7 | "express": "^4.17.1"
8 | },
9 | "devDependencies": {},
10 | "scripts": {
11 | "test": "echo \"Error: no test specified\" && exit 1",
12 | "start": "node server.js"
13 | },
14 | "author": "",
15 | "license": "ISC"
16 | }
17 |
--------------------------------------------------------------------------------
/nodejs/basic/server.js:
--------------------------------------------------------------------------------
1 | var http = require("http");
2 | // listen 绑定端口
3 | http.createServer(function (request, response) {
4 |
5 | response.writeHead(200, {'Content-Type': 'text/plain'});
6 | response.end("Hello World");
7 | }).listen(4396);
8 | // 控制台 log
9 | console.log('Server running at http://127.0.0.1:4396/');
10 |
--------------------------------------------------------------------------------
/opencv/README.md:
--------------------------------------------------------------------------------
1 | * 邂逅OPENCV
2 |
--------------------------------------------------------------------------------
/opencv/part1/图片操作.md:
--------------------------------------------------------------------------------
1 | 显示图片
2 | ```c++
3 | Mat img = imread("1.jpg");
4 | imshow("Before", img);
5 | ```
6 | 腐蚀操作
7 | ```c++
8 | Mat element = getStructuringElement(MORPH_RECT, Size(15, 15));
9 | Mat dstImage;
10 | erode(img, dstImage, element);
11 | ```
12 | 图像模糊
13 | ```
14 | blur(img, dstImage, Size(7, 7));
15 | ```
16 | 边缘检测
17 | ```c++
18 | /*检测边缘*/
19 | Mat edge, grayImage;
20 | cvtColor(img, grayImage, CV_BGR2GRAY);//将原图转换为灰度图
21 | blur(grayImage, edge, Size(3, 3));//使用3x3内核降噪
22 | Canny(edge, edge, 3,9,3);//运行Canny算子
23 | ```
24 | 
25 |
--------------------------------------------------------------------------------
/opencv/part1/读取视频.md:
--------------------------------------------------------------------------------
1 | ```c++
2 | #include
3 | using namespace cv;
4 | int main() {
5 | //读入视频
6 | //VideoCapture capture("pink.avi");
7 | VideoCapture capture(0);//读取摄像头
8 |
9 | //循环显示每一帧
10 | while (1)
11 | {
12 | Mat frame;//定义一个Mat变量用于村塾每一帧的图像
13 | capture >> frame;//读取当前帧
14 | imshow("Video", frame);//显示当前帧
15 | waitKey(30);
16 | }
17 | return 0;
18 | }
19 | ```
20 |
--------------------------------------------------------------------------------
/opencv/part1/边缘检测.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Inger-Chao/Mylearning/948b9d0a697a2fa3d34396004c4b1cb86c3dd07e/opencv/part1/边缘检测.png
--------------------------------------------------------------------------------
/软件工程复习笔记/PAD图.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Inger-Chao/Mylearning/948b9d0a697a2fa3d34396004c4b1cb86c3dd07e/软件工程复习笔记/PAD图.png
--------------------------------------------------------------------------------
/软件工程复习笔记/PAD图的基本符号.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Inger-Chao/Mylearning/948b9d0a697a2fa3d34396004c4b1cb86c3dd07e/软件工程复习笔记/PAD图的基本符号.png
--------------------------------------------------------------------------------
/软件工程复习笔记/UML图形分类.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Inger-Chao/Mylearning/948b9d0a697a2fa3d34396004c4b1cb86c3dd07e/软件工程复习笔记/UML图形分类.png
--------------------------------------------------------------------------------
/软件工程复习笔记/各种逻辑覆盖间的关系.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Inger-Chao/Mylearning/948b9d0a697a2fa3d34396004c4b1cb86c3dd07e/软件工程复习笔记/各种逻辑覆盖间的关系.png
--------------------------------------------------------------------------------
/软件工程复习笔记/基本路径测试法控制流图.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Inger-Chao/Mylearning/948b9d0a697a2fa3d34396004c4b1cb86c3dd07e/软件工程复习笔记/基本路径测试法控制流图.png
--------------------------------------------------------------------------------
/软件工程复习笔记/数据流图基本符号.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Inger-Chao/Mylearning/948b9d0a697a2fa3d34396004c4b1cb86c3dd07e/软件工程复习笔记/数据流图基本符号.png
--------------------------------------------------------------------------------
/软件工程复习笔记/条件组合测试.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Inger-Chao/Mylearning/948b9d0a697a2fa3d34396004c4b1cb86c3dd07e/软件工程复习笔记/条件组合测试.png
--------------------------------------------------------------------------------
/软件工程复习笔记/测试程序.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Inger-Chao/Mylearning/948b9d0a697a2fa3d34396004c4b1cb86c3dd07e/软件工程复习笔记/测试程序.png
--------------------------------------------------------------------------------
/软件工程复习笔记/状态图画法.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Inger-Chao/Mylearning/948b9d0a697a2fa3d34396004c4b1cb86c3dd07e/软件工程复习笔记/状态图画法.png
--------------------------------------------------------------------------------
/软件工程复习笔记/电话系统状态转换图.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Inger-Chao/Mylearning/948b9d0a697a2fa3d34396004c4b1cb86c3dd07e/软件工程复习笔记/电话系统状态转换图.png
--------------------------------------------------------------------------------
/软件工程复习笔记/程序流程图.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Inger-Chao/Mylearning/948b9d0a697a2fa3d34396004c4b1cb86c3dd07e/软件工程复习笔记/程序流程图.png
--------------------------------------------------------------------------------
/软件工程复习笔记/系统结构图中模块类型.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Inger-Chao/Mylearning/948b9d0a697a2fa3d34396004c4b1cb86c3dd07e/软件工程复习笔记/系统结构图中模块类型.png
--------------------------------------------------------------------------------
/软件工程复习笔记/设计过程.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Inger-Chao/Mylearning/948b9d0a697a2fa3d34396004c4b1cb86c3dd07e/软件工程复习笔记/设计过程.png
--------------------------------------------------------------------------------
/软件工程复习笔记/软件开发生命周期.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Inger-Chao/Mylearning/948b9d0a697a2fa3d34396004c4b1cb86c3dd07e/软件工程复习笔记/软件开发生命周期.png
--------------------------------------------------------------------------------