com.cmpware.tools
Interface AutoModel.Function

Enclosing class:
AutoModel

public static interface AutoModel.Function

This class defines the function of an operation. This is done by overloading the exec() method.


Method Summary
 void exec(Processor p)
          This method implements the instruction execution.
 

Method Detail

exec

void exec(Processor p)
          throws MemoryAccessException,
                 IllegalRegisterException,
                 IllegalOpcodeException
This method implements the instruction execution.

Parameters:
p - the processor
Throws:
MemoryAccessException - if an illegal memory access is attempted.
IllegalRegisterException - if an illegal register access is attempted.
IllegalOpcodeException