> You HAVE to make sure where the table is One way to do this, in absolute mode, is through the variable "led_table" Set it equal to a memory address led_table = 0x0400 ;a memory address past the end of code To load PCLATH in your loop routine movf high(led_table) ;sets PCLATH to 04 movwf pclath The table itself is orged in memory org led_table ;table starts at 0x0400 DIGIT_T addwf pcl dt b'11111011',b'11111101',b'11111110' ;dt creates retlw statements -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist