Recently, with the rapid growth of embedded devices such as smart phones, tablet PC, and so on, the research on the effective use of flash memory widely used in embedded devices has been increasing. The growth is expected to continue more rapidly and the need for research will increase more. Therefore, there is a coming need for the effective use of main memory with flash memory in embedded devices. Essentially, all program codes have to be loaded into main memory before they can be executed. Then, the time for loading them into main memory is to be the sum of time for reading compression data from flash memory and for decompressing the data by a compressor residing in the main memory. Thus, the smaller the size of the compressor can make the utilization of main memory more effective. In this paper, we present our research on a lossless compression algorithm for reducing the size of the compressor while still maintaining compression rate and speed similar to LZCode suitable for embedded devices.Hyunchul Lee is currently an MS student at the Knowledge Information Security Department, Ajou University, Suwon, Korea. His main research interests include mobile computing, ubiquitous computing, mobile security, and image compression/ decompression algorithm. . His main research interests include mobile computing, ubiquitous computing, scalable distributed database system, mobile applications with smart phones, mobile security, data mining, and bioinformatics.