Friday, July 13, 2018

How can I perform a modulo operation in ARM assembly without using any MOD instruction (if there is one)?

In C, if I have



int x = 55;
int y = x % 10; // How can I do this in ARM?



How can I perform these two lines in ARM? I don't want to use any MOD operator (in case there does exist such instruction in arm). I'm still very new to assembly



Thanks in advance

No comments:

Post a Comment

plot explanation - Why did Peaches' mom hang on the tree? - Movies & TV

In the middle of the movie Ice Age: Continental Drift Peaches' mom asked Peaches to go to sleep. Then, she hung on the tree. This parti...