[PATCH] dmscript: Use HIWORD / LOWORD instead of open coding them