Shop OBEX P1 Docs P2 Docs Learn Events
HELP: HOw to Convert PICBASIC to PIC Assembly Language — Parallax Forums

HELP: HOw to Convert PICBASIC to PIC Assembly Language

ArchiverArchiver Posts: 46,084
edited 2002-02-01 14:59 in General Discussion
Please help if how to the conversion, example turning on or off ports.

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2002-02-01 14:59
    At 01:41 AM 2/1/02 +0000, you wrote:
    >Please help if how to the conversion, example turning on or off ports

    I'm a little confused as to your meaning of turning on or off the ports,
    but if you are using PICBASIC, the "conversion" is already done for you.
    Look at the *.SRC file generated in combination with the INCLUDE files
    referenced inside the SRC file. You should be able to decipher the
    generated Assembly Language after looking at it long enough and obtaining
    a good PIC Assembly command list. This by the way is an excellent way to
    "learn" PIC Assembly if you already feel comfortable with Basic or another
    flavor of Assembly Language. For example: Often there is a tremendous
    amount of redundancy within the SRC files due to function encapsulation
    that can be eliminated with careful scrutiny to optimize code performance.


    Beau Schwabe Mask Designer IV - ATL
    National Semiconductor Wired Communications Division
    500 Pinnacle Court, Suite 525 Mail Stop GA1 Norcross, GA 30071
Sign In or Register to comment.