1	.set	mips16
2	.ent	foo
3foo:
4	div	$2,$3,$4
5	divu	$3,$4,$5
6	ddiv	$4,$5,$6
7	ddivu	$5,$6,$7
8	rem	$6,$7,$16
9	remu	$6,$7,$17
10	drem	$2,$3,$4
11	dremu	$3,$4,$5
12	mul	$4,$5,$6
13	dmul	$5,$6,$7
14	subu	$2,-32767
15	subu	$3,16
16	subu	$4,32768
17	subu	$3,$7,-16383
18	subu	$4,$16,4
19	subu	$5,$17,16384
20	dsubu	$4,-32767
21	dsubu	$6,6
22	dsubu	$7,32768
23	dsubu	$2,$4,-16383
24	dsubu	$3,$7,8
25	dsubu	$4,$5,16384
261:	beq	$2,$3,1b
271:	bne	$4,$5,1b
281:	blt	$6,$7,1b
291:	bltu	$16,$17,1b
301:	ble	$4,$7,1b
311:	bleu	$5,$6,1b
321:	bge	$4,$16,1b
331:	bgeu	$5,$17,1b
341:	bgt	$4,$6,1b
351:	bgtu	$5,$7,1b
361:	beq	$2,1,1b
371:	beq	$3,65535,1b
381:	bne	$4,1,1b
391:	bne	$5,65535,1b
401:	blt	$6,-32768,1b
411:	blt	$7,32767,1b
421:	bltu	$16,-32768,1b
431:	bltu	$17,32767,1b
441:	ble	$2,-32769,1b
451:	ble	$3,32766,1b
461:	bleu	$4,-32769,1b
471:	bleu	$5,32766,1b
481:	bge	$6,-32768,1b
491:	bge	$7,32766,1b
501:	bgeu	$16,-32768,1b
511:	bgeu	$17,32767,1b
521:	bgt	$2,-32769,1b
531:	bgt	$3,32766,1b
541:	bgtu	$4,-32769,1b
551:	bgtu	$5,32766,1b
56	abs	$2
57	abs	$3,$3
58	abs	$4,$5
59	.end	foo
60