Ch2 - Chapter 2 2.1: Bits and Data Types o 2.1.1: The Bit...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Chapter 2 2.1: Bits and Data Types o 2.1.1: The Bit as the Unit of Information We represent the presence of voltage as “1”, and the absence as “0”. Each 0 and 1 is a bit, which is a shortened form of binary digit. The electronic circuits in the computer differentiate voltages close to 0 from voltages far from 0, not by absolute presence If the computer expects a voltage of 2.9 volts or a voltage of 0 volts, then a voltage of 2.6 will be taken as a 1 and 0.2 will be taken as a 0. To identify uniquely many things, it is necessary to combine multiple bits. o 2.1.2: Data Types There are many ways to represent the same value A particular representation is a data type if there are operations in the computer that can operate on information that is encoded in that representation Each ISA has its own set of data types and its own set of instructions that can operate on those data types. We will mainly use two data types: 2’s complement integers for representing
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 2

Ch2 - Chapter 2 2.1: Bits and Data Types o 2.1.1: The Bit...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online