Used also on much older coins where some years had different mints,
such as this which was made in 10 different mints including Mexico City ... https://en.numista.com/catalogue/pieces4224.html
and that page also shows how it appears, with the o above M on that 1888 coin.