mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-02-16 15:40:14 +00:00
Merge remote-tracking branch 'origin/patch'
This commit is contained in:
commit
cfb3e2d7db
@ -629,7 +629,7 @@ if, when all the variables are evaluated, the equation is true.
|
|||||||
</p>
|
</p>
|
||||||
<div class="informalexample"><pre class="programlisting">
|
<div class="informalexample"><pre class="programlisting">
|
||||||
:xor r1,r2 is opcode=0xcd & r1 & r2 { r1 = r1 ^ r2; }
|
:xor r1,r2 is opcode=0xcd & r1 & r2 { r1 = r1 ^ r2; }
|
||||||
:clr r1 is opcode=0xcd & r1 & r2=r1 { r1 = 0; }
|
:clr r1 is opcode=0xcd & r1 & r1=r2 { r1 = 0; }
|
||||||
</pre></div>
|
</pre></div>
|
||||||
<p>
|
<p>
|
||||||
</p>
|
</p>
|
||||||
@ -645,10 +645,10 @@ feature of <span class="emphasis"><em>clr</em></span> from <span class="emphasis
|
|||||||
that the two fields, specifying the two register inputs
|
that the two fields, specifying the two register inputs
|
||||||
to <span class="emphasis"><em>xor</em></span>, are equal. The easiest way to specify
|
to <span class="emphasis"><em>xor</em></span>, are equal. The easiest way to specify
|
||||||
this special case is with the general constraint,
|
this special case is with the general constraint,
|
||||||
“<span class="emphasis"><em>r2</em></span> = <span class="emphasis"><em>r1</em></span>”, as in the second
|
“<span class="emphasis"><em>r1</em></span> = <span class="emphasis"><em>r2</em></span>”, as in the second
|
||||||
line of the example. The SLEIGH compiler will implement this by
|
line of the example. The SLEIGH compiler will implement this by
|
||||||
enumerating all the cases where <span class="emphasis"><em>r2</em></span>
|
enumerating all the cases where <span class="emphasis"><em>r1</em></span>
|
||||||
equals <span class="emphasis"><em>r1</em></span>, creating as many states as there are
|
equals <span class="emphasis"><em>r2</em></span>, creating as many states as there are
|
||||||
registers. But the specification itself, at least, remains compact.
|
registers. But the specification itself, at least, remains compact.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user