On Thursday 19 October 2006 17:04, Patrick Finnegan wrote:
  That actually branches back to the instruction *after*
loop2.  You
 should instead have
         000250  000771          br loop2 
Crap.  I should have checked the result first.... that should be:
        000250  000772          br loop2
otherwise you branch back to where r1 gets reset to 420, and the memory
test fails (gee I wonder why:).
Also, you should halt with PC set to 10, when it's all done.
Pat
--
Purdue University Research Computing ---  
http://www.rcac.purdue.edu/
The Computer Refuge                  ---  
http://computer-refuge.org