OK, it's working now. The problem was indeed with the wsave variables.

I'm using DT_INST-14.bas version 1.00. All the wsave stuff was already commented out there. The error messages gave the clue to uncomment the line "wsave var byte $70 SYSTEM". It then compiled without error for the 16F88 chip and other similar chips as well.