ASM or PBP First?


Closed Thread
Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924

    Default ASM or PBP First?

    I gave up using ASM a few years ago when I went with PBP. PBP has been able to do, or I should say I have been able to everything I need to do with PBP.

    Now I have some young folks that are wanting to get into this stuff and I wonder what others think.

    Should you learn ASM first or even learn it at all?

    I figure you should learn ASM at some point. I look at the things Bruce and Darrel do and there is no way I could do it because I do not know enough about ASM.


    Start with PBP because it is easy and the person learning will not quit because of the learning curve?

    Looking for opinions.

    Thanks!
    Dave
    Always wear safety glasses while programming.

  2. #2
    timmers's Avatar
    timmers Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mackrackit View Post
    ...Start with PBP because it is easy and the person learning will not quit because of the learning curve?
    You said it all there.
    I started with ASM and ended writing loads of gosubs/macros to try and make it work like Basic!

  3. #3
    Join Date
    Nov 2005
    Location
    Bombay, India
    Posts
    947


    Did you find this post helpful? Yes | No

    Default

    Start with PBP because that is the easy path to succeed. But, once you've driven PBP, you will get curious to know how to tweak it. In PC terminology, I would liken it to overclocking your processor. There is nothing to beat a well written ASM code. PBP is close, but, if you look at the listing, you will see places where you can definitely do it better if you know ASM coding.

    So, in short, you learn to drive a basic(PBP) car and then set eyes on a Ferrari (ASM).

    As for me, I started with ASM and migrated onto PBP. It was tough, but, it is worth knowing ASM because of the things you can do with a mix of PBP and ASM.

  4. #4
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,614


    Did you find this post helpful? Yes | No

    Wink

    Hi, Dave

    +1 for Jerson Analysis ...

    a Working "blinking LED" is the best encouragement to go further ...

    Note Darrel's goodies are somewhat aside : one might consider it as PBP Enhancements, so, it deals with ASM + PBP Internal " procedures " ( note the quotes ... !!! ).

    Something interesting is to work with MPLAB : you can compare BASIC and ASM listings side to side ( good thing to learn how to do it with ASM ...)

    Hope Melabs will QUICKLY repair the awful labels "numbering" they offered with the 2.60 Version ... Helped a lot for that kind of comparison !!!

    or I should say I have been able to everything I need to do with PBP.
    and always remember : the best tool is the one you know the best ....

    a Ferrari goes slowlier than a walking man ... if there is traffic jam ahead !!! ( I verified it once with a ... F40 on my left side !!! ( not mine, the F40 ... be serious !!! ...)

    a well organized PBP program is often better than a 4 Ghz Pentium ... and its programs Pyramid !!! ( did I mention Vista ??? ... no,no, I do not remember ...)

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  5. #5
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Thank you for the replies!!!!

    Interresting... I figured folks would say ASM first.

    Looks like PBP it is to start. Being that some of the young ones have the attention span of an ice cube. Meaning that the time it takes for an ice cube to melt is as long as the "class" is productive. I live in a desert so some times that does not take long. Then when the ice cube gets bigger we can mix some ASM in here and there.

    Thanks again.
    Dave
    Always wear safety glasses while programming.

Similar Threads

  1. PBP, ASM and LST files
    By HenrikOlsson in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 12th January 2010, 13:43
  2. pbp - asm variable passing
    By Charles Linquis in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 25th May 2009, 08:49
  3. Anyone do a comparison of the ASM code generated by PBP??
    By Frozen001 in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 19th November 2008, 20:01
  4. 10f Pbp & Asm
    By Ron Marcus in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 14th February 2006, 21:23
  5. asm and pbp
    By pic beginner in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 24th October 2004, 05:33

Members who have read this thread : 1

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