diff options
Diffstat (limited to 'opcodes/rx-decode.opc')
-rw-r--r-- | opcodes/rx-decode.opc | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/opcodes/rx-decode.opc b/opcodes/rx-decode.opc index 8bf1f94..46b8aea 100644 --- a/opcodes/rx-decode.opc +++ b/opcodes/rx-decode.opc @@ -48,21 +48,24 @@ static int bwl[] = { RX_Byte, RX_Word, - RX_Long + RX_Long, + 0 /* Bogus instructions can have a size field set to 3. */ }; static int sbwl[] = { RX_SByte, RX_SWord, - RX_Long + RX_Long, + 0 /* Bogus instructions can have a size field set to 3. */ }; static int ubwl[] = { RX_UByte, RX_UWord, - RX_Long + RX_Long, + 0 /* Bogus instructions can have a size field set to 3. */ }; static int memex[] = @@ -81,7 +84,7 @@ static int memex[] = rx->op[n].size = s ) /* This is for the BWL and BW bitfields. */ -static int SCALE[] = { 1, 2, 4 }; +static int SCALE[] = { 1, 2, 4, 0 }; /* This is for the prefix size enum. */ static int PSCALE[] = { 4, 1, 1, 1, 2, 2, 2, 3, 4 }; |