next up previous contents index
Next: Components Up: Introduction Previous: What are the major   Contents   Index

Program Execution

SaM Programs are executed according to the following order:

  1. A front-end is invoked.
  2. The front-end invokes the SamAssembler.
  3. The assembler uses the SamTokenizer to examine the program's code, and generate a Program java object, which consists of a sequence of Instruction objects.
  4. The assembler returns this Program object to the front-end.
  5. The front-end passes the Program object to the SamProcessor and begins execution.

David Levitan 2006-02-12