I'm using a pic f877 to do an A/D conversion and read the result of this conversion to a LCD display. The problem is that I can't configure the pic as needed. I can't acces the bank1 registers from the pic, so I can't configure the A/D module. I'm using the jal language to program the pic. Also I''ve tried to embed a piece of assembly code in this jal code, but i still wasn't able to change the registers of bank1. Only a general purpose register could be configured but also not all of them.. I've used the rp0 and rp1 bits from the status register to select a bank and tried different examples found on the internet doing it the same way I'm trying, but they don't seem to have any problems.. Does anyone have an idea of what could be wrong?? -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist