- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
ch1-DataStorage
Computer Science : An overview
Part I
Machine Architecture
Chapter 1: Data Storage
1.1 Bits and Their Storage
1.1.1 boolean operation
1.1.2 gates and flip-flop
1.1.3 Hexadecimal notation
1.2 Main Memory
1.3 Mass Storage
1.4 Representing Information as Bit Patterns
Bit pattern
Data Inside the Computer
Bit
Bit 比特: Binary Digit (0 or 1). A bit (binary digit) is either one of two digits-0 and 1-which for now we will consider merely as symbols with no numeric meaning
Chapter 1: Data Storage
1.1 Bits and Their Storage
1.1.1 boolean operation 布尔运算
1.1.2 gates and flip-flop
1.1.3 Hexadecimal notation
1.2 Main Memory
1.3 Mass Storage
1.4 Representing Information as Bit Patterns
1-6
1.1.1 Boolean Operations 布尔运算
Boolean Operation : An operation that manipulates one or more true/false values
Specific operations
AND 与运算
OR 或运算
XOR (exclusive or) 异或运算
NOT 非运算
1-7
The Boolean operations AND, OR, and XOR (exclusive or)
Question
已知X =, Y =,求 X AND Y ?
Chapter 1: Data Storage
1.1 Bits and Their Storage
1.1.1 boolean operation
1.1.2 gates and flip-flop
1.1.3 Hexadecimal notation
1.2 Main Memory
1.3 Mass Storage
1.4 Representing Information as Bit Patterns
1-10
1.1.2.Gates and flip-flops
Gate 门: A device that produces the output of a Boolean operation when given the operation‘s input values is called a gate 对电信号执行基础运算的设备。接受一个或多个输入信号,产生一个输出信号。
现代计算机中的门是由晶体三极管构成的。相应称为与门,或门,非门。
1-11
Figure 1.2 A pictorial representation of AND, OR, XOR, and NOT gates as well as their input and output values
question
P26 No.1
Circuit 电路
由门组合而成,完成更复杂的任务。
计算机中的电路也可称为 “逻辑电路”
其中有种电路是用于存储数据,保存数据
1-14
Flip-flops触发器
Flip-flop: A circuit built from gates that can store one bit.
One input line is used to set its stored value to 1
One input line is used to set its stored value to 0
While both input lines are 0, the most recently stored value is preserved
1-15
Figure 1.3 A simple flip-flop circuit
Flip-flop
A circuit that keeps the output at state 0 or 1 until excited to shift t
文档评论(0)