Write an assembly program that calculates the following cost function. Assume the unsigned integer input χ is stored in register r0 and the cost is in register r1. if x s 10 8x ifx > 10 and x s 100 7x if x 〉 100 and x 1000 6x cost(x) if x > 1000 Show transcribed image text Write an assembly program that calculates the following cost function. Assume the unsigned integer input χ is stored in
OR
OR