label ED needs something there. try this: ED: ret .end that probably fixes the other problem, which would be that the program never exits :)