Write MIPS code that generates a sequence according to the following rule:
1. The first two numbers of the sequence are 0 and 0.
2.
The third number of the sequence should be 803
.3.
The fourth and subsequent numbers of the sequence should be sum of previous three numbers.
4.
The last number in the sequence should be less than 10e6 (10 million). In other words, the
next higher number in series will become greater than 10e6.
An example of the sequence is:
[0, 0, 622, 622, 1244, 2488, 4354, 8086, 14928, 27368, 50382, 92678, 170428, 313488,
576594, 1060510, 1950592, 3587696, 6598798]
5.
The resulting data sequence should be stored in memory starting at address 0x10020000.
Note: Your code should NOT hard code the numbers, but generate the numbers using above rules.
I need assistance understanding the work in preparation for my project.