Darrel Taylor's Interrupt Stuff & CDLite


Results 1 to 8 of 8

Threaded View

  1. #4


    Did you find this post helpful? Yes | No

    Unhappy Errors with MicroCode Studio and general confusion

    Darrel,

    Unfortunately, I could still use a little help here...

    I regurgitated your little LED program in MicroCode Studio, and here's what I receive in errors:

    --------------------------------------------------

    'Interrupt test - PIC16F88

    LED1 VAR PORTB.1
    INCLUDE "DTINTS.BAS" 'base interrupt system (renamed only, not edited)
    INCLUDE "REPBP.BAS" 'include if using PBP interrupts (as above)

    Asm
    INT_LIST macro ;IntSource, Label, Type, Resetflag?
    INT_Handler INT_INT, _ToggleLED1, PBP, yes
    endm
    INT_CREATE ;creates the interrupt processor

    INT_ENABLE INT_INT ;enable external (INT) interrupts
    EndAsm

    Main:

    Pause 1
    GoTo main

    '----------[INT - interrupt handler]----------------
    ToggleLED1:
    Toggle LED1
    @ INT_RETURN


    ------------------------------------------

    Errors are as follows:

    Error[113] g:\pbp\inttst.asm 115 : Symbol not previously defined (PIR2)
    Warning[207] g:\pbp\inttst.asm 288 : Found label after column 1. (L?GoTo)
    Error[122] g:\pbp\inttst.asm 288 : Illegal opcode (_SavePBP)
    Warning[207] g:\pbp\inttst.asm 297 : Found label after column 1. (L?GoTo)
    Error[122] g:\pbp\inttst.asm 297 : Illegal opcode (_ToggleLED1)
    Warning[207] g:\pbp\inttst.asm 241 : Found label after column 1. (L?GoTo)
    Error[122] g:\pbp\inttst.asm 241 : Illegal opcode (_RestorePBP)
    (is there an easy way to copy this error list to clipboard? It seems to get lost every time I try, so I had to retype it manually here)

    Attached is the inttst.asm file renamed to .txt
    Attached Files Attached Files

Similar Threads

  1. Interrupt RPM and Taylors Elapsed time on 18F4620
    By Tobias in forum mel PIC BASIC Pro
    Replies: 70
    Last Post: - 3rd February 2010, 16:12
  2. darrel taylor's instant interrupt compiler error
    By delta_boogie in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 20th October 2009, 19:07
  3. Can't ID interrupt source with this IntHandler??
    By jellis00 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 3rd June 2009, 02:35
  4. Ping Darrel Taylor - Timer0 Instant Interrupt
    By JEC in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 9th January 2007, 11:20
  5. USART interrupt not interrupting right
    By Morpheus in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 6th March 2005, 01:07

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