Hi,
MSP430 is a 16 bit controller... I wonder how you did the 4 bit division.
Where do you see the problem doing a 16 bit division, when you already did the 4 bit division?
I gave you some hints... You even did not say what input variable type you have and what output variable type.
In general a binary division is similar to a decimal division.
Shifting, deciding if the first value is bigger than the second, subtracting or not, result register update,...shifting...
It's almost the same for 4 bits, for 16 bits, for binary, for decimal....
Klaus