home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 1995 March / SOFM_Mar1995.bin / pc / sri / kids / corewars.280 / mortar.war < prev    next >
Text File  |  1995-01-27  |  423b  |  23 lines

  1. ;  MORTAR
  2. ;  inspired by Michael L. Mauldin
  3. ;  as descibed by A.K.Dewdney
  4. ;
  5. ;  *NOTE* This is a simplistic implementation of the MORTAR
  6. ;         program.  It is as dangerous to itself as it is to
  7. ;         other battle programs!
  8. ;
  9. DAT    5        ; n-2 (first round only)
  10. DAT    8        ; n-1
  11. DAT    13        ; n
  12. MOV    #0    @-1    ;start
  13. MOV    -2    -4
  14. ADD    -4    -5
  15. MOV    #0    @-6
  16. MOV    -7    -6
  17. ADD    -6    -7
  18. MOV    #0    @-8
  19. MOV    -9    -8
  20. ADD    -11    -9
  21. JMP    -9
  22. END
  23.