BuiltWithNOF
Manual
Fall Semester 2009
Professor M. Saj Alam
September 12, 2010

AHEPL 

Physics 

Computer Science

Biology

Mathematics

Informatics

Computer Science

Atmospheric Sciences

The purpose of the manual is to hand-hold you from beginning to end. For the assembly language programming, you have to go into the DOS mode of your PC.  The following steps are required

  1. The first step is to download the program package for the course.  Click “Downloads” to do this. 
  2. Click on “DOS Mode” tp go to the DOS (disk operating system) mode. This is the old-style prompt mode, where you enter commands at the prompt, as opposed to “Windows” graphic icon clicking mode.
  3. You have to learn about a dozen DOS commands.  Unlike Windows, there are no icons to click. You have to know the commands and use them intelligently.  A list of “DOS” commands is accessed by clicking “Quick DOS” button
  4. You should go to the C: directory and then do a “>cd phy353”.  Then a “>dir’ command will show you the contents of the directory. 
  5. You should then run the “>setpath.bat” program to set default paths all the subdirectories used by the program.
  6. You are ready to go to the “start” subdirectory to see how an assembly language program CALC.ASM looks.
  7. You then assemble the program. This is the process by which the text based program is converted to a binary based object code. Thus starting from, say CALC2.ASM, the step produces the file CALC2,OBJ
  8. You then link the program, that is concatenate the main program with subrgrams, which may even be hiding in an binary object library.  This step produces the file CALC2.EXE.
  9. Now we could run this program at the DOS prompt > CALC2.ASM. Of course you will get no response on the screen from this step, because not input/output statements have yet been included in the program.
  10. Instead, we will run CALC2.EXE int the “debug” mode. This means we have to learn yet another software package.  But it is worth it, since this will show you step-by-step how the microprocessor executes each instruction.  While it may be a little tedius, the exerise may be enlightening to see how complex tasks are executed using a limited set of instructions from mathiematics and logics.

 

How To Capture a Screen Shot of your Desktop or the Active Window in Windows