PM vs MPASM... DT Instant Interrupts


Closed Thread
Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Nov 2005
    Location
    Bombay, India
    Posts
    969


    Did you find this post helpful? Yes | No

    Default Re: PM vs MPASM... DT Instant Interrupts

    the differences between PM and MPASM?
    PM is the in-built assembler in PBP. MPASM comes from MPLAB toolchain. If you're the kind that likes to read .LST files and learn how to ASM, PM is the better option simply because it generates shorter LST files. For Darrells code to work, you WILL need to use MPASM as he uses a lot of features present only in MPASM (esp. MACROS)

    INCLUDE "ReEnterPBP.bas" ; Include if using PBP interrupts
    If you want to write BASIC code within your interrupt section, you should use this. What it does is to save the state of the PBP variables on entering the ISR(interrupt service routine) and restore it back on exit. That way, you do not have to write ASM code in the ISR.

  2. #2
    Join Date
    Oct 2009
    Location
    Utah, USA
    Posts
    427


    Did you find this post helpful? Yes | No

    Default Re: PM vs MPASM... DT Instant Interrupts

    If you want to write BASIC code within your interrupt section, you should use this.
    Thanks Jerson,

    Those few words allow me to understand when to use/not use the ReEnterPBP.bas include file.

    As I have written in other posts... reading the PBP manual and other code examples is sometimes hard for me to clearly understand the examples and instructions given. Especially if they are written with few words and toward a more experienced reader.

    I did get MPASM working.
    By the way... Microchip has a new version of their IDE v8.73a realeased July 1, 2011

    Thanks for taking the time to post, that helped a bunch.
    Last edited by Heckler; - 6th July 2011 at 15:43.
    Dwight
    These PIC's are like intricate puzzles just waiting for one to discover their secrets and MASTER their capabilities.

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