|
-
Apr 6th, 2005, 10:39 AM
#1
Thread Starter
Lively Member
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!
-
Apr 6th, 2005, 12:25 PM
#2
Hyperactive Member
Re: is there a command that terminate the program?
 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
-
Apr 6th, 2005, 01:51 PM
#3
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|