

The directory contains two subdirectories

1: - xmac ( macroprocessor )
2: - xasm ( assemlber )


In each directory you will find all required header files and one
C module .


Compilation :
-------------

    To compile the program on your machine just copy all the files in one
    directory and open the main C module.
    Compile the entire program.
    While running program from IDE type the input file name in Parameters
    window or else run the program from command.

Usage :
-------
    Sample .asm programs have been provided.

    test1.asm and test2.asm

    You can use these programs and check the output of these programs.

    Use test3.asm with Macroprocessor because it is an arbitrary program
    with some macro calls in it. Just check out the ouput .asm file
    to find out how macros are expanded.


    MacroProcessor :
    ----------------

        Input for the macroprocessor is the assembly language program (.asm)
        with/without Macro Definitions and Macro Calls.
        The output will be an .asm file without any macro definition and
        macro call.

        So on command prompt type
          xmac FileName
          where FileName is name of the input asm file

          Output : FileName.asm

    Assembler :
    -----------

        Input for the assembler is the assembly language program and output
        is object code.
        This assembler generates two output files.
        1: Object Code Module (.obj) ( which holds binary object code )
        2: Listing Module (.lst) ( which holds the readable object code )

        So on command prompt type
          xasm FileName
          where FileName is name of the input asm file

          Output : FileName.obj and FileName.lst

    Help about the Instruction Set ( Since we have considered Hypothetical
    Assembly Language ) is available when you compile assembler.

    After you compile assembler program on command prompt type

    xasm -?

    Help consists of Instruction set,Directives to the assembler and the
    Error Messages and and their meanings.


    For more informaion on Macroprocessor and assembler design please
    refer to the separate readme.txt in corresponding directory.

                              ---------------------
                                End of Readme.txt
                              ---------------------


in case of  any difficulty you may contact 
j_akhya@yahoo.com
akhilesh joshi
third year (computer)
coep 
