Mercurial > hg > Members > tobaru > xv6-osx-rpi
diff src/usr/usys.asm @ 0:53676d1f5817 default tip
firsh commit
author | tobaru |
---|---|
date | Sun, 04 Feb 2018 17:54:49 +0900 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/usr/usys.asm Sun Feb 04 17:54:49 2018 +0900 @@ -0,0 +1,236 @@ + +usys.o: file format elf32-littlearm + + +Disassembly of section .text: + +00000000 <fork>: + 0: e52d4004 push {r4} ; (str r4, [sp, #-4]!) + 4: e1a04003 mov r4, r3 + 8: e1a03002 mov r3, r2 + c: e1a02001 mov r2, r1 + 10: e1a01000 mov r1, r0 + 14: e3a00001 mov r0, #1 + 18: ef000000 svc 0x00000000 + 1c: e49d4004 pop {r4} ; (ldr r4, [sp], #4) + 20: e12fff1e bx lr + +00000024 <exit>: + 24: e52d4004 push {r4} ; (str r4, [sp, #-4]!) + 28: e1a04003 mov r4, r3 + 2c: e1a03002 mov r3, r2 + 30: e1a02001 mov r2, r1 + 34: e1a01000 mov r1, r0 + 38: e3a00002 mov r0, #2 + 3c: ef000000 svc 0x00000000 + 40: e49d4004 pop {r4} ; (ldr r4, [sp], #4) + 44: e12fff1e bx lr + +00000048 <wait>: + 48: e52d4004 push {r4} ; (str r4, [sp, #-4]!) + 4c: e1a04003 mov r4, r3 + 50: e1a03002 mov r3, r2 + 54: e1a02001 mov r2, r1 + 58: e1a01000 mov r1, r0 + 5c: e3a00003 mov r0, #3 + 60: ef000000 svc 0x00000000 + 64: e49d4004 pop {r4} ; (ldr r4, [sp], #4) + 68: e12fff1e bx lr + +0000006c <pipe>: + 6c: e52d4004 push {r4} ; (str r4, [sp, #-4]!) + 70: e1a04003 mov r4, r3 + 74: e1a03002 mov r3, r2 + 78: e1a02001 mov r2, r1 + 7c: e1a01000 mov r1, r0 + 80: e3a00004 mov r0, #4 + 84: ef000000 svc 0x00000000 + 88: e49d4004 pop {r4} ; (ldr r4, [sp], #4) + 8c: e12fff1e bx lr + +00000090 <read>: + 90: e52d4004 push {r4} ; (str r4, [sp, #-4]!) + 94: e1a04003 mov r4, r3 + 98: e1a03002 mov r3, r2 + 9c: e1a02001 mov r2, r1 + a0: e1a01000 mov r1, r0 + a4: e3a00005 mov r0, #5 + a8: ef000000 svc 0x00000000 + ac: e49d4004 pop {r4} ; (ldr r4, [sp], #4) + b0: e12fff1e bx lr + +000000b4 <write>: + b4: e52d4004 push {r4} ; (str r4, [sp, #-4]!) + b8: e1a04003 mov r4, r3 + bc: e1a03002 mov r3, r2 + c0: e1a02001 mov r2, r1 + c4: e1a01000 mov r1, r0 + c8: e3a00010 mov r0, #16 + cc: ef000000 svc 0x00000000 + d0: e49d4004 pop {r4} ; (ldr r4, [sp], #4) + d4: e12fff1e bx lr + +000000d8 <close>: + d8: e52d4004 push {r4} ; (str r4, [sp, #-4]!) + dc: e1a04003 mov r4, r3 + e0: e1a03002 mov r3, r2 + e4: e1a02001 mov r2, r1 + e8: e1a01000 mov r1, r0 + ec: e3a00015 mov r0, #21 + f0: ef000000 svc 0x00000000 + f4: e49d4004 pop {r4} ; (ldr r4, [sp], #4) + f8: e12fff1e bx lr + +000000fc <kill>: + fc: e52d4004 push {r4} ; (str r4, [sp, #-4]!) + 100: e1a04003 mov r4, r3 + 104: e1a03002 mov r3, r2 + 108: e1a02001 mov r2, r1 + 10c: e1a01000 mov r1, r0 + 110: e3a00006 mov r0, #6 + 114: ef000000 svc 0x00000000 + 118: e49d4004 pop {r4} ; (ldr r4, [sp], #4) + 11c: e12fff1e bx lr + +00000120 <exec>: + 120: e52d4004 push {r4} ; (str r4, [sp, #-4]!) + 124: e1a04003 mov r4, r3 + 128: e1a03002 mov r3, r2 + 12c: e1a02001 mov r2, r1 + 130: e1a01000 mov r1, r0 + 134: e3a00007 mov r0, #7 + 138: ef000000 svc 0x00000000 + 13c: e49d4004 pop {r4} ; (ldr r4, [sp], #4) + 140: e12fff1e bx lr + +00000144 <open>: + 144: e52d4004 push {r4} ; (str r4, [sp, #-4]!) + 148: e1a04003 mov r4, r3 + 14c: e1a03002 mov r3, r2 + 150: e1a02001 mov r2, r1 + 154: e1a01000 mov r1, r0 + 158: e3a0000f mov r0, #15 + 15c: ef000000 svc 0x00000000 + 160: e49d4004 pop {r4} ; (ldr r4, [sp], #4) + 164: e12fff1e bx lr + +00000168 <mknod>: + 168: e52d4004 push {r4} ; (str r4, [sp, #-4]!) + 16c: e1a04003 mov r4, r3 + 170: e1a03002 mov r3, r2 + 174: e1a02001 mov r2, r1 + 178: e1a01000 mov r1, r0 + 17c: e3a00011 mov r0, #17 + 180: ef000000 svc 0x00000000 + 184: e49d4004 pop {r4} ; (ldr r4, [sp], #4) + 188: e12fff1e bx lr + +0000018c <unlink>: + 18c: e52d4004 push {r4} ; (str r4, [sp, #-4]!) + 190: e1a04003 mov r4, r3 + 194: e1a03002 mov r3, r2 + 198: e1a02001 mov r2, r1 + 19c: e1a01000 mov r1, r0 + 1a0: e3a00012 mov r0, #18 + 1a4: ef000000 svc 0x00000000 + 1a8: e49d4004 pop {r4} ; (ldr r4, [sp], #4) + 1ac: e12fff1e bx lr + +000001b0 <fstat>: + 1b0: e52d4004 push {r4} ; (str r4, [sp, #-4]!) + 1b4: e1a04003 mov r4, r3 + 1b8: e1a03002 mov r3, r2 + 1bc: e1a02001 mov r2, r1 + 1c0: e1a01000 mov r1, r0 + 1c4: e3a00008 mov r0, #8 + 1c8: ef000000 svc 0x00000000 + 1cc: e49d4004 pop {r4} ; (ldr r4, [sp], #4) + 1d0: e12fff1e bx lr + +000001d4 <link>: + 1d4: e52d4004 push {r4} ; (str r4, [sp, #-4]!) + 1d8: e1a04003 mov r4, r3 + 1dc: e1a03002 mov r3, r2 + 1e0: e1a02001 mov r2, r1 + 1e4: e1a01000 mov r1, r0 + 1e8: e3a00013 mov r0, #19 + 1ec: ef000000 svc 0x00000000 + 1f0: e49d4004 pop {r4} ; (ldr r4, [sp], #4) + 1f4: e12fff1e bx lr + +000001f8 <mkdir>: + 1f8: e52d4004 push {r4} ; (str r4, [sp, #-4]!) + 1fc: e1a04003 mov r4, r3 + 200: e1a03002 mov r3, r2 + 204: e1a02001 mov r2, r1 + 208: e1a01000 mov r1, r0 + 20c: e3a00014 mov r0, #20 + 210: ef000000 svc 0x00000000 + 214: e49d4004 pop {r4} ; (ldr r4, [sp], #4) + 218: e12fff1e bx lr + +0000021c <chdir>: + 21c: e52d4004 push {r4} ; (str r4, [sp, #-4]!) + 220: e1a04003 mov r4, r3 + 224: e1a03002 mov r3, r2 + 228: e1a02001 mov r2, r1 + 22c: e1a01000 mov r1, r0 + 230: e3a00009 mov r0, #9 + 234: ef000000 svc 0x00000000 + 238: e49d4004 pop {r4} ; (ldr r4, [sp], #4) + 23c: e12fff1e bx lr + +00000240 <dup>: + 240: e52d4004 push {r4} ; (str r4, [sp, #-4]!) + 244: e1a04003 mov r4, r3 + 248: e1a03002 mov r3, r2 + 24c: e1a02001 mov r2, r1 + 250: e1a01000 mov r1, r0 + 254: e3a0000a mov r0, #10 + 258: ef000000 svc 0x00000000 + 25c: e49d4004 pop {r4} ; (ldr r4, [sp], #4) + 260: e12fff1e bx lr + +00000264 <getpid>: + 264: e52d4004 push {r4} ; (str r4, [sp, #-4]!) + 268: e1a04003 mov r4, r3 + 26c: e1a03002 mov r3, r2 + 270: e1a02001 mov r2, r1 + 274: e1a01000 mov r1, r0 + 278: e3a0000b mov r0, #11 + 27c: ef000000 svc 0x00000000 + 280: e49d4004 pop {r4} ; (ldr r4, [sp], #4) + 284: e12fff1e bx lr + +00000288 <sbrk>: + 288: e52d4004 push {r4} ; (str r4, [sp, #-4]!) + 28c: e1a04003 mov r4, r3 + 290: e1a03002 mov r3, r2 + 294: e1a02001 mov r2, r1 + 298: e1a01000 mov r1, r0 + 29c: e3a0000c mov r0, #12 + 2a0: ef000000 svc 0x00000000 + 2a4: e49d4004 pop {r4} ; (ldr r4, [sp], #4) + 2a8: e12fff1e bx lr + +000002ac <sleep>: + 2ac: e52d4004 push {r4} ; (str r4, [sp, #-4]!) + 2b0: e1a04003 mov r4, r3 + 2b4: e1a03002 mov r3, r2 + 2b8: e1a02001 mov r2, r1 + 2bc: e1a01000 mov r1, r0 + 2c0: e3a0000d mov r0, #13 + 2c4: ef000000 svc 0x00000000 + 2c8: e49d4004 pop {r4} ; (ldr r4, [sp], #4) + 2cc: e12fff1e bx lr + +000002d0 <uptime>: + 2d0: e52d4004 push {r4} ; (str r4, [sp, #-4]!) + 2d4: e1a04003 mov r4, r3 + 2d8: e1a03002 mov r3, r2 + 2dc: e1a02001 mov r2, r1 + 2e0: e1a01000 mov r1, r0 + 2e4: e3a0000e mov r0, #14 + 2e8: ef000000 svc 0x00000000 + 2ec: e49d4004 pop {r4} ; (ldr r4, [sp], #4) + 2f0: e12fff1e bx lr