Well, PC (program counter) is just a register in the PIC (or in most/all microprocessor/microcontroller) that stores the location in memory of the next instruction. So when you run your program, some sort of ORG instruction sets the PC to a known value, which is the memory address you want your program to begin at. Then it just increments by one each time an instruction is executed, unless it is a branch or jump instruction, in which case it changes to some other value. I hope that's clear! - Wade ----- Original Message ----- From: "Andy N1YEW" To: Sent: Monday, July 23, 2001 6:23 AM Subject: [PIC]: PC is PC the Program Counter? And what can one do with it? i know pc is used in lookup table but i never understood it... andy -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details. -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.