Class SCAssembler

java.lang.Object
  |
  +--SCAssembler

public class SCAssembler
extends java.lang.Object


Field Summary
static int COMMENT_END
           
static int LABEL_END
           
static int MNEMONIC_END
           
static int OPERANDS_END
           
 
Constructor Summary
SCAssembler(java.lang.String name)
           
 
Method Summary
 void assemble()
           
 java.lang.String getFilename()
          Retrieves the name of file.
 boolean getOK()
          Returns the value of the OK check bit.
 void launchSC()
          Launches the SimpComp simulator with filename.obj.
static void main(java.lang.String[] args)
          Main() used as test driver only.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LABEL_END

public static final int LABEL_END
See Also:
Constant Field Values

MNEMONIC_END

public static final int MNEMONIC_END
See Also:
Constant Field Values

OPERANDS_END

public static final int OPERANDS_END
See Also:
Constant Field Values

COMMENT_END

public static final int COMMENT_END
See Also:
Constant Field Values
Constructor Detail

SCAssembler

public SCAssembler(java.lang.String name)
Method Detail

assemble

public void assemble()

getOK

public boolean getOK()
Returns the value of the OK check bit.

Returns:
OK

getFilename

public java.lang.String getFilename()
Retrieves the name of file.

Returns:
filename

launchSC

public void launchSC()
Launches the SimpComp simulator with filename.obj.


main

public static void main(java.lang.String[] args)
Main() used as test driver only.