diff options
author | Mike Pavone <pavone@retrodev.com> | 2012-12-15 23:01:32 -0800 |
---|---|---|
committer | Mike Pavone <pavone@retrodev.com> | 2012-12-15 23:01:32 -0800 |
commit | e66a7f1c8e921ea6958bee6685a81b4b319f2dbf (patch) | |
tree | 5e4bbe2bd107beeef9ebe8f20f8c0d4925ca1eb6 /68kinst.c | |
parent | d6526708390114de0e03206170174fbe9a102383 (diff) |
Implement shift instructions (asl, lsl, asr, lsr). Add flags to register printout. Fix minor bug in shift/rotate instruction decoding.
Diffstat (limited to '68kinst.c')
-rw-r--r-- | 68kinst.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1007,7 +1007,7 @@ uint16_t * m68k_decode(uint16_t * istream, m68kinst * decoded, uint32_t address) } decoded->extra.size = (*istream >> 6) & 0x3; immed = (*istream >> 9) & 0x7; - if (*istream & 0x100) { + if (*istream & 0x20) { decoded->src.addr_mode = MODE_REG; decoded->src.params.regs.pri = immed; } else { |