diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2010-11-12 13:11:18 +0100 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2010-11-12 13:11:18 +0100 |
commit | c9c4555f8d38053ed2da4b0f81fd86301a14d8cb (patch) | |
tree | 59a32bee8ef753da2399650200473a93645bedbd /niosii.h | |
parent | e0330d9534d8cfeffff81f426df1d3277702b835 (diff) |
Implement more instructions
Diffstat (limited to 'niosii.h')
-rw-r--r-- | niosii.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -75,12 +75,12 @@ struct i_type_code{ uint32_t imm16:16; uint32_t b:5; uint32_t a:5; -}__attribute__ ((__packed__)); +} __attribute__ ((__packed__)); struct j_type_code{ uint32_t op:6; uint32_t imm26:26; -}__attribute__ ((__packed__)); +} __attribute__ ((__packed__)); struct r_type_code{ uint32_t op:6; @@ -89,7 +89,7 @@ struct r_type_code{ uint32_t c:5; uint32_t b:5; uint32_t a:5; -}__attribute__ ((__packed__)); +} __attribute__ ((__packed__)); #define handler_item(func) {.handler = func} |