[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#608550: closed by Aurelien Jarno <aurelien@aurel32.net> (Re:



"Peter T. Breuer" <ptb@inv.it.uc3m.es> wrote:

Hi,

>> * if v1 is equal to 0, the following sequence is executed:
>>   bne     $3,$0,1f
>>   div     $0,$2,$3
>>   break   7
>
> Yes. The branch fails, and falls through to the division, which (fails
> and) traps in the break following.

I think you're getting confused by the delay slot. If you take the delay
slot into account, you'll see that the code and Aurélien are both
correct.

JB.

-- 
 Julien BLACHE - Debian & GNU/Linux Developer - <jblache@debian.org> 
 
 Public key available on <http://www.jblache.org> - KeyID: F5D6 5169 
 GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169 



Reply to: