Exponential modular in mips assembly

Viewed 41

I have to make a modular exponential of a^{b}(mod c), the problem is that the values ​​of a and b can be very large, at most 65534 and less than 1

The code is already approved in most test cases, but for values ​​close to 60k it doesn't work. how can I make this exponential 65534^{65534} without having problems in mips?

0 Answers
Related