As I see from the data sheet the 3 pin P0H.7 - P0H.5 define the multiplier of the external clock . External clock is 8 MHz on both units.
the ME7.8.1 has a multiplier of 5 (->40MHz) and the ME7.8 has a multiplier of 3 (->24MHz)
Resurrection of this thread as i just did this on a ME7.1 which was 24Mhz and i needed 20Mhz to run other software...
You just need to find the pull up or pull down resistors on P0H.7-5 and configure them in the way you need them,
but keep in mind the software you are going to flash needs sto have the correct SY_FREQ or else nothing will work as baudrates and other timer stuff is calculated compiletime via this macro.