Emulator basics: a stack and register machine | Hacker News Reader