PDA

View Full Version : warning message



pic beginner
- 14th July 2004, 04:59
Hi anyone
I wrote a program in microcode studio IDE.
When I compiled it , below message was appeared:
'...[102] code crosses boundary @ 800h "
whats the meaning of this warning and what must I do?
Thank alot

Melanie
- 14th July 2004, 09:56
This is a perfect FAQ example - which is exactly the section where the answer has just ended up...

ivanenev
- 23rd July 2004, 02:53
I also have a question concerning microcode studio and warning message.

Compiling a program, PBP gives a warning saying:

"Warning[202]...\rt8166~1.mac 661: Argument out of range. Least significant bits used."

I think it appears when I fill an array with the following code:
.....
array VAR BYTE[8]
i VAR BYTE
Value VAR BYTE
Counter VAR BYTE

Data1 DATA "MyData",0

' fill an array with "MyData"
LOOKUP i-1,[Data1],Counter

fill:
READ Counter,Value
IF Value != 0 THEN 'Make sure it's not 0
array[Counter]=Value
Counter = Counter + 1
GOSUB fill
ELSE
' do something
.....

What does it mean?

Thank you.

Ivan