The invention concerns a method for compressing program code for execution
in a system with few physical resources. This method comprises a semantic
analysis of the code as to identify the objects accessed at each program
point and to replace in this program groups of instructions used to
access the objects by more compact specialised instructions.