Mercurial > hg > Members > tobaru > xv6-osx-rpi
comparison src/usr/usys.asm @ 0:53676d1f5817 default tip
firsh commit
author | tobaru |
---|---|
date | Sun, 04 Feb 2018 17:54:49 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:53676d1f5817 |
---|---|
1 | |
2 usys.o: file format elf32-littlearm | |
3 | |
4 | |
5 Disassembly of section .text: | |
6 | |
7 00000000 <fork>: | |
8 0: e52d4004 push {r4} ; (str r4, [sp, #-4]!) | |
9 4: e1a04003 mov r4, r3 | |
10 8: e1a03002 mov r3, r2 | |
11 c: e1a02001 mov r2, r1 | |
12 10: e1a01000 mov r1, r0 | |
13 14: e3a00001 mov r0, #1 | |
14 18: ef000000 svc 0x00000000 | |
15 1c: e49d4004 pop {r4} ; (ldr r4, [sp], #4) | |
16 20: e12fff1e bx lr | |
17 | |
18 00000024 <exit>: | |
19 24: e52d4004 push {r4} ; (str r4, [sp, #-4]!) | |
20 28: e1a04003 mov r4, r3 | |
21 2c: e1a03002 mov r3, r2 | |
22 30: e1a02001 mov r2, r1 | |
23 34: e1a01000 mov r1, r0 | |
24 38: e3a00002 mov r0, #2 | |
25 3c: ef000000 svc 0x00000000 | |
26 40: e49d4004 pop {r4} ; (ldr r4, [sp], #4) | |
27 44: e12fff1e bx lr | |
28 | |
29 00000048 <wait>: | |
30 48: e52d4004 push {r4} ; (str r4, [sp, #-4]!) | |
31 4c: e1a04003 mov r4, r3 | |
32 50: e1a03002 mov r3, r2 | |
33 54: e1a02001 mov r2, r1 | |
34 58: e1a01000 mov r1, r0 | |
35 5c: e3a00003 mov r0, #3 | |
36 60: ef000000 svc 0x00000000 | |
37 64: e49d4004 pop {r4} ; (ldr r4, [sp], #4) | |
38 68: e12fff1e bx lr | |
39 | |
40 0000006c <pipe>: | |
41 6c: e52d4004 push {r4} ; (str r4, [sp, #-4]!) | |
42 70: e1a04003 mov r4, r3 | |
43 74: e1a03002 mov r3, r2 | |
44 78: e1a02001 mov r2, r1 | |
45 7c: e1a01000 mov r1, r0 | |
46 80: e3a00004 mov r0, #4 | |
47 84: ef000000 svc 0x00000000 | |
48 88: e49d4004 pop {r4} ; (ldr r4, [sp], #4) | |
49 8c: e12fff1e bx lr | |
50 | |
51 00000090 <read>: | |
52 90: e52d4004 push {r4} ; (str r4, [sp, #-4]!) | |
53 94: e1a04003 mov r4, r3 | |
54 98: e1a03002 mov r3, r2 | |
55 9c: e1a02001 mov r2, r1 | |
56 a0: e1a01000 mov r1, r0 | |
57 a4: e3a00005 mov r0, #5 | |
58 a8: ef000000 svc 0x00000000 | |
59 ac: e49d4004 pop {r4} ; (ldr r4, [sp], #4) | |
60 b0: e12fff1e bx lr | |
61 | |
62 000000b4 <write>: | |
63 b4: e52d4004 push {r4} ; (str r4, [sp, #-4]!) | |
64 b8: e1a04003 mov r4, r3 | |
65 bc: e1a03002 mov r3, r2 | |
66 c0: e1a02001 mov r2, r1 | |
67 c4: e1a01000 mov r1, r0 | |
68 c8: e3a00010 mov r0, #16 | |
69 cc: ef000000 svc 0x00000000 | |
70 d0: e49d4004 pop {r4} ; (ldr r4, [sp], #4) | |
71 d4: e12fff1e bx lr | |
72 | |
73 000000d8 <close>: | |
74 d8: e52d4004 push {r4} ; (str r4, [sp, #-4]!) | |
75 dc: e1a04003 mov r4, r3 | |
76 e0: e1a03002 mov r3, r2 | |
77 e4: e1a02001 mov r2, r1 | |
78 e8: e1a01000 mov r1, r0 | |
79 ec: e3a00015 mov r0, #21 | |
80 f0: ef000000 svc 0x00000000 | |
81 f4: e49d4004 pop {r4} ; (ldr r4, [sp], #4) | |
82 f8: e12fff1e bx lr | |
83 | |
84 000000fc <kill>: | |
85 fc: e52d4004 push {r4} ; (str r4, [sp, #-4]!) | |
86 100: e1a04003 mov r4, r3 | |
87 104: e1a03002 mov r3, r2 | |
88 108: e1a02001 mov r2, r1 | |
89 10c: e1a01000 mov r1, r0 | |
90 110: e3a00006 mov r0, #6 | |
91 114: ef000000 svc 0x00000000 | |
92 118: e49d4004 pop {r4} ; (ldr r4, [sp], #4) | |
93 11c: e12fff1e bx lr | |
94 | |
95 00000120 <exec>: | |
96 120: e52d4004 push {r4} ; (str r4, [sp, #-4]!) | |
97 124: e1a04003 mov r4, r3 | |
98 128: e1a03002 mov r3, r2 | |
99 12c: e1a02001 mov r2, r1 | |
100 130: e1a01000 mov r1, r0 | |
101 134: e3a00007 mov r0, #7 | |
102 138: ef000000 svc 0x00000000 | |
103 13c: e49d4004 pop {r4} ; (ldr r4, [sp], #4) | |
104 140: e12fff1e bx lr | |
105 | |
106 00000144 <open>: | |
107 144: e52d4004 push {r4} ; (str r4, [sp, #-4]!) | |
108 148: e1a04003 mov r4, r3 | |
109 14c: e1a03002 mov r3, r2 | |
110 150: e1a02001 mov r2, r1 | |
111 154: e1a01000 mov r1, r0 | |
112 158: e3a0000f mov r0, #15 | |
113 15c: ef000000 svc 0x00000000 | |
114 160: e49d4004 pop {r4} ; (ldr r4, [sp], #4) | |
115 164: e12fff1e bx lr | |
116 | |
117 00000168 <mknod>: | |
118 168: e52d4004 push {r4} ; (str r4, [sp, #-4]!) | |
119 16c: e1a04003 mov r4, r3 | |
120 170: e1a03002 mov r3, r2 | |
121 174: e1a02001 mov r2, r1 | |
122 178: e1a01000 mov r1, r0 | |
123 17c: e3a00011 mov r0, #17 | |
124 180: ef000000 svc 0x00000000 | |
125 184: e49d4004 pop {r4} ; (ldr r4, [sp], #4) | |
126 188: e12fff1e bx lr | |
127 | |
128 0000018c <unlink>: | |
129 18c: e52d4004 push {r4} ; (str r4, [sp, #-4]!) | |
130 190: e1a04003 mov r4, r3 | |
131 194: e1a03002 mov r3, r2 | |
132 198: e1a02001 mov r2, r1 | |
133 19c: e1a01000 mov r1, r0 | |
134 1a0: e3a00012 mov r0, #18 | |
135 1a4: ef000000 svc 0x00000000 | |
136 1a8: e49d4004 pop {r4} ; (ldr r4, [sp], #4) | |
137 1ac: e12fff1e bx lr | |
138 | |
139 000001b0 <fstat>: | |
140 1b0: e52d4004 push {r4} ; (str r4, [sp, #-4]!) | |
141 1b4: e1a04003 mov r4, r3 | |
142 1b8: e1a03002 mov r3, r2 | |
143 1bc: e1a02001 mov r2, r1 | |
144 1c0: e1a01000 mov r1, r0 | |
145 1c4: e3a00008 mov r0, #8 | |
146 1c8: ef000000 svc 0x00000000 | |
147 1cc: e49d4004 pop {r4} ; (ldr r4, [sp], #4) | |
148 1d0: e12fff1e bx lr | |
149 | |
150 000001d4 <link>: | |
151 1d4: e52d4004 push {r4} ; (str r4, [sp, #-4]!) | |
152 1d8: e1a04003 mov r4, r3 | |
153 1dc: e1a03002 mov r3, r2 | |
154 1e0: e1a02001 mov r2, r1 | |
155 1e4: e1a01000 mov r1, r0 | |
156 1e8: e3a00013 mov r0, #19 | |
157 1ec: ef000000 svc 0x00000000 | |
158 1f0: e49d4004 pop {r4} ; (ldr r4, [sp], #4) | |
159 1f4: e12fff1e bx lr | |
160 | |
161 000001f8 <mkdir>: | |
162 1f8: e52d4004 push {r4} ; (str r4, [sp, #-4]!) | |
163 1fc: e1a04003 mov r4, r3 | |
164 200: e1a03002 mov r3, r2 | |
165 204: e1a02001 mov r2, r1 | |
166 208: e1a01000 mov r1, r0 | |
167 20c: e3a00014 mov r0, #20 | |
168 210: ef000000 svc 0x00000000 | |
169 214: e49d4004 pop {r4} ; (ldr r4, [sp], #4) | |
170 218: e12fff1e bx lr | |
171 | |
172 0000021c <chdir>: | |
173 21c: e52d4004 push {r4} ; (str r4, [sp, #-4]!) | |
174 220: e1a04003 mov r4, r3 | |
175 224: e1a03002 mov r3, r2 | |
176 228: e1a02001 mov r2, r1 | |
177 22c: e1a01000 mov r1, r0 | |
178 230: e3a00009 mov r0, #9 | |
179 234: ef000000 svc 0x00000000 | |
180 238: e49d4004 pop {r4} ; (ldr r4, [sp], #4) | |
181 23c: e12fff1e bx lr | |
182 | |
183 00000240 <dup>: | |
184 240: e52d4004 push {r4} ; (str r4, [sp, #-4]!) | |
185 244: e1a04003 mov r4, r3 | |
186 248: e1a03002 mov r3, r2 | |
187 24c: e1a02001 mov r2, r1 | |
188 250: e1a01000 mov r1, r0 | |
189 254: e3a0000a mov r0, #10 | |
190 258: ef000000 svc 0x00000000 | |
191 25c: e49d4004 pop {r4} ; (ldr r4, [sp], #4) | |
192 260: e12fff1e bx lr | |
193 | |
194 00000264 <getpid>: | |
195 264: e52d4004 push {r4} ; (str r4, [sp, #-4]!) | |
196 268: e1a04003 mov r4, r3 | |
197 26c: e1a03002 mov r3, r2 | |
198 270: e1a02001 mov r2, r1 | |
199 274: e1a01000 mov r1, r0 | |
200 278: e3a0000b mov r0, #11 | |
201 27c: ef000000 svc 0x00000000 | |
202 280: e49d4004 pop {r4} ; (ldr r4, [sp], #4) | |
203 284: e12fff1e bx lr | |
204 | |
205 00000288 <sbrk>: | |
206 288: e52d4004 push {r4} ; (str r4, [sp, #-4]!) | |
207 28c: e1a04003 mov r4, r3 | |
208 290: e1a03002 mov r3, r2 | |
209 294: e1a02001 mov r2, r1 | |
210 298: e1a01000 mov r1, r0 | |
211 29c: e3a0000c mov r0, #12 | |
212 2a0: ef000000 svc 0x00000000 | |
213 2a4: e49d4004 pop {r4} ; (ldr r4, [sp], #4) | |
214 2a8: e12fff1e bx lr | |
215 | |
216 000002ac <sleep>: | |
217 2ac: e52d4004 push {r4} ; (str r4, [sp, #-4]!) | |
218 2b0: e1a04003 mov r4, r3 | |
219 2b4: e1a03002 mov r3, r2 | |
220 2b8: e1a02001 mov r2, r1 | |
221 2bc: e1a01000 mov r1, r0 | |
222 2c0: e3a0000d mov r0, #13 | |
223 2c4: ef000000 svc 0x00000000 | |
224 2c8: e49d4004 pop {r4} ; (ldr r4, [sp], #4) | |
225 2cc: e12fff1e bx lr | |
226 | |
227 000002d0 <uptime>: | |
228 2d0: e52d4004 push {r4} ; (str r4, [sp, #-4]!) | |
229 2d4: e1a04003 mov r4, r3 | |
230 2d8: e1a03002 mov r3, r2 | |
231 2dc: e1a02001 mov r2, r1 | |
232 2e0: e1a01000 mov r1, r0 | |
233 2e4: e3a0000e mov r0, #14 | |
234 2e8: ef000000 svc 0x00000000 | |
235 2ec: e49d4004 pop {r4} ; (ldr r4, [sp], #4) | |
236 2f0: e12fff1e bx lr |