|
15-213/18-243 Introduction to Computer Systems
Lecture 2: Bits, Bytes, and Integers
- Reading: Ch 2.1 - 2.3
- Slides:
- Notes:
- Code: none
- Concepts:
- Bits, bytes, words
- Hexadecimal notation
- Byte ordering
- Boolean algebra
- Bit vs logical operators in C
- Unsigned and signed (two's complement) integers
- Casting
- Expansion and truncation
- Addition, negation, multiplication, shifting
- Previous lecture: Overview
- Next lecture: Floating Point
|