## Running Compiled Intermediate Code Programs

Before the shell executes a program, it checks the program module's language type. If its type is not 6809 machine language, shell will call the appropriate run-time system for that module. Versions of the shell supplied for various systems are capable of calling different run-time systems. Most versions of shell call Basic09 when appropriate, and Level Two versions of shell can also call the Pascal P-code interpreter (PascalN), or the CIS Cobol runtime system (RunC).

For example, if you wanted to run a Basic09 I-code module called adventure, you could type the command given below:

    OS9: basic09 adventure

Or you could accomplish the same thing by typing the following:

    OS9: adventure