
  This is a small assembler for the SPEW language derived from the
    Hugi Compo #9.  As I said, it is a small assembler and does
    nothing but assemble the code.
      - It does not check for errors.
      - It assumes all code is good.
      - All your labels must start with the '@' char   (@Alabel)
      - All your immediate numbers must start with the '#' char,
         be four digits long and be hex only.  (#0000, #1234, #FEEF)
         (all unsigned numbers)
      - You can use comments denoted with the semicolon just like
         must other assemblers.
      - The four "registers" of the SPEW language must start with
         the '%' char. (%A, %STATUS, %STK, %PC)
      - The DB 'command' must have only one item per line which can
         be a string or a hex number.
          (  db 'a string goes here' )
          (  db #0000  )
          (  db #0000, #0000  )  <----- NO NO  NO  NOT ALLOWED
      - You can not use math in you code.
          (  pushb @label+1  )   <----- NO NO  NO  NOT ALLOWED
      - This assembler allows:
          -  255 chars per line
          -  50 16-byte symbols (labels)
          -  ONLY a source file of 32k or less in length
         
      - It does not allow macros or any other nice'ities of
         other assemblers.

Usage:
      You must include only the 8 char filename as the first
       parameter of the command line.  No extention.
      This file should have the extension of:  .SAM
      The output file will have the extension: .SPU
      Put only the single (normal) space between SPU and the filename.

         SPU demo
            will create from demo.sam:  demo.spu

Things I plan on improving (maybe):
      -  error checking
      -  I plan on adding a 'macro' to set the four 'register'
          values in your code rather than having them set at
          #0000, #0000, #1000, #0100 respectively.


-Sniper
 (Ben Lunt)
fys@cybertrials.com
http://www.cybertrails.com/~fys/index.htm
