In ARM7 assembly I want to find the smaller of the two numbers. The numbers are to be signed 32 bit values. Here is what I have tried -
.global min32
.text
min:
CMP R0,R1
BGE end
BX LR
end:
MOV R0, R1
BX LR
What should I change in this?