I have a PIC18F2520 project which uses shift operators.
e.g. B1 = B1 << 5
(B1 is a byte variable)
When it compiles, MPASM produces the following error result:
ERROR[126] f:\pbp26\pbppic18.lib 662: Argument out of range (16388 not between 0 and 16383)
If I comment out the shift function, the project compiles/assembles without error. Any shift function produces a similar error.
I have to use MPASM so how can I perform a shift function.
I am using PBP2.6a and MPASM v5.37.
Bookmarks