diff options
Diffstat (limited to 'opcodes/s12z-opc.c')
-rw-r--r-- | opcodes/s12z-opc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/s12z-opc.c b/opcodes/s12z-opc.c index e40f90e..eef097d 100644 --- a/opcodes/s12z-opc.c +++ b/opcodes/s12z-opc.c @@ -2292,7 +2292,7 @@ shift_discrim (struct mem_read_abstraction_base *mra, enum optr hint ATTRIBUTE_ uint8_t sb; int status = mra->read (mra, 0, 1, &sb); if (status < 0) - return status; + return OP_INVALID; enum SB_DIR dir = (sb & 0x40) ? SB_LEFT : SB_RIGHT; enum SB_TYPE type = (sb & 0x80) ? SB_ARITHMETIC : SB_LOGICAL; |