I don't see any reason you couldn't use an 877.

You'll just have to adjust for the specific 877 hardware.
The test program only takes 1070 words of flash, so no problem there.