作者neoneon (红茶を饮む程度の能力)
看板NCTU-Teacher
标题Fw: [心得] 蔡文锦 组合语言
时间Tue Jul 12 00:47:36 2016
※ [本文转录自 neoneon 信箱]
作者:
[email protected] ("爱宕有机奈米负离子猫")
标题: [心得] 蔡文锦 组合语言
时间: Sun Jul 10 09:26:10 2016
作者: PkmX (阿猫) 看板: NCTU-Teacher
标题: [心得] 蔡文锦 组合语言
时间: 2011/07/07 Thu 20:17:49
发心得文上瘾了(?)
⊕课名⊕
组合语言与系统程式
▲教授▲
资工系 蔡文锦教授 (请不要和蔡文能或蔡文祥搞混了^.<)
★修课年度★(请加注开课单位 如:大三通识、XX系选修、XX所)
99下 (资工系二下必修)
£教了什麽£(课程大概内容。或是额外学会了什麽东西。)
我直接把讲义的大纲列出来,基本上大纲已经把会教的东西写得很详细了:
组合语言部份
Ch.2 IA-32 Processor Architecture
- Basic microcomputer design
- Instruction execution cycle
- Addressable memory
- Registers
Ch.3 Assembly Language Fundamentals
- Basic elements of assembly language
- Example: adding and substracting integers
- Assembling, linking, and running programs
- Defining data
- Symbolic constants
Ch.4 Data Transfers, Addressing and Arithmetic
- Data transfer instructions
- Addition and subtraction
- Data-related operators and directives
- Indirect addressing
- JMP and LOOP instructions
Ch.5 Procedures
- Linking to an external library
- The book's link library
- Stack operations
- Defining and using procedures
- Program design using procedures
Ch.6 Conditional Processing
- Boolean and comparison instructions
- Conditional jumps
- Conditional loop instructions
- Conditional structures
- Application: finite-state machines
- Decision directives
Ch.7 Integer Arithmetic
- Shift and rotate instructions
- Shift and rotate applications
- Multiplication and division instructions
- Extended addition and bubtraction
Ch.8 Advanced Procedures
- Stack frames
- Recursion
- .MODEL directive
- INVOKE, ADDR, PROC, and PROTO
- Creating multimodule programs
Ch.9 Strings and Arrays
- String primitive instructions
- Selected string procedures
- Two-dimensional arrays
- Searching and sorting integer arrays
Ch.10 Structures and Macros
- Structures
-- Defining structures
-- Declaring structure variables
-- Referencing structure variables
-- Example: display the system time
-- Nested structures
-- Declaring and using unions
- Macros
-- Introducing macros
-- Defining macros
-- Invoking macros
-- Macro examples
-- Nested macros
-- Example program: wrappers
Ch.13 High-level Language Interface
- Introduction
- Inline assembly code
- C calls assembly procedures
- Assembly calls C procedures
SSE2 Instruction Set (补充)
- Introduction to SSE2
- SSE2 instructions
- Matrix multiplication with SSE2
系统程式部份
Ch.1 Background
- Introduction
- Relation to machine architecture
- SIC machine architecture
- SIC/XE machine architecture
- IA-32 architecture (CISC)
- PowerPC architecture (RISC)
Ch.2 Assemblers
- SIC assembly
- Assembler algorithms and data structures
- Instruction formats and addressing modes
- Program relocation
- Program blocks
- Assembler design options
- One-pass assemblers
◆上课方式◆(投影片、团体讨论、老师教学风格)
上课是用投影片,投影片写得非常清晰明了,也有很多范例,
我个人认为应该(?)是不用另外买书啦,不过要买来自己念也是ok,
而教授基本上就是照着投影片循序渐进教,认真听应该都会懂,
不懂的话可以尽量发问^.<
▼考试作业▼
这学期课堂上有八次随堂小考,基本上都是考简单的观念,
只要到场就算交白卷(记得写名子^.<)也有基本点名分,
而且教授如果看大家好像都不太会写,会开放给大家讨(ㄔㄠ)论(ㄒ一ˊ)答案(?),
所以小考的部份应该是很好拿分,记得要去上课就是了XD
大考的话有期中和期末考(笔试),另外还有一次上机考,
这学期期中考难度算适中,上机考听说有点难(?),期末考好像有点放水(个人感觉),
上机考因为同学分数不是很理想,所以还另外有补考,可以加到60分,
此外还有三个作业,基本上只要理解课堂上的东西就会写,
最後有一个final project是用SSE2做矩阵乘法的加速,
顺便练习如何将C和assembly的程式link在一起
¥其他¥(是否注重出席率or严禁迟到?需要的基础?)
上课会有随堂小考,有去就有点名分,至於需要的基础,
对电脑有点认识或修过计算机科学概论的同学应该都可以修吧,
另外如果懂一点C应该会很好上手
¢最後想说的话¢
老师人很好,助教也很认真!!!
对组合语言有点认识的同学就会知道,
其实不同平台不同的组译器的syntax和directives是不一样的,
这门课所有的作业和考试都必须使用MASM完成,
如果你是UNIX-like的作业系统的爱用者(像我),
可能要找别台机器或dual boot或用虚拟机器灌windows和visual studio来用
&谁适合修这门课&
资工二下的同学
想修好组语的同学
想要集满资工系蔡文.系列教授的同学 (误
不想要组语让你永生难忘的同学
--
※ Origin: 交大次世代(bs2.to)
◆ From: 114-25-248-218.dynamic.hinet.net
推 LyHsueh:推荐这篇文章 07/07 20:18
推 shaform:推荐这篇文章 07/07 20:18
推 BENQ:推荐这篇文章 07/07 20:23
推 mike1026915:推荐这篇文章 07/07 20:43
推 jarhys:推荐这篇文章 07/07 20:44
推 handsomeme:推荐这篇文章 07/07 20:47
推 gxlkhhc:推荐这篇文章 07/07 20:47
推 conanex:组语心得文三缺一 07/07 20:47
推 sa411022:原PO都不来上课还拿100 07/07 20:59
推 PSP:推荐这篇文章 07/07 21:13
推 soulinlove:推荐这篇文章 07/07 22:02
推 sticky84:推荐这篇文章 07/07 22:20
推 kougousei:好老师推 教得好 给分甜 夫复何求 07/07 22:21
推 ahsuan:推荐这篇文章 07/07 23:10
作者从 114-25-248-218.dynamic.hinet.net 修改文章於 2011/07/08 Fri 00:02:04
推 always112358:推荐这篇文章 07/08 09:43
推 b2305911:推荐这篇文章 07/08 10:03
天 michael01800:推荐这个好老师!!! 教的好~给分又很善良~!!! 07/10 12:36
推 PSP:老师超正! 07/10 12:40
推 aprilsheep:推荐这篇文章 07/13 02:35
推 xatier:推 Unix-like 12/19 22:28
※ 发信站: 批踢踢实业坊(ptt.cc)
※ 转录者: neoneon (106.105.175.48), 07/12/2016 00:47:36