Warning and Message


Closed Thread
Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Dec 2005
    Posts
    1,073


    Did you find this post helpful? Yes | No

    Default

    Here's the .LST file section...
    Code:
    00F9   0918               M         call    SEROUT
                          00078         SEROUT?C        0FFA9h
    Warning[202]: Argument out of range.  Least significant bits used.
    00FA   0CA9               M         movlw   0FFA9h
                              M         L?CALL  SEROUT
    By commenting out each SerOut instance (one-by-one) and recompiling, I isolated it to the copyright message. Without it, both the warning and message go away.

    I'll have to wait until Digikey ships my 12F509 chips to test it.
    Last edited by dhouston; - 10th September 2009 at 14:45.

  2. #2
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default

    dhouston , I just ran your code and if you get rid of the copyright character the code compiles... Where are you getting the copyright symbol anyways? I don't think the assembler understands it....

    Dave Purola,
    N8NTA

  3. #3
    Join Date
    Dec 2005
    Posts
    1,073


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Dave View Post
    Where are you getting the copyright symbol anyways? I don't think the assembler understands it....
    It was copied and pasted from my source code for an Atmel AVR compiler. The ASCII chart in Appendix D of the PBP manual only goes to 127 so any extended character is likely to cause this. © is ascii 169 (depending on the font).

    EDIT: The same copyright line compiles and works OK with a 12F629. It must be a limitation of the 12-bit cores. Anything greater than Ascii 126 causes the error.
    Last edited by dhouston; - 10th September 2009 at 18:15.

Similar Threads

  1. PIC16F690 PBP boundary crossing warning message
    By xnihilo in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 9th May 2008, 12:17
  2. Advice please - Warning message
    By malc-c in forum mel PIC BASIC Pro
    Replies: 50
    Last Post: - 23rd January 2007, 14:20
  3. Micro Code Studio - Warning message
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 17th November 2006, 22:17
  4. MicroCode Studio Boundary Warning Message
    By coyotegd in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 16th March 2006, 10:13
  5. warning message
    By pic beginner in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 23rd July 2004, 03:53

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