A secured microprocessor includes a rights allocation system for the allocation,
to programs executable by the microprocessor, of permanent access rights to certain
zones of the memory array of the microprocessor. The rights allocation system confers,
on a sub-program shared by at least two programs, temporary rights of access to
certain memory zones. The temporary rights are allocated when the sub-program is
called by one of the programs as a function of the program calling the sub-program.
The rights allocation system provides libraries in a secured microprocessor without
harming the integrity of the rights conferred on programs using the libraries.