Mercurial > hg > Members > tobaru > xv6-osx-rpi
diff src/initcode.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/initcode.asm Sun Feb 04 17:54:49 2018 +0900 @@ -0,0 +1,26 @@ + +build/initcode.o: file format elf32-littlearm + + +Disassembly of section .text: + +00000000 <start>: + 0: e59f1024 ldr r1, [pc, #36] ; 2c <argv+0x8> + 4: e59f2024 ldr r2, [pc, #36] ; 30 <argv+0xc> + 8: e3a00007 mov r0, #7 + c: ef000000 svc 0x00000000 + +00000010 <exit>: + 10: e3a00002 mov r0, #2 + 14: ef000000 svc 0x00000000 + 18: eafffffc b 10 <exit> + +0000001c <init>: + 1c: 696e692f .word 0x696e692f + 20: 00000074 .word 0x00000074 + +00000024 <argv>: + 24: 0000001c .word 0x0000001c + 28: 00000000 .word 0x00000000 + 2c: 0000001c .word 0x0000001c + 30: 00000024 .word 0x00000024