about summary refs log tree commit diff stats
path: root/subx/apps
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-12-28 08:56:21 -0800
committerKartik Agaram <vc@akkartik.com>2018-12-28 08:56:21 -0800
commit5a9795bb661314d658afffd84059cc32e3b3b709 (patch)
tree24ac00e68334f1dddf6a16e55468536650b94913 /subx/apps
parente0610e396f0218f5927be8bbcba9ec05be4b1479 (diff)
downloadmu-5a9795bb661314d658afffd84059cc32e3b3b709.tar.gz
4881
Diffstat (limited to 'subx/apps')
-rw-r--r--subx/apps/factorial.subx2
1 files changed, 1 insertions, 1 deletions
diff --git a/subx/apps/factorial.subx b/subx/apps/factorial.subx
index bd73d72b..adc772db 100644
--- a/subx/apps/factorial.subx
+++ b/subx/apps/factorial.subx
@@ -52,7 +52,7 @@ $run-main:
 $main:end:
     # syscall(exit, EAX)
     89/copy                         3/mod/direct    3/rm32/EBX    .           .             .           0/r32/EAX   .               .                 # copy EAX to EBX
-    b8/copy-to-EAX  1/imm32
+    b8/copy-to-EAX  1/imm32/exit
     cd/syscall  0x80/imm8
 
 factorial:  # n : int -> int/EAX
fac60bdf3f5c089213cbc6422902ee5a'>^
e3092e7b ^

45c08fea ^
77d5b5d6 ^
45c08fea ^
286ca5a4 ^
e3092e7b ^
286ca5a4 ^
e3092e7b ^
286ca5a4 ^

45c08fea ^
e3092e7b ^

45c08fea ^
77d5b5d6 ^
45c08fea ^
e3092e7b ^
45c08fea ^
286ca5a4 ^

e3092e7b ^
286ca5a4 ^

e3092e7b ^
45c08fea ^
286ca5a4 ^
e3092e7b ^
286ca5a4 ^

bc643692 ^
e3092e7b ^
45c08fea ^
134dad7c ^
45c08fea ^
bc643692 ^
e3092e7b ^

c6c19a27 ^


45c08fea ^
77d5b5d6 ^
45c08fea ^





bc643692 ^
45c08fea ^
bc643692 ^
45c08fea ^

bc643692 ^
45c08fea ^
286ca5a4 ^
e3092e7b ^
f8c0ef3e ^

77d5b5d6 ^
45c08fea ^
f8c0ef3e ^


45c08fea ^
cf9af278 ^
45c08fea ^

f8c0ef3e ^

f8c0ef3e ^


6a0f71b9 ^

77d5b5d6 ^
6a0f71b9 ^





5e9eff8c ^


77d5b5d6 ^
5e9eff8c ^



bc643692 ^
5e9eff8c ^



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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115