mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-27 13:30:05 +00:00
Make this HTML 4.01 strict
Update to reflect changes to the 'Register' tblgen class. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16392 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
60ec2655bb
commit
7a2fd89cca
@ -16,7 +16,7 @@
|
||||
<li><a href="#intro">Introduction</a>
|
||||
<li><a href="#backends">Writing a backend</a>
|
||||
<ol>
|
||||
<li><a href="#machine">Machine backends</a></li>
|
||||
<li><a href="#machine">Machine backends</a>
|
||||
<ol>
|
||||
<li><a href="#machineTOC">Outline</a></li>
|
||||
<li><a href="#machineDetails">Implementation details</a></li>
|
||||
@ -148,15 +148,15 @@ architected registers.</p>
|
||||
<div class="doc_code">
|
||||
<pre>
|
||||
// class Register is defined in Target.td
|
||||
<b>class</b> <em>Target</em>Reg : Register {
|
||||
<b>class</b> <em>Target</em>Reg<string name> : Register<name> {
|
||||
<b>let</b> Namespace = "<em>Target</em>";
|
||||
}
|
||||
|
||||
<b>class</b> IntReg<<b>bits</b><5> num> : <em>Target</em>Reg {
|
||||
<b>class</b> IntReg<<b>bits</b><5> num, string name> : <em>Target</em>Reg<name> {
|
||||
<b>field</b> <b>bits</b><5> Num = num;
|
||||
}
|
||||
|
||||
<b>def</b> R0 : IntReg<0>;
|
||||
<b>def</b> R0 : IntReg<0, "%R0">;
|
||||
...
|
||||
|
||||
// class RegisterClass is defined in Target.td
|
||||
|
Loading…
Reference in New Issue
Block a user