home *** CD-ROM | disk | FTP | other *** search
/ APDL Public Domain 1 / APDL_PD1A.iso / program / assembler / sasm / Demo / Read
Encoding:
Text File  |  1995-10-02  |  1.8 KB  |  44 lines

  1.  
  2. This directory contains a *very* simple demo Desktop application with
  3. all the SAsm source files. All it does is install itself on the icon
  4. bar, put up a menu if you click MENU on it or a message if you click
  5. SELECT. The items on the menu also show a message when selected.
  6.  
  7. The general idea of this is to demonstrate how a 'real' SAsm application
  8. looks to give you some idea of the 'feel' of SAsm. It also shows how the
  9. source files can be split up into various sections and assembled using a
  10. master 'make' file. This file also defines filenames for the error file,
  11. listing file, label file, etc. so if you use the command line switches
  12. for these the output will automaticlly be sent to the file.
  13.  
  14. In this case because the application is very small all the 'working'
  15. code is in one file but with a larger program this would obviously be
  16. split up into several sections.
  17.  
  18.  
  19. The application is supplied ready assembled but you will obviously want
  20. to assemble it for yourself to see what happens. To do this :-
  21.  
  22.     1.  Load the !SAsm desktop front end. This will automatically load
  23.         the Module version of SAsm.
  24.  
  25.     2.  Double-click on the 'Make' file in the 'asm' directory.
  26.  
  27.     3.  Click SELECT on the !SAsm icon to open the Control window
  28.  
  29.     4.  Click on the 'GO' icon in this window
  30.  
  31.     5.  A Task window should open and you should see the files being
  32.         assembled and saved to the !Demo application directory.
  33.  
  34. The file 'Make' sets up all the data required by SAsm and then uses
  35. 'include' to assemble the files in order. Obviously you will want to
  36. inspect all of these to see how it's done.
  37.  
  38. You may find it interesting to insert some 'deliberate mistakes' into
  39. one or more of these files and see how SAsm copes with them. I'm sure
  40. you can have hours of innocent fun in this way.
  41.  
  42.         David Holden --- August 1995
  43.  
  44.