The corresponding program to convert MOM6 output to a HYCOM archive file,
mom6nc2archv.f, does the same job. If you want to try to write your own "hycomnc2archv.f", based on the mom6 version, note that you probably have velocity on the p-grid rather than its native u and v grids. There is a "p-vel" archive file type, which has field_p instead of "field " in its .b file:
Alan.