So i have two variables a and b and I need to raise a to the power b in assembly code.
I know I can do this by multiplying a by b times in a loop (it only needs to work on 16 bits) but I dont know how to do it with variables.
Thanks in advance :)
So i have two variables a and b and I need to raise a to the power b in assembly code.
I know I can do this by multiplying a by b times in a loop (it only needs to work on 16 bits) but I dont know how to do it with variables.
Thanks in advance :)