os_kernel_lab/related_info/lab4/some-exercises/prog.s

9 lines
102 B
ArmAsm
Raw Normal View History

2016-04-11 00:58:26 +08:00
.section __TEXT,__text
.globl start
start:
mov $0x1, %eax
push $0x0
call _syscall
_syscall:
int $0x80