File: agent.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 (17 lines) | stat: -rw-r--r-- 405 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Agent - Your personal executor, get's address+data from other proggies and 
# together with the sample "client" can outform most bombers in scores


        Title "Agent"
	Author "Idan Sofer <sofer@ibm.net>"
A:      data 0
PA:     data 78
B:      data 0
PB:	data 79
C:      data 0
D:      data 8
E:      data -3
L:      move &A, [PA]
P0:	move &B, [PB]
S:      move B,[A] 	# The main code
T:      jump S