<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span style="font-family: monospace; white-space: pre-wrap;" class="">></span><div class=""><span style="font-family: monospace; white-space: pre-wrap;" class="">> </span><font face="monospace" class=""><span style="white-space: pre-wrap;" class="">I am afraid the frame pointer is really needed. </span></font></div><div class=""><font face="monospace" class=""><span style="white-space: pre-wrap;" class="">></span></font></div><div class=""><br class=""></div><div class=""><font face="monospace" class=""><span style="white-space: pre-wrap;" class="">I am now convinced that a</span></font><span style="font-family: monospace; white-space: pre-wrap;" class="">t least one additional element on the stack is needed.</span></div><div class=""><span style="font-family: monospace; white-space: pre-wrap;" class="">Reading </span><span style="font-family: monospace; white-space: pre-wrap;" class="">Astrobe’s solution, </span><span style="white-space: pre-wrap; font-family: monospace;" class="">the FP indeed appears to be the easiest/best approach.</span></div><div class=""><font face="monospace" class=""><span style="white-space: pre-wrap;" class=""><br class=""></span></font></div><div class=""><font face="monospace" class=""><span style="white-space: pre-wrap;" class="">(I tried to implement the “counter" idea and very quickly realized that </span></font><font face="monospace" class=""><span style="white-space: pre-wrap;" class="">it *is*</span></font></div><div class=""><span style="white-space: pre-wrap; font-family: monospace;" class="">in fact encoding essentially the same information as the FP; so c</span><span style="font-family: monospace; white-space: pre-wrap;" class="">ase closed).</span></div><div class=""><br class=""></div><div class=""><font face="monospace" class=""><span style="white-space: pre-wrap;" class="">I think using the stack for local dynamic arrays is worth adopting..</span></font></div><div class=""><font face="monospace" class=""><span style="white-space: pre-wrap;" class=""><br class=""></span></font></div><div class=""><br class=""></div><div class=""><font face="monospace" class=""><span style="white-space: pre-wrap;" class=""><br class=""></span></font></div><div class=""><font face="monospace" class=""><span style="white-space: pre-wrap;" class=""><br class=""></span></font></div><div class=""><div class=""><br class=""></div></div></body></html>