Mercurial > lcfOS
view python/target/openrisc.lidl @ 318:e84047f29c78
Add burg and yacc initial attempts
author | Windel Bouwman |
---|---|
date | Tue, 31 Dec 2013 12:38:15 +0100 |
parents | 534b94b40aa8 |
children |
line wrap: on
line source
// Openrisc description in LIDL (lcfos isa description language) // Register storage: storage r { width: 32 size: 32 } instruction add { encoding: '111111111DDDDDDAAAAAABBBBBB' semantics: D = A + B } // ... instruction push { encoding: '' semantics: { sp = X sp = sp - 4 } }