summaryrefslogtreecommitdiff
path: root/instruction.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2010-11-18 19:08:21 +0100
committerTobias Klauser <tklauser@distanz.ch>2010-11-18 19:08:21 +0100
commitac2f8380359bbbd7852b58a60d6bff5debc7359a (patch)
tree44a0f9ecd638ec9869d48a1aaee7c754356bd27b /instruction.h
parent8db4c483d5e3941c9352ab5caa0808b391adfbfb (diff)
Fix R-type decoding, seems to work now with images/zImage
Diffstat (limited to 'instruction.h')
-rw-r--r--instruction.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/instruction.h b/instruction.h
index 8d9c366..cf709dc 100644
--- a/instruction.h
+++ b/instruction.h
@@ -34,10 +34,8 @@ struct r_type {
* Some R-Type instructions embed a small immediate value in the
* low-order bits of OPX.
*/
- struct {
- uint8_t imm5:5;
- uint8_t opx6:6;
- } __packed;
+ uint8_t imm5:5;
+ uint8_t opx6:6;
uint8_t c:5;
uint8_t b:5;
uint8_t a:5;