Problem
In an assembly program to calculate the square root of a one-byte positive number. The result is rounded to integer directly, e.g 7.6 is rounded to 7.
Here we assume the input value is stored in register R5, which will be manually set to a value before execution, and the result will be saved in register R6.
The questions are:
• Can we put the number 255 manually on R5?
• What is the result for R6 (dec/hex)?