compile div and mod int