-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhardcorewar.s
More file actions
67 lines (59 loc) · 1.11 KB
/
Copy pathhardcorewar.s
File metadata and controls
67 lines (59 loc) · 1.11 KB
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
.name "HardCoreWar"
.comment "wassup bitches"
setup: sti r1,%:setup,%8
live %101
sti r1,%:setup,%15
live %101
sti r1,%:liveloop,%1
ld %10,r9
fork %:continued
liveloop: live %101
fork %:liveloop
continued: ld %1,r2
ld %20,r5
sti r1,%:continued,%19
live %101
ld %190317061,r4
ld %13241176,r6
ld %17105096,r7
sti r1,%:continued2,%1
continued2: live %101
write: sti r2,r5,%802
sti r1,r5,%800
add r5,r9,r5
l1: sti r1,%:l1,%8
live %101
write2: sti r4,r5,%906
sti r6,r5,%904
sti r7,r5,%902
sti r1,r5,%900
a: sti r1,%:a,%8
live %101
fork %:write
setup2: sti r1,%:liveloop2,%1
ld %10,r10
fork %:continued3
liveloop2: live %101
fork %:liveloop2
continued3: ld %1,r11
ld %20,r5
sti r1,%:continued3,%19
live %101
ld %190317061,r12
ld %13241176,r13
ld %17105096,r14
sti r1,%:continued4,%1
continued4: live %101
lfork %4000
write3: sti r11,r5,%402
sti r1,r5,%400
add r5,r10,r5
l2: sti r1,%:l1,%8
live %101
write4: sti r12,r5,%306
sti r13,r5,%304
sti r14,r5,%302
sti r1,r5,%300
b: sti r1,%:a,%8
live %101
fork %:write