CS208 Introduction to Computer Systems Monday, 19 January 2026 + Sign extension headaches - printing-bytes.c - int x = 0x80000000; x = x >> 4; ... + Homework questions + Recap - bits, bytes - integer bases: binary, decimal, octal, hexadecimal - C general structures - bitwise operators in C: ~, |, &, ^, >>, << - byte order ("endianness") - two's complement representation of integers - characters: international standards, codepoints, and character encodings + Pointers - Recall: what's an address? - C syntax: & to get an address int n = 17; int *p = &n; - C syntax: * to "dereference" an address If I have p pointing to an int *p gives me that int - Let's look at pointers.c ...