One is a round pill with M over S12 (could look like 512). That is Sumatriptan 100 mg used for treating migraines (NDC 0378-5632).
![M S12 white tablet](/images/NDC/0378-5632.jpg)
From DailyMed:
![M S12 Sumatriptan 100 mg](https://dailymed.nlm.nih.gov/dailymed/image.cfm?name=image-05.jpg&setid=1d2cd01c-05e7-44cf-a71d-0f474e826b7e&type=img)
Inactive Ingredients:
- Silicon Dioxide
- Croscarmellose Sodium
- Hypromelloses
- Lactose Monohydrate
- Magnesium Stearate
- Cellulose, Microcrystalline
- Polydextrose
- Polyethylene Glycols
- Povidones
- Sodium Lauryl Sulfate
- Titanium Dioxide
- Triacetin
There is another tablet which is more oblong and has the imprint M512 all on one line. That is Capecitabine 500 mg which is a cancer drug (NDC 0378-2512).
From DailyMed:
![M512 white tablet](https://dailymed.nlm.nih.gov/dailymed/image.cfm?name=image-09.jpg&setid=03dd3301-e9ce-40af-84e1-7b70fc6557b0&type=img)
Inactive Ingredients:
- Anhydrous Lactose
- Croscarmellose Sodium
- Hypromelloses
- Cellulose, Microcrystalline
- Magnesium Stearate
- Polydextrose
- Polyethylene Glycols
- Titanium Dioxide
- Triacetin