Current location: Hot Scripts Forums » Programming Languages » Other Languages » Assembly - restarting a program


Assembly - restarting a program

Reply
  #1 (permalink)  
Old 09-25-07, 05:45 PM
ICE16 ICE16 is offline
Newbie Coder
 
Join Date: Jun 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Question Assembly - restarting a program

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
Reply With Quote
  #2 (permalink)  
Old 10-13-07, 05:09 PM
bubazoo's Avatar
bubazoo bubazoo is offline
Newbie Coder
 
Join Date: Sep 2006
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
what do you use for Assembly programming these days?

I believe the last version I used was Microsoft Macro Assembler 8 for Windows NT 4. haven't used it since.
Reply With Quote
  #3 (permalink)  
Old 12-26-08, 03:29 PM
Phattytatty Phattytatty is offline
New Member
 
Join Date: Dec 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
if you show me the code i may be able to help.. also to use an interrupt you need to be in real-mode not protected mode also if running in real address mode you can cause your computer to crash so just be careful again i maybe able to help more if i see the code!!!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Recommend an excellent ASP program gives everyone:Webmaster club news system v5.09 we12we23 ASP 0 11-09-06 04:40 AM
need advice on how i should go about writing this program burning_red_phoenix Everything Java 0 11-06-05 05:46 PM
Help Installing a Program that Uses PHP and mySQL DevilDog The Lounge 0 02-26-05 04:01 PM


All times are GMT -5. The time now is 03:42 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.