unicorn/qemu/target-m68k
Laurent Vivier d29cbb70b3
target-m68k: manage scaled index
Scaled index is not supported by 68000, 68008, and 68010.

EA = (bd + PC) + Xn.SIZE*SCALE + od

Ignore it:

M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL
2.4 BRIEF EXTENSION WORD FORMAT COMPATIBILITY

"If the MC68000 were to execute an instruction that
encoded a scaling factor, the scaling factor would be
ignored and would not access the desired memory address.
The earlier microprocessors do not recognize the brief
extension word formats implemented by newer processors.
Although they can detect illegal instructions, they do not
decode invalid encodings of the brief extension word formats
as exceptions."

Backports commit d8633620a112296fcf6a6ae9a1cbba614c0ca502 from qemu
2018-02-27 08:27:20 -05:00
..
cpu-qom.h target-m68k: make cpu-qom.h not target specific 2018-02-24 00:56:58 -05:00
cpu.c target-m68k: define m680x0 CPUs and features 2018-02-27 08:26:06 -05:00
cpu.h target-m68k: define m680x0 CPUs and features 2018-02-27 08:26:06 -05:00
helper.c target-m68k: fix get_mac_extf helper 2018-02-25 23:21:05 -05:00
helper.h rework code/block tracing 2016-01-22 18:42:27 -08:00
Makefile.objs del qemu/target-m68k/m68k-semi.c 2017-01-20 11:52:31 +08:00
op_helper.c Fix confusing argument names in some common functions 2018-02-25 03:58:27 -05:00
qregs.def import 2015-08-21 15:04:50 +08:00
translate.c target-m68k: manage scaled index 2018-02-27 08:27:20 -05:00
unicorn.c qemu-common: push cpu.h inclusion out of qemu-common.h 2018-02-24 01:50:56 -05:00
unicorn.h New feature: registers can be bulk saved/restored in an opaque blob 2016-08-20 04:14:07 -07:00