I'm having trouble coding in ARM Assembly, I have to code something in order to say if r0 is divisible by r1, so I was going to code the modulo to say if r0 % r1 == 0 but maybe there's a better way (performing speaking) to what I want?
I found this subject but it's not really helping me out since my compiler (if it's a compiler ^^) which is arm-eabi-gcc tells me selected processor does not support ARM mode 'udiv' and 'mls'
Anyways as I just said I'd prefer to code it myself because teachers have been telling us that mod and div have heavy cost, so maybe there's a better way for my case :D