ICE16
09-25-07, 06:45 PM
Hi everyone,
I built a small (~800 lines) assembly program, and I need (when a certain button is clicked) to restart it, meaning not just jumping to the beginning, but restarting all the variables and registers, so that it would be just like I closed the program and re-opened it. Some friends told me maybe there's a interrupt that does that - is it true? If it isn't, is there any other way (non-manual - I tried to just zero all the relevant variables etc., and for some reason the program crashes when the corresponding button is clicked)?
Thanks a lot:)
I built a small (~800 lines) assembly program, and I need (when a certain button is clicked) to restart it, meaning not just jumping to the beginning, but restarting all the variables and registers, so that it would be just like I closed the program and re-opened it. Some friends told me maybe there's a interrupt that does that - is it true? If it isn't, is there any other way (non-manual - I tried to just zero all the relevant variables etc., and for some reason the program crashes when the corresponding button is clicked)?
Thanks a lot:)