Conversion of 32 source code to 16 bit.

Hello,
         I attempted to modify and recompile 32bit application source
code using a 16 bit compiler, but it turned out to be a major hassle.
Any info is appreciated.