From 9a6abbb794bace7c472a4bcab806f227cedf0ff9 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Thu, 18 Nov 2010 14:01:46 +0100 Subject: Instruction updates --- instruction.h | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'instruction.h') diff --git a/instruction.h b/instruction.h index 5a268d3..8d9c366 100644 --- a/instruction.h +++ b/instruction.h @@ -34,13 +34,10 @@ struct r_type { * Some R-Type instructions embed a small immediate value in the * low-order bits of OPX. */ - union { - uint16_t opx11:11; - struct { - uint8_t imm5:5; - uint8_t opx6:6; - } __packed; - } opx; + struct { + uint8_t imm5:5; + uint8_t opx6:6; + } __packed; uint8_t c:5; uint8_t b:5; uint8_t a:5; -- cgit v1.2.3-54-g00ecf