Fix insn_disasm build warnings
This commit is contained in:
1 parent
4adf87f622
commit
82edc20696
1 file changed
+8
-8
@@ -21,15 +21,15 @@ extern far char *parse_map(u32);
|
||||
static char insn_as_string[100];
|
||||
|
||||
typedef struct __attribute__((packed)) {
|
||||
u8 rd : 5;
|
||||
u8 shift_amt : 5;
|
||||
u8 function : 6;
|
||||
u16 rd : 5;
|
||||
u16 shift_amt : 5;
|
||||
u16 function : 6;
|
||||
} RTypeData;
|
||||
|
||||
typedef struct __attribute__((packed)) {
|
||||
u8 opcode : 6;
|
||||
u8 rs : 5;
|
||||
u8 rt : 5;
|
||||
u16 opcode : 6;
|
||||
u16 rs : 5;
|
||||
u16 rt : 5;
|
||||
union {
|
||||
RTypeData rdata;
|
||||
u16 immediate;
|
||||
@@ -44,8 +44,8 @@ typedef union {
|
||||
typedef struct __attribute__((packed)) {
|
||||
u32 type;
|
||||
u32 arbitraryParam;
|
||||
u8 opcode : 6;
|
||||
u8 function : 6;
|
||||
u16 opcode : 6;
|
||||
u16 function : 6;
|
||||
u8 name[10];
|
||||
} InsnTemplate;
|
||||
|
||||
|
||||
Reference in new issue
Block a user