Hi anyone. I want to make a lookup table in my program. At the first I wanted to make it with LOOKUP. But I want to use program memory instead of RAM. So I think
that LOOKUP instruction can't help me in this regard! I make this lookup table in asm:

ASM
TABLE
ADDWF 02,1
RETLW 0X01
RETLW 0X02
RETLW 0X04
RETLW 0X08
RETLW 0X10
RETLW 0X20
RETLW 0X40

.
.
.

RETLW 0X80
ENDASM
END

I recall table with CALL TABLE. Unfortunately it doesn't work. Why? What should I do? Thanks for helpful replies.