>  > try declaring your variable as a UInt32 or LONG. 4 bytes instead of
> 2bytes. 
> my array is unsigned long. 
> 
> ----- Original Message ----- 
> From: Michael Kang <mailto:[EMAIL PROTECTED]>  
> To: Palm Developer Forum <mailto:[email protected]>  
> Sent: Tuesday, February 14, 2006 2:03 PM
> Subject: Assembler Error: Value of -35828 too large for field of 2 bytes
> 
> Hi All,
>  
> There is a unsigned long array in my code. When I compiled it I got the
> following error:
>  
> Error: Value of -35828 too large for field of 2 bytes at 0x8bf4     EE5
> line 12041 
> Error: Value of -35828 too large for field of 2 bytes at
> 0x8bf4[/cygdrive/c/DOCUME~1/Michael/LOCALS~1/Temp/cciL5iuQ.s] EE5     line
> 12041 
> Error: value out of range
> EE5         line 12041 
> Error: value out of
> range[/cygdrive/c/DOCUME~1/Michael/LOCALS~1/Temp/cciL5iuQ.s] 
> 
> Who knows what that means? I avoided the errors by adding a "-O1". But how
> come?
> 
> Thanks,
> 
> Michael. 
> 

How sure are you that it's your array that's causing the error? An
unsigned long array should be 4 bytes in size.  Are you perhaps
storing something into a temporary value that's 2 bytes in size?

It's also unclear how you avoided the errors by adding "-01". A more
detailed description would let us know what is actually going on.

Dean

-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to