I have a little snippet of code where I lookup a value and send it to PortA (Lolite=PortA) of my PIC16F887. Here is the code:
For d = 0 To 7
Lookup d,[$1,$3,$7,$f,$1f,$3f,$7f,$ff],out
Lolite=out
pause 100
Next d

-My variables are declared
Using the debugger in MicroCode Studio:
-Var "out" has proper value inserted for each value of "d"
-Lolite DOES NOT equal out.

For the first 4 or 5 values of d, Lolite =0, then for the next value of d, it jumps to $10.

Why, oh why, oh why?