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

18 lines
197 B
ArmAsm

.define .dup
.sect .text
.sect .rom
.sect .data
.sect .bss
.sect .text
.sect .text
!r2 will save return addres
.dup:
movd tos, r2
addr 0(sp), tos
movd r0, tos
jsr @.los
movd r2, tos
ret 0