At 11:38 PM 12/18/2005 -0500, you wrote: >Hi all. I've just run across something weird. I'm fairly certian it's >my fault, but I don't know if my fix is correct. > >Short story is I'm writing an ISR for the 18F4550. I want to use the >fast return, so at the end of my routine I wrote "RETFIE, FAST". The >assembler throws an error about the comma. If I take out the comma, it >assembles fine (haven't tested it yet though). The datasheet seems to >say that I need the comma. What's going on? When you look at the disassembled code, does it have the correct opcode? That's the bottom line. The MPASM help file says the syntax is: retfie s where the default is s is 0, and 1 for fast naturally, the 4550 include file contains this: FAST EQU 1 I don't think there's ever a comma between the op-code and the first argument; only to separate multiple arguments. I think you're okay, just another minor datasheet blip. >Best regards, Spehro Pefhany --"it's the network..." "The Journey is the reward" speff@interlog.com Info for manufacturers: http://www.trexon.com Embedded software/hardware/analog Info for designers: http://www.speff.com ->> Inexpensive test equipment & parts http://search.ebay.com/_W0QQsassZspeff -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist