Results 1 to 3 of 3

Thread: is there a command that terminate the program?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 2004
    Location
    Some where on Earth
    Posts
    98

    is there a command that terminate the program?

    Hi there!

    I want to ask if there is any code for assembly that terminate the program, lets say in the middle of a loop? The code for vb is "End" to terminate the program in the middle of anything. If you guys know please do post them here. Thanks!
    Anime is what i LIVE for, BREATH for, and DIE for!

  2. #2
    Hyperactive Member Maven's Avatar
    Join Date
    Feb 2003
    Location
    Greeneville, TN
    Posts
    322

    Re: is there a command that terminate the program?

    Quote Originally Posted by RedDevil
    Hi there!

    I want to ask if there is any code for assembly that terminate the program, lets say in the middle of a loop? The code for vb is "End" to terminate the program in the middle of anything. If you guys know please do post them here. Thanks!
    If you're doing 32 bit windows programming then you would exit the way you normally do with other langauges. If you're doing it in 16 bit then you would use int 21h.
    Education is an admirable thing, but it is well to remember from time to time that nothing that is worth knowing can be taught. - Oscar Wilde

  3. #3
    G&G Moderator chemicalNova's Avatar
    Join Date
    Jun 2002
    Location
    Victoria, Australia
    Posts
    4,246

    Re: is there a command that terminate the program?

    If memory serves MASM also had ExitProcess.

    Phreak

    Visual Studio 6, Visual Studio.NET 2005, MASM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width