You need to have a programmer that supports the M8. There are many programming vendors that have support for the M8. If you are going to buy a programmer, we recommend the Hi-Lo System (Part ID: CY3649). Below is some information about programming the M8 with a Hi-Lo System programmer.
For the 630xx family, the matrix card is not needed. If the package type is 630xx-PC (PDIP), the adapter is not needed as well (just a Hi-Lo programmer is enough). If the package type is SOIC, a AS-28-28-03S-6-GANG adapter is needed. This adapter can be purchased from Emulation Technologies - http://www.emulation.com/