View Single Post
Old Dec 4th, 2006, 10:02 PM   #34
The Dark
Expert Programmer
 
Join Date: Jun 2005
Posts: 882
Rep Power: 4 The Dark is on a distinguished road
Quote:
Originally Posted by cwl157 View Post
and how do i even go about starting to debug it. Printing stuff takes like 3 lines. Like is there a way to print out what hamming distance is after every time through the loop?
before you check to see if you need to go around again, you could put
	move $a0, $s2		# syscall 1 prints an integer
	li $v0, 1
	syscall
The Dark is offline   Reply With Quote