
Spin Lesson 1: Quick Review
- The Propeller is programmed using two custom-designed languages: Spin and Propeller Assembly.
- Spin is a high-level, object-based language interpreted at run time.
- Propeller Assembly is a low-level, optimized assembly language which is executed directly at run time.
- Objects are programs that:
- are self-contained.
- perform a specific task.
- may be reused by many applications.
- Well-written objects from one developer can easily be used by other developers and applications.
- A Propeller Object:
- consists of two or more lines of Spin code and possibly Propeller Assembly code.
- is stored on the computer as a file with a “.spin” extension.
- may use one or more other objects to build a sophisticated application.
- Propeller Applications:
- consist of one or more objects.
- are compiled binary streams containing executable code and data.
- are run by the Propeller chip in one or more cogs (processors) as directed by the application.
- The topmost object in a compiled application is called the “Top Object File.”
