os_kernel_lab/related_info/lab4/some-exercises/prog.s
2016-04-11 00:58:26 +08:00

9 lines
102 B
ArmAsm

.section __TEXT,__text
.globl start
start:
mov $0x1, %eax
push $0x0
call _syscall
_syscall:
int $0x80