AceOfHearts
New Member
Hi,
My assembly code is really not that long. I have a few JB instruction there. When I try to compile it, it keeps saying 'out of range' on those instructions and would not compile.
Now, the place where it should jump to is really not too further away, I cant put any numerical values to it. But if becomes out of range so quick, than I honestly cannot think how this instruction be used for any really useful purpose. I only have two small LCD routines that show two words between the JB instruction and the place it should jump to.
Any help with regard to how I can extend the range of this instruction would be grately appreciates.
I am talking assembly and 8051 uC .
peace.
My assembly code is really not that long. I have a few JB instruction there. When I try to compile it, it keeps saying 'out of range' on those instructions and would not compile.
Now, the place where it should jump to is really not too further away, I cant put any numerical values to it. But if becomes out of range so quick, than I honestly cannot think how this instruction be used for any really useful purpose. I only have two small LCD routines that show two words between the JB instruction and the place it should jump to.
Any help with regard to how I can extend the range of this instruction would be grately appreciates.
I am talking assembly and 8051 uC .
peace.