first the message is because there are two 'TABLE_END' labels. change them to match the others by adding a '1' or '2' and the error should go away. better yet think about this. you don't have to repeat the code for each table. just load 'w' with the start of the table you want to print then call a table_print routine. also, for the code to reconize the end the table_end must return 0xFF. michael