Retro68/gcc/newlib/libc/sys/sysvi386/chdir.S

10 lines
108 B
ArmAsm
Raw Normal View History

.globl _chdir
.globl chdir
_chdir:
chdir:
movl $0xc, %eax
lcall $7,$0
jb _cerror
xor %eax, %eax
ret