Code for the compression phase and experimental results aboutthe ratio of compre
ID: 3611362 • Letter: C
Question
Code for the compression phase and experimental results aboutthe ratio of compression obtained. Where the compression ratio R isdefined as the uncompressed file size divided by the compressedfile size and the saving space as (R-1)/R. C++ please anything will help Code for the compression phase and experimental results aboutthe ratio of compression obtained. Where the compression ratio R isdefined as the uncompressed file size divided by the compressedfile size and the saving space as (R-1)/R. C++ please anything will help please anything will helpExplanation / Answer
Code compression characteristics
-Compressed Code must be decompressed during program execution
-It is necessary to ensure random access during decompression
-It is necessary to split code into segments or blocks that can bedecompressed individually
-Probability model is adopted
-To make decompression hardware simpler, the compressed block mustbe byte aligned
-Problem:index the compressed blocks
Solution :use a line address table(LAT)