15-213 Introduction to Computer Systems
Lecture 3: Integers

  • Reading: Ch 2.2-2.3
  • Slides: none
  • Video: Lec 3
  • Code: show-bytes.c
  • Concepts:
    • Unsigned numbers, modular arithmetic
    • Abelian groups and rings
    • Two's complement representation
    • Integral types in C
    • Type conversions
    • Sign extension
    • Arithmetical and logical shift
  • Previous lecture: Bits and Bytes
  • Next lecture: Floating Point

[ Home | Schedule | Assignments | Exams | Lab Machines | Resources ]
[ Textbook | Autolab ]
[ Newsgroup | Blackboard ]

fp@cs
Frank Pfenning