File: monkeys.cw

package info (click to toggle)
corewars 0.9.13-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny, sarge
  • size: 1,388 kB
  • ctags: 1,119
  • sloc: ansic: 7,429; yacc: 1,376; sh: 784; makefile: 112; lex: 104; lisp: 68
file content (25 lines) | stat: -rw-r--r-- 374 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#
# Core Wars program
#
# Daniel Karlsson, March 2000
#

	title "Twelve Monkeys"
        author "Daniel Karlsson <daniel.k@bigfoot.com>"

THR:	data	0
START:	info	2, CHILD
	move	CHILD, DST
	move	&START, SRC
	move	11, CNT
COPY:	movei	SRC, DST
	loop	CNT, COPY
	info	4, THR
	less	12, THR
	jump	[CHILD]
	fork	[CHILD]
	jump	START
CNT:	data	0
SRC:	data	0
DST:	data	0
CHILD:	data	0