ack/mach/ns/libem/rmu.s

22 lines
231 B
ArmAsm
Raw Normal View History

1985-07-26 11:56:24 +00:00
.define .rmu
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
.rmu:
enter[r2],0
movd 1,r2
andd 12(fp),r2
movd 12(fp),r0
lshd -1,r0
remd 8(fp),r0
lshd 1,r0
addd r2,r0
remd 8(fp), r0
exit[r2]
ret 8