ack/mach/arm/libem/mlu.s

15 lines
164 B
ArmAsm
Raw Normal View History

1990-11-12 17:09:15 +00:00
.define .mlu
.sect .text
.mlu:
LDMFD R12<,{R0,R1}
MOV R2, #0
_mluloop:
MOV.S R0,R0,LSR #1
ADD.CS R2,R2,R1
ADD R1,R1,R1
BNE _mluloop
MOV R0,R2
MOV R15,R14