No they are slightly different, but IIRC NVIDIA has utility to convert DirectX asm shaders to OpenGL ARB or (more likely) NVIDIA propriary asm shader format.