hi all...
i am currently using MC68HC908AB32. Program is written is assembly code.
I am very new to this software and assembly code.
I do not know how come my program loops by itself.
After i initialize all my variables, i only did this.
(After Initialization and declaration)
.
.
JSR SETTING
JSR APPLY_SETTING ; Main program ends here.
Hope to hear from someone soon!
Thanks!
Hello,
after JSR APPLY_SETTINGS, the next opcode is loaded and programm execution continues.
If the JSR is the last command you have, then execution will step throug the rest of the memory until an illegal opcde or an illegeal adress is found. This causes a reset.
Eckhard