Talk:MIPS Assembly/Arithmetic Instructions

div instruction - how does it deal with -ve numbers? is -7/4 equal to -2 with remainder 1, or -1 with remainder -3? K&R allows for either to be correct in 'C'.