Operating System Design :: Lessons :: Stack Arithmetic
For this lesson you should read Chapter 7 from the book Building a Modern Computer From First Principles. You should also read the virtual machine emulator tutorial. After reading the chapter you should be able to do the following:
- Describe the stack machine model.
- Implement stack arithmetic commands.
- Create push and pop commands for a stack implementation.
- Describe the benefits of a two-tiered translation model for compiling a high-level computer language.