Last change
on this file since 882 was
777,
checked in by mulligan, 10 years ago
|
Lots of work on RTL to ERTL pass from today.
|
File size:
532 bytes
|
Rev | Line | |
---|
[639] | 1 | |
---|
| 2 | (* NB: this is essentially the same as Graphs! *) |
---|
| 3 | |
---|
| 4 | include "basics/types.ma". |
---|
| 5 | |
---|
[726] | 6 | include "ASM/BitVectorTrie.ma". |
---|
[736] | 7 | include "common/Identifiers.ma". |
---|
[757] | 8 | include "ASM/I8051.ma". |
---|
[639] | 9 | |
---|
[736] | 10 | axiom RegisterTag : String. |
---|
[639] | 11 | |
---|
[738] | 12 | definition register ≝ identifier RegisterTag. |
---|
[639] | 13 | |
---|
[736] | 14 | definition register_eq : ∀x,y:register. (x=y) + (x≠y) ≝ identifier_eq ?. |
---|
[639] | 15 | |
---|
[738] | 16 | definition register_env ≝ identifier_map RegisterTag. |
---|
[757] | 17 | |
---|
| 18 | (* dpm: fix the Register/register mismatch *) |
---|
[777] | 19 | axiom Register_of_register: register → Register. |
---|
| 20 | axiom register_of_Register: Register → register. |
---|
Note: See
TracBrowser
for help on using the repository browser.