Linux Assembly Tutorial州:
there is one very important thing to remember: If you are planning to return from a procedure (with the RET instruction),don’t jump to it! As in “never!” Doing that will cause a segmentation fault on Linux (which is OK – all your program does is terminate),but in DOS it may blow up in your face with varIoUs degrees of terribleness.