ack/mach/ns/libsys/time.s

21 lines
239 B
ArmAsm
Raw Normal View History

1985-07-26 12:51:45 +00:00
.define _time
1987-01-16 16:49:46 +00:00
.sect .text
.sect .rom
.sect .data
.sect .bss
.sect .text
1985-07-26 12:51:45 +00:00
.extern _time
1987-01-16 16:49:46 +00:00
.sect .text
1985-07-26 12:51:45 +00:00
_time:
enter[], 12
addr -12(fp),tos
jsr @_ftime
adjspd -4
cmpqd 0,8(fp)
beq I0013
movd -12(fp),0(8(fp))
I0013:
movd -12(fp),r4
exit []
ret 0