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 >
Wrap
Text File
|
1995-01-27
|
423b
|
23 lines
; MORTAR
; inspired by Michael L. Mauldin
; as descibed by A.K.Dewdney
;
; *NOTE* This is a simplistic implementation of the MORTAR
; program. It is as dangerous to itself as it is to
; other battle programs!
;
DAT 5 ; n-2 (first round only)
DAT 8 ; n-1
DAT 13 ; n
MOV #0 @-1 ;start
MOV -2 -4
ADD -4 -5
MOV #0 @-6
MOV -7 -6
ADD -6 -7
MOV #0 @-8
MOV -9 -8
ADD -11 -9
JMP -9
END