help please...!


Closed Thread
Results 1 to 13 of 13

Thread: help please...!

Hybrid View

  1. #1
    Join Date
    Feb 2011
    Posts
    37

    Default help please...!

    hellow everyone,

    m trying to compile my program but m getting these assembler errors....i've tried to reinstaill my compiler but it is not working and if i set to pic16f877 it compiles successful!...i need help please...

    Code:
    ; m using pic16f877a
    
    led var portc.0
    trisb=1
    trisc=0
    MAIN:
        led=0
    MO:
        led=1
        pause 3000
    if portb.0=1 then MO
    goto main
    end
    one of the assembler error is " can not open file('include file pic16f877a.INC' not found)


    m getting these assembler errors...

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


    Did you find this post helpful? Yes | No

    Default Re: help please...!

    What version of PBP are you using?
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    Feb 2011
    Posts
    37


    Did you find this post helpful? Yes | No

    Default Re: help please...!

    Quote Originally Posted by mackrackit View Post
    What version of PBP are you using?
    m using PBP ver.2.6

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


    Did you find this post helpful? Yes | No

    Default Re: help please...!

    pic16f877a.INC is a MPASM file. Do you have MPLAB installed?
    If not you can compile using PM.
    If you are using Micro code Studio and have MPASM checked as the assembler and MPASM is not installed then you would not be able to assemble for the 877.

    Can you give more info about your setup?
    Dave
    Always wear safety glasses while programming.

  5. #5
    Join Date
    Feb 2011
    Posts
    37


    Did you find this post helpful? Yes | No

    Default Re: help please...!

    Quote Originally Posted by mackrackit View Post
    pic16f877a.INC is a MPASM file. Do you have MPLAB installed?
    If not you can compile using PM.
    If you are using Micro code Studio and have MPASM checked as the assembler and MPASM is not installed then you would not be able to assemble for the 877.

    Can you give more info about your setup?
    well, i've installed mplab ver 8.6 and m using micro code studio with mpsam checked as assembler...

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


    Did you find this post helpful? Yes | No

    Default Re: help please...!

    Does the Smiley mean it works now?
    Dave
    Always wear safety glasses while programming.

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