Hi Petra93,
@jj2007, presumably he does mean "words" not dwords since this is the 16-bit forum.
@FORTRANS, that looks like the best suggestion except for one thing, presumably Petra93 might have to divide negative number. So use SAR on high word then RCR on low word
@KeepingRealBusy, SHRD also works: first "SHRD wordlo, wordhi, 1" then SAR "wordhi, 1". However glancing at the timings, it appears RCR is faster. Perhaps that should be tested. The other good thing about SHRD, it would work for dividing by higher powers of 2 also
@Petra93, this appears best:
SAR wordhi, 1
RCR wordlo, 1
But another suggestion, since you need to deal with large (32-bit) numbers, would be easier to use 32-bit code