Assembly Language Conflict


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2005
    Location
    Hendersonville NC
    Posts
    14

    Unhappy Assembly Language Conflict

    I am using Microcode Studio Plus with PIC Basic 2.47 (I used to have 2.45 but recently upgraded). I used to be able to use an assembly language statement to set the PIC configuration in a 16F870 on a line by itself as follows:
    @ __config _RC_OSC & _WDT_OFF & _PWRTE_ON & _LVP_OFF & _CP_OFF
    now I cannot use this anymore because I get an error as follows:
    Error[118] C:\rfprogs\picinfo\picbas~1\bingo.asm 122 : Overwriting previous address contents (2007)

    I have two problems with this error notice, first I recognize (2007) as being the address location where the PIC Config information is written, HOWEVER, neither the PIC Basic Software nor the Microcode Studio Plus software mention ANYTHING about what "Error[118] means, nor does anything mention what the "122" stands for. In fact I cannot find a list of error codes anywhere or what they mean. The manual mentions something about having problems when sharing variables between PBP and assembly, BUT as far as I know, I'm NOT doing that!

    Would someone please explain to me what is going on and what I need to do to correct this problem?

    Many thanks
    Kindest regards,
    Chuck Irwin

  2. #2
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,521


    Did you find this post helpful? Yes | No

    Default

    Hi,
    Have a look here. I think that will answer your question.

    /Henrik Olsson.

  3. #3
    Join Date
    Dec 2005
    Location
    Hendersonville NC
    Posts
    14


    Did you find this post helpful? Yes | No

    Default Assembly Language Conflice

    Thanks Hinrik! That helped a lot! I did this before but forgot about having to edit the *.inc file! Getting old and forgetful is NOT fun!

Similar Threads

  1. Assembly Language inside PBP
    By Bill Legge in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 12th October 2009, 21:52
  2. Multi Language Support on LCD ?
    By muskut in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 8th June 2007, 14:07
  3. Assembly Guru : Question
    By Archangel in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 20th May 2007, 03:51
  4. Assembly Language + PBP
    By Charles Linquis in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 10th January 2006, 13:54
  5. Replies: 2
    Last Post: - 8th August 2004, 16:00

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