Displaying numbers between two numbers.
Im using MIPS and im looking to display the numbers between two other numbers.
For example;
$t1 = 5
$t2 = 9
Display = 56789
Ive only just started learning the language so im still struggling to get used to it.
Thanks
Related Article: Displaying the added numbers from registers
is a solved Assembly discussion thread by inagumi that has 10 replies, was last updated 1 year ago and has been tagged with the keywords: assembly, solved.
BleepyE
Junior Poster in Training
96 posts since Dec 2010
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0
thines01
Postaholic
2,433 posts since Oct 2009
Reputation Points: 447
Solved Threads: 408
Skill Endorsements: 7
Mine was bit more long winded as I only know a few commands, but I got there in the end.
It just consisted of branching off to a plus 1 loop until the number equalled the second number.
BleepyE
Junior Poster in Training
96 posts since Dec 2010
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0