Safe usage of PBP commands within ASM ISR


Results 1 to 14 of 14

Threaded View

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


    Did you find this post helpful? Yes | No

    Default Re: Safe usage of PBP commands within ASM ISR

    You should not use any multiplication, division, modulus (remainder), shifts (<<,>>) greater than 1 or 90% of any other commands in an ASM interrupt.
    In general, you should just not do it at all.

    But if you absolutely must ... then you will have to search through the list file to see if what you wrote uses any system variables, FSR's, TABLPTRx or HW multiplier registers.

    Like I said before, there is no list of "These statements are ok, and those are not". Many statements you think are ok, won't be if you use them differently.
    Use them at your own risk, or use PBP type handlers and don't worry about it.

    If you do do it. Don't post the code. People don't understand the problem and try to do the same thing, creating huge problems.

    I know ... I've posted them before ... but I wish I hadn't.
    Last edited by Darrel Taylor; - 4th November 2011 at 21:55.
    DT

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