In article <1990Oct9.052008.12705@cs.columbia.edu> krish@hudson.cs.columbia.edu (ponamgi) writes:>I'm trying to reduce the size of a kernel. I'm NOT interested in>performance, rather I want to make it fit in main memory in a smaller form.

See "Analyzing and Compressing Assembly Code" by Fraser, Myers, Wendt,
SIGPLAN 84, which works by finding common sequences of assembly code and
replacing them with subroutine calls. Code for this is available from me.