Apparently, you must use a word variable to generate the 32 bit result
add to my original code
a VAR WORD
b VAR WORD
a=500
b=1000
and change to
v_raw=a*b
and it works as advertised
jmgelba thanks for prompt reply but if I understand correctly DIV32 is working with words, not bytes.
Bookmarks