DT's instant interupts compile problem


Closed Thread
Results 1 to 5 of 5
  1. #1

    Default DT's instant interupts compile problem

    I'm using DT's instant interupts for overflow interupt on TMR1 with the 16F877A.

    I've got a compile error that i'm completely lost as to what to do about it...


    Code:
    Error D:\BEDINI\PICCOD~1\BEDINI~2\DRIVER\1.ASM 536 : [224] LOCAL Directive Only for Use in Macros
    E[224]                                  LOCAL Directive Only for Use in Macros
    Error D:\BEDINI\PICCOD~1\BEDINI~2\DRIVER\1.ASM 536 : [225] Undefined Symbol 'IflagReg'
    E[225]                                  Undefined Symbol 'IflagReg'
    Error D:\BEDINI\PICCOD~1\BEDINI~2\DRIVER\1.ASM 536 : [226] Numeric Constant or Symbol Name Expected
    E[226]                                  Numeric Constant or Symbol Name Expected
    Error D:\BEDINI\PICCOD~1\BEDINI~2\DRIVER\1.ASM 536 : [201] ')' Expected
    E[201]                                  ')' Expected
    Error D:\BEDINI\PICCOD~1\BEDINI~2\DRIVER\1.ASM 536 : [225] Undefined Symbol 'IflagReg'
    E[225]                                  Undefined Symbol 'IflagReg'
    Error D:\BEDINI\PICCOD~1\BEDINI~2\DRIVER\1.ASM 536 : [226] Numeric Constant or Symbol Name Expected
    E[226]                                  Numeric Constant or Symbol Name Expected
    Error D:\BEDINI\PICCOD~1\BEDINI~2\DRIVER\1.ASM 536 : [201] ')' Expected
    E[201]                                  ')' Expected
    Error D:\BEDINI\PICCOD~1\BEDINI~2\DRIVER\1.ASM 536 : [225] Undefined Symbol 'IflagReg'
    E[225]                                  Undefined Symbol 'IflagReg'
    Error D:\BEDINI\PICCOD~1\BEDINI~2\DRIVER\1.ASM 536 : [226] Numeric Constant or Symbol Name Expected
    E[226]                                  Numeric Constant or Symbol Name Expected
    Error D:\BEDINI\PICCOD~1\BEDINI~2\DRIVER\1.ASM 536 : [201] ')' Expected
    E[201]                                  ')' Expected
    Error D:\BEDINI\PICCOD~1\BEDINI~2\DRIVER\1.ASM 536 : [225] Undefined Symbol 'IflagReg'
    E[225]                                  Undefined Symbol 'IflagReg'
    Error D:\BEDINI\PICCOD~1\BEDINI~2\DRIVER\1.ASM 536 : [226] Numeric Constant or Symbol Name Expected
    E[226]                                  Numeric Constant or Symbol Name Expected
    Error D:\BEDINI\PICCOD~1\BEDINI~2\DRIVER\1.ASM 536 : [201] ')' Expected
    E[201]                                  ')' Expected
    Error D:\BEDINI\PICCOD~1\BEDINI~2\DRIVER\1.ASM 536 : [225] Undefined Symbol 'IflagReg'
    E[225]                                  Undefined Symbol 'IflagReg'
    Error D:\BEDINI\PICCOD~1\BEDINI~2\DRIVER\1.ASM 536 : [226] Numeric Constant or Symbol Name Expected
    ♀PM Assembler 4.08, Copyright (c) 1995, 2006 microEngineering Labs, Inc.                                 Page 8
    
    E[226]                                  Numeric Constant or Symbol Name Expected
    Fatal D:\BEDINI\PICCOD~1\BEDINI~2\DRIVER\1.ASM 536 : [300] Too Many Errors
    I'm hoping the formatting comes out ok...

    As i said, i'm completely lost on this one... Any help appreciated...

  2. #2
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    You have to assemble it with MPASM.

    The errors indicate you are using PM.
    <br>
    DT

  3. #3


    Did you find this post helpful? Yes | No

    Default

    ah right... but the problem with mpasm is that it doesn't like my @device fuse config statements...

  4. #4
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,521


    Did you find this post helpful? Yes | No

    Default

    And I think you'll find the answer to that problem in this thread

  5. #5


    Did you find this post helpful? Yes | No

    Default

    ahhhhh! i didn't read that bit about mpasm when i read that thread...

    Coolies, thanks

Similar Threads

  1. How instant are Instant Interupts?
    By jmgelba in forum mel PIC BASIC Pro
    Replies: 28
    Last Post: - 11th April 2009, 18:50
  2. Instant interupts
    By Sneaky-geek in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 7th March 2009, 19:18
  3. Problem to compile my program
    By wagner in forum Off Topic
    Replies: 5
    Last Post: - 7th July 2008, 20:17
  4. Instant Interupts with a 12f675
    By wlundonly in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 26th January 2008, 01:52
  5. Keypad and DT's Instant Interrupts
    By Homerclese in forum General
    Replies: 11
    Last Post: - 27th April 2007, 06:32

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts