Return VS @ INT_RETURN in DT_INTs


+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    2,986

    Default Return VS @ INT_RETURN in DT_INTs

    (In case it helps someone avoid wasting hours looking why a program locks)

    RETURN at the end of your interrupt will compile, but it will return to Mars or some such distant place.
    Last edited by Demon; - 21st September 2024 at 04:57.
    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

  2. #2
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    3,996


    1 out of 1 members found this post helpful. Did you find this post helpful? Yes | No

    Default Re: Return VS @ INT_RETURN in DT_INTs

    DT-INTS should close with a @INT_RETURN since this macro restores some registers.

    Ioannis

Similar Threads

  1. RETURN command?
    By droptail in forum mel PIC BASIC Pro
    Replies: 21
    Last Post: - 12th March 2022, 14:34
  2. gosub - return
    By l_gaminde in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 11th August 2010, 11:21
  3. how to return to a specific location after dt_ints
    By dorro1971 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 22nd January 2010, 00:09
  4. Return VS Goto?
    By Fredrick in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 11th January 2008, 01:13
  5. Jump and return
    By savnik in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 14th July 2006, 14:09

Members who have read this thread : 5

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