To get you started, here's a set of Configs for the 876A (you can easilly change this for 877A) to be used with the MELABS default PM Assembler (not Microchips MPASM)...

Code:
	@ DEVICE pic16F876A, HS_OSC		' System Clock Options	
	@ DEVICE pic16F876A, WDT_ON		' Watchdog Timer
	@ DEVICE pic16F876A, PWRT_ON		' Power-On Timer
	@ DEVICE pic16F876A, BOD_ON		' Brown-Out Detect
	@ DEVICE pic16F876A, LVP_OFF		' Low-Voltage Programming
	@ DEVICE pic16F876A, CPD_OFF		' Data Memory Code Protect
						' Set to CPD_ON for Release Copy
	@ DEVICE pic16F876A, PROTECT_OFF	' Program Code Protection
						' Set to PROTECT_ON for Release
	@ DEVICE pic16F876A, WRT_OFF		' Flash Memory Word Enable
Now call me old-fashioned, but I don't use Microcode Studio... and I would compile my program from a Windows DOS box with the command line...

PBPW -p16F876A myprogram -v

If your program is small, you can also use...

PBP -p16F876A myprogram -v

but once it's complexity exceeds a certain limit, you will get "Out of Memory" errors when you compile, and you'll have to use PBPW rather than just PBP.