4848
Newbie level 3
- Joined
- Jun 2, 2013
- Messages
- 4
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,330
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.