- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * T * * * 交大資工 蔡文能 計概 * DDoS? ?2000年2月,美國入口網站雅虎(yahoo.com)、網路零售商、網路書店亞馬遜() 、新聞網站CNN.com等知名網站遭受駭客使用「分散式阻斷服務」(Distributed Denial-of-Service)的手法攻擊,在一秒鐘內由五十個不同的地點,以平常流量三十倍的資料襲擊,使得網路連接成功率低於百分之二,造成相關公司數十億美元的損失。 2000年12月,美國一家為許多電子商務公司代管客戶信用卡交易資料的網路公司C遭到駭客入侵並勒索,由於C並末支付駭客所要求的款項,導致五萬五千多筆信用卡資料被公布於網路上。 交大資工 蔡文能 計概 * 計算機概論 The C programming Language, by KR (Brian W. Kernighan and Dennis M. Ritchie ) (通稱 C 語言的聖經, 英文本或中文本皆可) . 蔡 文 能 tsaiwn@.tw Reference book for programming: (有興趣寫程式的才買) 電腦硬體五大單元 計算 2+3=? 單晶片微電腦 = CPU + Memory ALU + CU 合稱CPU 人會如何做? 電腦如何做? ALU 又稱 Data Path The ALU = Arithmetic Logic Unit Status Registers Operands Result MDR MAR To/from main memory R1 R2 Rn …. Functional Unit CMD MDR = Memory Data Register MAR = Memory Address Register CMD = Command OP code ALU + CU = CPU ALU 又稱 Data Path 運算單元 簡易電腦的架構 (Architecture) Program Counter (Instruction Pointer) address of next instruction to be executed Instruction Register hold instruction being executed Stack Pointer (這假想電腦沒有; 現代CPU都有) point to top of the STACK in memory CPU ALU register Program Counter Instruction Register 0 1 F Main Memory 00 01 02 FF 256 memory cells with a capacity of 8 bits each 16 general-purpose registers 2 special-purpose registers Bus Memory Bus ? I/O Bus ? I/O Devices ?? CPU 電腦執行程式指令的週期循環Program Execution(The machine cycle ) Machine cycle 1.Fetch 抓取下一個指令Retrieve next instruction from memory (as per program counter) and then increment program counter ++程式計數器 2. Decode Decode bit pattern in instruction register 3. Execute Perform action requested by instruction in the instruction register 思考如何執行JUMP Instruction B25816 Auto 變數佔用STACK區memory Auto 變數就是沒寫 static 的 Local 變數 CPU IP SP Instruction Pointer Stack Pointer 系統區 系統區 程式+靜態data Heap堆積 Stack堆疊 9876 . 9875 . . . . 0 2 1 Fetch, Decode, Ex
原创力文档


文档评论(0)