ack/mach/ns/libem/putchar.s
1987-01-16 16:49:46 +00:00

19 lines
213 B
ArmAsm

.define .putchar
.sect .text
.sect .rom
.sect .data
.sect .bss
.sect .text
.sect .text
.putchar:
save [r0, r1, r2, r3]
movqd 4, r0
addr 20(sp), r1
movqd 1, r2
xord r3, r3
svc
restore[r0,r1,r2,r3]
ret 1