Error code [112]/[113]


Closed Thread
Results 1 to 4 of 4

Hybrid View

  1. #1
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    First, upgrade to the latest Microchip IDE. You're using MPASM 5.01. I think they're up to MPASM 5.11 (don't remember for sure). Not sure if that'll make a difference or not.
    Second, post your source.
    Third, what are you using for a compiler?

  2. #2
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    First, upgrading MPASM won't help. (won't hurt)
    Second, he posted the code, it's in the listing.
    Third, he's not using a compiler, just an assembler.

    Dj,

    Couple problems here. <pre>Warning[207]: Found label after column 1. (TMR0)<br> 00000001 00003 TMR0 EQU 1 ;TMR0 is FILE 1</pre>The LABEL of an EQUate should be in column 1.
    Code:
    TMR0    EQU 1           ; This will work
            TMR0    EQU 1   ; This will NOT
    The letter B is a "Reserved Word". It is a Pseudo-op for BRANCH.
    So just use longer (more descriptive) Labels to avoid using reserved words.

    That'll take care of [113] and [112] which is caused by the 113 error.

    I haven't looked at the logic of the program, just the errors.

    HTH,
    DT

  3. #3
    Join Date
    Jun 2007
    Posts
    19


    Did you find this post helpful? Yes | No

    Default

    thanx guys, sorted now.

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