update division code

from: https://github.com/6809/sbc09/commit/ccbf2f9b60981dbff22b409772e0b61692d12d33