TSO means terminate but stay outside. It is those program, which release the main memory after the execution of the program. E.g. Vcd cutter, turbo c compiler.
TSR means terminate but stay residence .It is those program, which after the execution of the program does not release the RAM (main memory).e.g. antivirus.