To implement a program that calculates simple interest.
The program to compute the simple interest and its equivalent low-level instructions executed by the hardware. The low-level instructions used are:
|It assigns a value to a variable.
|It divides the values contained in two registers and puts the result in the first register.
|It reads the input from the user and stores it in a variable.
|It loads a value of a global or local variable to the given register.
|It multiplies the values contained in two registers and puts the result in the first register.
|It prints the output value to the screen.
|It stores the value from the given register to the global or local variable.
|Signifies the end of program