You are trying to reference the OPTION register incorrectly. You have used OPT, but the pic16f84.inc file defines this register as OPTION_REG.
You will get a few warnings about "Register in operand not in bank 0". These are just warnings however. The assembler can't tell if you've set the correct bank or not before using these registers so warns you anyway.
Regards
Mike
-----Original Message-----
From: Andy Bassam [SMTP:amb1eng@MAIL.BOLTON.AC.UK]
Sent: Friday, February 11, 2000 11:50 AM
To: PICLIST@MITVMA.MIT.EDU
Subject: Firing pulse error
I was wondering if anyone could help me, i have written the coding
to detect a zero cross over from a square wave, and then outputs a
firing pulse. I've tried to compile it, but there are a few errors which
i cannot find. Any help would be very useful.
<< File: Attachment information. >> << File: phase1.asm >>