All the programs have been written in Python.

To run the python programs, use python version 2.1 or higher.

For exectuting the assembler, you wil require Python Lex in 
your working directory. And for the compiler the Python Lex-Yacc 
tool-kit is required in the working directory.

Tk-inter has been used for implenting the GUI editor.

Compiler:

For using the compiler, you can either execute 'python 
compiler.py' at command prompt or execute comp.py after adding 
the path of python binary in your system, as the first line
of compiler.py. For example, if your python binary lies in 
/usr/loca/bin, then include

#!/usr/local/bin/python

as the first line of compiler.py. This is the same for other
python programs in this directory.

To compile your program, you can give the input file (name 
ending with '.pc') as an argument to the command (as told above).
The Compiler would generate the assembly code as output. The 
output file will have the name with the 'pc' extension replaced 
by 's' extension.

Assembler:

The assembler reads input from a single source file. The output 
of the assembler is the machine code in Intel Hex Format. The input 
filename should end in '.s'. The output would  be  in  the file with 
's' extension of the input filename replaced by 'hex'.

Simulator:

For simulation, just run the executable from command prompt and type 
'h' for help.

GUI Editor:

For using the editor, just run the script after starting the X server.


