After you turned ON your microcontroller or after a reset, the program counter is set to address 0x0000h so the program always starts at 0x0000h, if there is a goto command at 0x0000h, the offset address of the said goto command address is put into the program counter so the execution moevs to the targeted address.