ack/mach/ns/libsys/_read.s

21 lines
242 B
ArmAsm
Raw Normal View History

1990-01-22 13:41:58 +00:00
.define __read
.sect .text
.sect .rom
.sect .data
.sect .bss
.sect .text
.extern __read
.sect .text
__read:
enter[], 0
save [r0,r1,r2,r3]
movd 3,r0
movd 12(fp),r1
movd 16(fp),r2
movd 0,r3
svc
movd 16(fp),r4
restore [r0,r1,r2,r3]
exit[]
ret 0