>facing problem in lookup table using command > > lookup > jmp pc+w > retw 00h,01h,02h,03h,04h > retw 00h,05h,06h,07h,08h > retw 00h,09h,02h,03h,04h > retw ......... > >this command "jmp pc+w" did not return with w on its location it return >but undefined location. I'm not sure if this is the problem, but I believe you should be accessing "PCL" not "PC". Also, your "retw" commands are fine, except that if you want to make a data table, you should use "dt" as a command (not sure if "DT" is CVASM compatible, though). Having an 8051 compatible assembler is fine, except that most people here don't work with it, we mostly use Microchip's MPASM. --Andrew _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads