; Hacker's Delight, page 155, signed integer division by 2^3 1 var 32 2 constd 5 2 3 constd 5 3 4 constd 5 29 5 constd 32 8 6 sdiv 32 1 5 7 sra 32 1 2 8 srl 32 7 4 9 add 32 1 8 10 sra 32 9 3 11 eq 1 6 10 12 root 1 -11