Equal volumes of all gases contain the samenumber of molecules when the volumes are measured at the same p and T.
Therefore for a given volume at the same p and T, with the same number of molecules, the amount (or mass) of the gas will be directly proportional to the RELATIVE ATOMIC or MOLECULAR MASS or MOLECULAR MASS RATIO M.
MOLAR MASS = Mass of one mole = M g/mol