MIPS assembly for a simple for loop

Your loop goes from 0 to 14, so your bgt instruction should be: bgt $t0,14,exit I think.

.

Leave a Comment