Quantcast
Channel: MEL PICBASIC Forum
Viewing all articles
Browse latest Browse all 4745

Error [113]

$
0
0
Hi,

I cannot understand the reason for an Error [113] message.
I am using a PIC18F2685 with PBPL.


DataTP CON EXT ; Tables P
DataTC CON EXT ; Tables C
DataTB CON EXT ; Tables B

DataTS VAR LONG BANK0

...

DataTP ;
#include "KPPV3.ASM"
EndTP

DataTC ;
#include "KPCV3.ASM"
EndTC

DataTB ;
#include "KPBV3.ASM"
EndTB

...

DataTS = DataTC

...

movlw LOW DataTS ; Computing DataTS+AdTS
addwf _AdTS,W ; and storing to Ads(AdsU:AdsH:AdsL)
movwf _ADSL
movlw HIGH DataTS
addwfc _AdTS+1,W
movwf _ADSH
movlw UPPER DataTS
addwfc _ZERO,W
movwf _ADSU


I use three external tables.
I want to select one table and make some operations with it

I think that the declarations are correct but three Error [113] message are generated, one per line of the asm section where DataTS is used. These errors are related to DataTS which is seen as not being declared.

If I replace DataTS by DataTC (for example) in the asm section, no errors occur.

What's wrong ?

Thank you for your help

MikeBZH
Attached Files

Viewing all articles
Browse latest Browse all 4745

Trending Articles