The problem is described in e2e posting e2e.ti.com/.../1692782
The code for the simulation of dapys2 (static dword dapys2(dword op1, dword op2)) has a negative operation for an unsigned variable. The VS compiler does not like it
In my response to the posting I suggested how to fix the code by casting the unsigned to signed before applying the minus and re-casting the result back to unsigned