Question: Write an assembly program that produce the modulo of 2 positive numbers (i.e., the remainder of the division) and store the result in R4, i.e.,
Write an assembly program that produce the modulo of 2 positive numbers (i.e., the remainder of the division) and store the result in R4, i.e., R4 = X % Y.
The value of X should be stored in 0x3100 and the value of Y should be stored in 0x3101. Also, let X = 0x005A and Y = 0x0007. Your program should start at 0x3000.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
