I Understood two "Org" address which are "org 0x00 and "org 0x04". I try to write a program using MPASM and during simulation Th program counter will branch back to address '0x00' when it reach Address 0xFF instead of going to next code after the address 0xFF. I solve the problem by inserting Org 101 at the location where the PC do branch to unintended address. Although the program is running ok but I did it by Trial and Error, I did not Know the reason why It should be there before the program will work well. please help me out.
I concur, Jayanth crossed them over, absolute code needs an ORG, relocatable will let the linker choose it.
Something is wrong though if the program counter wraps around at 0xFF. Only the 10F200 and 10F204 might possibly do that because they only have 256 bytes of program space. When you used ORG 101 it may have seen that as a decimal number and actually used hex address 0x65. Post your code so we can check.