m68k: implement movep instruction
commit1226e212292e271b8795265c9639d5c0553df199
authorPavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru>
Tue, 6 Feb 2018 12:44:31 +0000 (6 15:44 +0300)
committerLaurent Vivier <laurent@vivier.eu>
Wed, 14 Feb 2018 10:09:13 +0000 (14 11:09 +0100)
tree119c29aa562682292e2d1cfbbe9eca71e0415900
parentbec9c64ef7be8063f1192608b83877bc5c9ea217
m68k: implement movep instruction

This patch implements movep instruction. It moves data between a data register
and alternate bytes within the address space starting at the location
specified and incrementing by two.

It was designed for the original 68000 and used in firmwares for
interfacing the 8-bit peripherals through the 16-bit data bus.
Without this patch opcode for this instruction is recognized as some bitop.

Signed-off-by: Pavel Dovgalyuk <pavel.dovgaluk@ispras.ru>
Signed-off-by: Mihail Abakumov <mikhail.abakumov@ispras.ru>
Tested-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20180206124431.31433.91946.stgit@pasha-VirtualBox>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
target/m68k/cpu.c
target/m68k/cpu.h
target/m68k/translate.c