Log in

View Full Version : Strange error



Charles Linquis
- 2nd April 2006, 07:40
I'm using PBP 2.46 and MPASM 5.00

I'm using an 18F8722. Sometimes, when I compile, I get the MPASM error

ERROR[126] c:\pic\basic\64949~1.mac 761:Argument out of range (1036 not between -1024 and 1023)

In the past, I have changed the program slightly, and the error went away. Now I can't compile anymore.


Does anyone know what this error means?

Charles Linquis
- 2nd April 2006, 17:56
I found the solution. I had to use the BRANCHL command instead of just the BRANCH.