I want to use the pic16f877 to count from 1 to 10000 so i need 2x 8 bit registers. I increment one of the register (the low part) in a loop and when i arrive to 0xFF i jump to another loop that increment one the high bit and then go back to low bit. But when the counter is in the 0x00FF the next number is 0x0100. Is there a way to change both of the registers in the same time because in my code first the low bit become 0x00 and then the high bit 0x01.
Thanks.
Thanks.