class: title # Address Translation ## CSC 213 – September 14, 2026 --- # Agenda for Today 1. Department Events 2. Upcoming Work 3. Address Spaces 4. Address Translation 5. Wrap Up --- # Department Events ## CS Table: Bring Your Own Tech/Society News .indent[ Tuesday, September 15th at noon in the CS Commons ] *To receive a token, send an email to let me know you attended no more than 48 hours after the event.* --- class: section, blue # Upcoming Work --- # Assignment 2: Sorted List **Due:** Monday, September 14th by 11:59pm **Late Deadline:** Wednesday, September 16th at 10:00am ## Questions *Nothing new since last class.* --- # Shell Lab **Due:** Wednesday, September 16th by 11:59pm **Late Deadline:** Monday, September 21st by 11:59pm ## Questions *Nothing new since last class.* --- # Assignment 3: Archive Printer **Due:** Monday, September 21st by 11:59pm **Late Deadline:** Wednesday, September 23rd at 10:00am Let's take a look at the assignment now. --- class: section, blue # Address Spaces --- # Discussion: Address Spaces **Questions for think, pair, share:** 1. What are the main pieces of a running program's address space? 2. What is the difference between virtual and physical addresses? 3. Why does the OS run programs in separate address spaces? *Start by thinking of answers on your own. I will let you know when to start discussion.* --- class: section, gray # Whiteboard: A Typical Address Space --- class: section, blue # Address Translation --- # Discussion: Address Translation **Questions for think, pair, share:** 1. What does it mean to "translate" an address, and why are we doing it? 2. We've read about two mechanisms for address translation: ***base and bound*** and ***paging***. What are the main differences between these mechanisms? 3. What are the advantages and disadvantages of paging, compared to base and bound? *Start by thinking of answers on your own. I will let you know when to start discussion.* --- class: section, gray # Whiteboard: Address Translation --- class: section, blue # Wrap Up --- # Reminders ## Upcoming Deadlines - **Sorted List Assignment:** due tonight, or Wednesday morning with a token - **Shell Lab:** due Wednesday, or next Monday with a token - **Archive Printer:** due next Monday, or Wednesday morning with a token ## Need help? Use your resources! - Book an appointment during office hours - Attend mentor office hours (Tuesday from 8-9pm is next) - Review slides, readings, and other course resources - Use tools like `gdb` and AddressSanitizer to catch and diagnose issues ## Reading - **Review lab before class** - **Chapter 29: Signal Handling** (Beej's Guide to C)