Recent work on compilation far DSP-processors deals with optimizing-access
to focal variables of functions. The common way is to use one or more addre
ss registers as pointers into the functions stack frame and modify it with
post modify addressing modes (which are sometimes the only addressing modes
). Additionally to previous work we present an algorithm which assigns fram
e pointer values over a whole procedure. Our algorithm also deals with basi
c blocks, which have no accesses to local variables. The algorithm works wi
th a new data structure, the control flow line graph, which is derived from
the control flow graph. In am experiments, the algorithm showed improvemen
ts Co similar algorithms.