<html>I came up with even shorter variant of div<br />
example <br />
function teDWordDivBy7_v4( divided : dword):dword; assembler; nostackframe;<br />
asm<br />
mov ecx,divided<br />
mov rax,2635249153693862181<br />
mul rcx<br />
mov eax,edx<br />
end;<br />
<br />
current version for comparison<br />
<br />
function teDWordDivBy7_v0( divided : dword):dword; assembler; nostackframe;<br />
asm<br />
mov ecx,divided<br />
mov eax,613566757<br />
mul ecx<br />
add edx,ecx<br />
rcr edx,1<br />
shr edx,2<br />
mov eax,edx<br />
end;<br />
<br />
<blockquote>
<blockquote>
<blockquote>
<div>
<table>
<tbody>
<tr>
<td> </td>
<td> </td>
</tr>
</tbody>
</table>
</div>
</blockquote>
</blockquote>
</blockquote>
</html>