How do I compille ALL source code:

mpasm source.asm /p16f84 (or /p16c84 respectively)

MPASM, version 02.01 (for DOS) from Microchip is used.

For PIC programming I'm using David Tait's TOPIC,version 0.2, PIC programmer.

The command line is:

topic -egpx source.hex

 

It means you have to set following PIC programming switches:

eerase PIC first 
ggo 
pPWRT on 
xoscillator is XT 
 
(WDT is off, CP is off)