Hi. OK, here's what I have to do: Obtain a byte value from a table read and output each bit of it (from bit 0 to bit 7)(or LSB to MSB) trough porta pin RA0 which I have previously set as an output. Then fetch another table byte and do the same, etc. To achieve this I thought RRF (rotate right f trough carry) instr. would be perfect. The thing is I'm wondering what would be the best way to count the loop (porta register must rotate 8 times for each byte but no more, then must read the next byte). Any suggestions? Thank you very much. P.D.: Has anybody developed a way to replace an N (result < 0) status flag? -------------------------------------------- "I must not fear. Fear is the mind-killer. Fear is the little death that brings total obliteration. I will face my fear... I will permit it to pass over me and through me." Kwisatz Haderach - Dune netQ