Mercurial > lcfOS
annotate python/target/openrisc.lidl @ 290:7b38782ed496
File moves
author | Windel Bouwman |
---|---|
date | Sun, 24 Nov 2013 11:24:15 +0100 |
parents | python/isa/openrisc.lidl@c9781c73e7e2 |
children | 534b94b40aa8 |
rev | line source |
---|---|
283 | 1 |
2 // Openrisc description in lidl (lcfos isa description language) | |
3 | |
4 // Register storage: | |
5 storage r { | |
6 width: 32 | |
7 size: 32 | |
8 } | |
9 | |
10 | |
11 instruction add { | |
12 encoding: '111111111DDDDDDAAAAAABBBBBB' | |
13 semantics: D = A + B | |
14 } | |
15 | |
16 | |
17 // ... | |
18 | |
19 instruction push { | |
20 encoding: '' | |
21 semantics: { | |
22 sp = X | |
23 sp = sp - 4 | |
24 } | |
25 } | |
26 |