mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-26 07:34:06 +00:00
Fix an error in the two-address example.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52253 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
900872186d
commit
03e585737b
@ -1468,12 +1468,12 @@ instance, in situations where an instruction such as <tt>%a = ADD %b
|
||||
<div class="doc_code">
|
||||
<pre>
|
||||
%a = MOVE %b
|
||||
%a = ADD %a %b
|
||||
%a = ADD %a %c
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<p>Notice that, internally, the second instruction is represented as
|
||||
<tt>ADD %a[def/use] %b</tt>. I.e., the register operand <tt>%a</tt> is
|
||||
<tt>ADD %a[def/use] %c</tt>. I.e., the register operand <tt>%a</tt> is
|
||||
both used and defined by the instruction.</p>
|
||||
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user