<div dir="ltr">And another question: what u-flag does for register instructions? (there is no information about it in latest Compiler Conctruction and Project Oberon book)<div><br></div><div>For example:</div><div><br></div>
<div><pre style="font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;margin-top:0px;margin-bottom:0px;color:rgb(51,51,51);line-height:18px"><div class="" id="LC65" style="padding-left:10px;background-color:rgb(255,255,204)">
PROCEDURE Put1a(op, a, b, im: LONGINT);</div><div class="" id="LC66" style="padding-left:10px"> BEGIN (*same as Pu1, but with range test -10000H <= im < 10000H*)</div><div class="" id="LC67" style="padding-left:10px">
IF (im >= -10000H) & (im <= 0FFFFH) THEN Put1(op, a, b, im)</div><div class="" id="LC68" style="padding-left:10px"> ELSE Put1(Mov+U, RH, 0, im DIV 10000H);</div><div class="" id="LC69" style="padding-left:10px">
IF im MOD 10000H # 0 THEN Put1(Ior, RH, RH, im MOD 10000H) END ;</div><div class="" id="LC70" style="padding-left:10px"> Put0(op, a, b, RH)</div><div class="" id="LC71" style="padding-left:10px"> END</div><div class="" id="LC72" style="padding-left:10px">
END Put1a;</div><div class="" id="LC72" style="padding-left:10px"><br></div><div class="" id="LC72" style="padding-left:10px">Put1(Mov+U, RH, 0, im DIV 10000H); -- why we set U-flag here?<br></div><div class="" id="LC72" style="padding-left:10px">
<br></div><div class="" id="LC72" style="padding-left:10px"><span style="color:rgb(34,34,34);font-family:arial;font-size:small;line-height:normal;white-space:normal">Is U means something like shift?</span><br></div><div class="" id="LC72" style="padding-left:10px">
<span style="color:rgb(34,34,34);font-family:arial;font-size:small;line-height:normal;white-space:normal"><br></span></div><div class="" id="LC72" style="padding-left:10px"><span style="color:rgb(34,34,34);font-family:arial;font-size:small;line-height:normal;white-space:normal">Thanks, Alexey</span></div>
<div class="" id="LC72" style="padding-left:10px"><span style="color:rgb(34,34,34);font-family:arial;font-size:small;line-height:normal;white-space:normal"><br></span></div></pre></div></div><div class="gmail_extra"><br><br>
<div class="gmail_quote">On Sun, Dec 22, 2013 at 5:53 PM, Alexey Veselovsky <span dir="ltr"><<a href="mailto:alexey.veselovsky@gmail.com" target="_blank">alexey.veselovsky@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div class="gmail_extra">Hi.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Anybody knows what the difference between STW/LDW instructions from Compiler Construction (last revision) and STR/LDR from Project Oberon 2013?</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">Thanks, Alexey.</div></div>
</blockquote></div><br></div>