TactivergeLite

Lite / Engineering Complex Systems / Week 25

Week 25: Instruction set architecture

Term 3: Signals and Computing Hardware

This week you will

Lessons

  1. The contract between code and silicon · about 35 min
    Code compiled years ago still runs on brand-new processors with completely different insides. What promise makes that possible?
  2. Instructions are just numbers · about 35 min
    The hex number 0x1405 can be a price, a colour or an instruction that puts 5 into register 2. How does the processor know which?
  3. Tracing a program, counting cycles · about 35 min
    Two programs give the same answer. One takes 12 clock cycles, the other 33. How do you know before you run them?
← Week 24Week 26 →