next up previous contents index
Next: SaM I/O Up: Internal Simulator Classes Previous: SaM Reference Table   Contents   Index

SaM Program

(CORE/PROGRAM.JAVA,
CORE/SAMPROGRAM.JAVA)
A SaM Program is an enclosing container for Instructions, a ReferenceTable, and a SymbolTable. The assembler generates a Program object, and resolves any references using the constructed symbol table. The processor loads the program, and executes each instruction of the program object, using the PC register as a numeric index.

The SaM program provides the following methods:


next up previous contents index
Next: SaM I/O Up: Internal Simulator Classes Previous: SaM Reference Table   Contents   Index
David Levitan 2006-02-12