ashl:
	lsh 1,1
	popj 17,

lshl:
	lsh 1,1
	popj 17,

smul:
	ash 1,1
	popj 17,

umul:
	lsh 1,1
	popj 17,

ashr:
	ash 1,-1
	popj 17,

lshr:
	lsh 1,-1
	popj 17,

sdiv2:
	move 2,1
	lsh 2,-43
	add 1,2
	ash 1,-1
	popj 17,

udiv2:
	lsh 1,-1
	popj 17,

sdiv4:
	jumpge 1,%L10
	addi 1,3
%L10:
	ash 1,-2
	popj 17,

udiv4:
	lsh 1,-2
	popj 17,

dashl:
	lshc 1,1
	popj 17,

dlshl:
	lshc 1,1
	popj 17,

dsmul:
	ashc 1,1
	popj 17,

dumul:
	lshc 1,1
	popj 17,

dashr:
	ashc 1,-1
	popj 17,

dlshr:
	lshc 1,-1
	popj 17,

dsdiv2:
	dmove 3,1
	lshc 3,-107
	dadd 1,3
	ashc 1,-1
	popj 17,

dudiv2:
	lshc 1,-1
	popj 17,

dsdiv4:
	dmove 3,1
	ashc 3,-1
	lshc 3,-106
	dadd 1,3
	ashc 1,-2
	popj 17,

dudiv4:
	lshc 1,-2
	popj 17,
