1985-07-26 11:56:24 +00:00
|
|
|
.define .dup
|
1987-01-16 16:49:46 +00:00
|
|
|
.sect .text
|
|
|
|
.sect .rom
|
|
|
|
.sect .data
|
|
|
|
.sect .bss
|
|
|
|
.sect .text
|
1985-07-26 11:56:24 +00:00
|
|
|
|
1987-01-16 16:49:46 +00:00
|
|
|
.sect .text
|
1985-07-26 11:56:24 +00:00
|
|
|
|
|
|
|
!r2 will save return addres
|
|
|
|
.dup:
|
|
|
|
movd tos, r2
|
|
|
|
addr 0(sp), tos
|
|
|
|
movd r0, tos
|
|
|
|
jsr @.los
|
|
|
|
movd r2, tos
|
|
|
|
ret 0
|