Dear Mr. Jamie, I am facing problem because of External interrup in the main programe. Did I miss somthing ? Please give me an example of External interrupt. (Note: I am using pic16f874) Kashif ali "Jamie D. Merrill" wrote: > If you are using CVASM 5.8 or earlier, you need to have a "Device" > directive before anything else in your source code and the device > directive (or ANY directives in CVASM) cannot begin at the first > position of a new line (use a TAB or Space). > > If you are using CVASM 6.0, you will need to put a processor "include" > directive at the beginning of your code, and delete the "Device" > directive. As with earlier versions of CVASM, all directives cannot > begin at the first position of a new line. > > To find out which version you are using, assemble with the "/L" > command-line switch. This will cause the assembler to generate a list > file with the same prefix as the source file, which identifies the > version. > > Enjoy! > Jamie > > Jason wrote: > > > > Hi all, > > > > Just wondering if someone out there could help me out. > > > > I have a source code witten for the PIC16f84 microchip. In the source it > > states: > > ; -->Parallax code -- Use spasm to assemble. > > > > Unfortunately I have tried using the command line spasm software (http://tech-tools.com/cvasm16.htm), but have > > had zero luck. I know the code is correct, but I have no idea what I am > > doing wrong. > > > > The output i am getting when I try to assemble it is: > > > > ": illegal mnemonic/operand combination" line after line > > > > All help would be GREATLY appreciated... > > > > Thanks in advance.. > > > > -- > > http://www.piclist.com#nomail Going offline? Don't AutoReply us! > > email listserv@mitvma.mit.edu with SET PICList DIGEST in the body > > -- > http://www.piclist.com hint: To leave the PICList > mailto:piclist-unsubscribe-request@mitvma.mit.edu -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.