MIPS Assembly Language Programming
MIPS Assembly Language Programming
MIPS Assembly Language Programming
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
72 CHAPTER 5. <strong>MIPS</strong> ASSEMBLY CODE EXAMPLES<br />
5.3 multiples.asm<br />
This program is described in section 2.7. The algorithm used is algorithm 2.1 (shown<br />
on page 32).<br />
1 ## Daniel J. Ellard -- 02/21/94<br />
2 ## multiples.asm-- takes two numbers A and B, and prints out<br />
3 ## all the multiples of A from A to A * B.<br />
4 ## If B