put a ret where you want to end a routine or where you want the program to exit, but when exiting make sure there is nothing on the stack or it will crash